13
0
Commit Graph

36285 Commits

Author SHA1 Message Date
5ef2d04cd8
Remove unused size_request-for_text helpers 2022-09-20 03:33:12 +02:00
1b7b3543e8
Remove thin abstraction, directly call get_pixel_size 2022-09-20 03:33:08 +02:00
2a42743270
Fix ArdourDropdown sizes 2022-09-20 03:33:01 +02:00
8508b3dba4
Allow multiple sizing texts for ArdourButton/Dropdown
A widget's style (font) is only set after the widget has been
packed and inherits relevant information from the top-level window.

`set_size_request_to_display_given_text()` produces incorrect
results when it is called for widgets without a top-level
(here ARDOUR_UI::setup_windows() _main_window.add(), changes the
font from "Sans 11" to "Sans 9" for ArdourDropdowns).

`set_size_request_to_display_given_text()` must subscribe to
`signal_style_changed()`, however in case of ArdourButton UI-scaling
of elements also needs to be taken into account. It is preferable
to allow for multiple sizing-texts directly.
2022-09-20 02:35:26 +02:00
d1bf8428fc
Allow vertical scroll to change gain on the cue-page
This is consistent with inline controls (which also allows
vertical scrolling to change the gain).
2022-09-20 00:44:42 +02:00
a3806e2946
Implement Draw-tool opaqueness option 2022-09-19 23:40:58 +02:00
6f9f7fb831
Fix typo, shorten dropdown strings 2022-09-19 23:24:42 +02:00
99b2fb2859
Remove cruft 2022-09-19 22:50:53 +02:00
a61072060e
Remove now unused "layered button" color defintion 2022-09-19 22:50:50 +02:00
45cd07aa5a
Remove old layered-record-mode config 2022-09-19 22:50:47 +02:00
5fb628d3ed
Use new record-mode pref (2/2), GUI control 2022-09-19 22:50:11 +02:00
e38cb08901
Use new record-mode pref (1/2) 2022-09-19 22:50:06 +02:00
cade07472f
Add RecordMode enum to replace layered_record_mode 2022-09-19 22:49:47 +02:00
97f0fac7d5
Copy region properties (2/2) - see prev commit 2022-09-19 22:49:42 +02:00
8b0ab38675
Copy region properties (1/2)
RegionFactory::create(Region&,..) copies all region properties.

There are however various operations that use a new Source
as intermediate to create a new Region from another Region.
Those operations should also inherit various region properties
(such as mute, opaque, locked, ..)
2022-09-19 22:49:39 +02:00
b5fd753886
Set tooltip for send polarity button 2022-09-18 22:51:58 +02:00
ac53f7e95a
Apple+H (hide window) shortcut does not work, so hide it
This likely broke in 3.x when Ardour migrated to context dependent
shortcuts (rather than GTK managed menu shortcuts).

While there is Gtkmm2ext::Application::hide, there is currently no
bindable action and hence no way to add a dedicated
shortcut. Furthermore, since this is a special NSApplication menu,
updating the menu-item when the action is bound is not trivial.

gtk_application_hide() is only implemented for macOS and
there is likely a better use for "H" shortcut anyway.
2022-09-18 16:33:29 +02:00
a30d526af0
Consistently color regions when using name bars
With name-bars the region was colored using the track color
if the region is not high enough to show the name-bar.
This happened regardless of the color-regions-using-track-color
preference IFF name-bars were enabled.

However set_color/get_fill_color() is not called when the track-height
changes "high_enough_for_name". This lead to inconsistently colored
regions, some with a background some without.
2022-09-14 20:51:01 +02:00
5e26c9c277 library manager: display description in textview not tooltip 2022-09-13 21:22:57 -06:00
e42de1e229
Bump session format version for MIDI region transparency 2022-09-14 02:44:52 +02:00
b277244b12
Convert MIDI region transparency when loading old sessions 2022-09-14 02:44:49 +02:00
44bacae43d
Allow for silent session format updates 2022-09-14 02:44:44 +02:00
7c5d324136 remove transport master active controls widgets 2022-09-13 16:47:21 -06:00
60982ae408 remove Record Mode combo from add route dialog, since at present it does nothing 2022-09-13 16:28:47 -06:00
80ef73f48b Py3 compatible build-stack version parser 2022-09-14 00:05:43 +02:00
17b5acc38d remove checkmark column from library download dialog 2022-09-13 14:20:11 -06:00
be24b51a6b downloader: remove unnecessary header 2022-09-13 14:15:24 -06:00
d087cd9465 downloader: use PBD::Thread instead of std::thread 2022-09-13 14:14:53 -06:00
aeccb137fd threaded archive inflation for library mgmt 2022-09-13 13:53:45 -06:00
4b25264db1 remove inflater and downloader from libardour 2022-09-13 13:53:45 -06:00
375daf4810 libpbd: new threader Inflater and Downlaoder classes 2022-09-13 13:53:45 -06:00
2061c3780d FileArchive: minor fixes to get progress reporting working 2022-09-13 13:53:45 -06:00
be860db54f
Prefer new Rubberband engine for timestretch 2022-09-13 06:56:08 +02:00
be096edd8c
Use rubberband 3.0 API if available 2022-09-13 06:44:41 +02:00
a009307a3d
Detect rubberband 3.0.0 2022-09-13 06:44:20 +02:00
f4984966c2
Fix record-safe column 2022-09-13 04:51:03 +02:00
4419992bb7 Add gtk-treeview DnD workaround to Track/Bus List
This was lost when refactoring the editor lists into dedicated
Region, Source and Route lists. A patched version of gtk allows to
initiate a drag, rather than a name edit.
2022-09-13 02:37:15 +02:00
735ba65a9b
mac: fix hdiutil: convert failed - Resource temporarily unavailable 2022-09-13 01:26:31 +02:00
5d5b94b1cd
Use natural sort order for file names to import 2022-09-13 00:50:49 +02:00
75ad3832db
Amend prev commit 2022-09-12 20:10:54 +02:00
91ba76fb0a
Add plugin presets to processor-box context menu 2022-09-12 20:05:07 +02:00
46deb15d12
ALSA: request device to query its settings
Querying available buffersizes and sample-rates requires access
to the device. Almost all ALSA devices are limited to
a single user-space application so we unconditionally try
to request access to the device.
2022-09-12 16:34:25 +02:00
18474d89f8
SystemExec try SIGINT before SIGKILL
Even though SIGINT is intended to be sent from terminals only,
it is more successful at terminating various child processes than
closing stdin and sending SIGTERM.
2022-09-12 16:17:55 +02:00
f85b4fef15
Distinct stderr messages from ARD 2022-09-12 16:15:10 +02:00
ea335eedeb
Clarify library URL pref name (amend d4532973) 2022-09-12 01:31:49 +02:00
97bd9854ed
Do not bundle simple-synth script with release builds
This is really just an example synth (sine wave + fixed
basic ASR envelope).

Note: existing sessions using the synth are not affected, the
script is saved with the session.
2022-09-11 21:11:15 +02:00
d453297381
Parameterize clip library URL
Also prefer http since our distributed builds may or may not
be able to find SSL certificates on a given target system.
2022-09-11 20:14:35 +02:00
38c5ae4237
Reread MIDI region when time-domain changes
This effectively triggers a Session::request_overwrite_buffer
via Playlist::notify_contents_changed when the time-domain of a
Region changes.

When the time domain of a MIDI region changes, Region boundaries
and events positions change ever so slightly. The playlist has
to be rendered again to take this into account.

When MIDI regions with different time-domains are layered, notes
may not be resolved in correct order. Previously changing time-domains
to address this did not result in the playlist being reread.
2022-09-11 00:57:12 +02:00
c7f5c89681 library downloading: various fixes to GUI 2022-09-10 15:19:16 -06:00
9cfcca8ba4 library downloading: various fixes to download process 2022-09-10 15:19:02 -06:00