13
0
Commit Graph

16232 Commits

Author SHA1 Message Date
f1d784afbb deep fix to the way automation control point drags are handled/computed
The old code could not snap to the grid, because it had a lot of confusion about pixels vs. time,
and between line-origin-relative time and absolute time
2023-02-10 11:11:51 -07:00
03b32cb4a0 remove unused "beats" variable and computation from Editor::metric_get_bbt() 2023-02-10 11:11:51 -07:00
907b0bbfa0
Fix time-stretch dialog clock
This broke in 45e21de209, the clock is not yet visible,
so the value has to be forced.
2023-02-09 00:35:27 +01:00
cd6d7a8074
Fix another -Wabsolute-value 2023-02-08 03:50:21 +01:00
ae66304194 missing API change from e883c39e7 2023-02-06 21:51:28 -07:00
fe64ab9d31 control point drag: set time domain to match the list being modified
Previously this used the editor's default time domain
2023-02-06 21:04:17 -07:00
c41de90abd drags: add API to set time domain of a drag
This can slightly improve efficiency of temporal computation
during the drag.
2023-02-06 21:04:17 -07:00
e883c39e7a control point drag: fix the way bounding-to-region is computed 2023-02-06 21:04:17 -07:00
2de76147d2 automation line: fix pos/distance confusion that misplaces dragged control points 2023-02-06 21:04:17 -07:00
3d96a318ac automation line: add dump() method to inspect GUI control points 2023-02-06 21:04:17 -07:00
8c6fa19bcf use C++11 auto iterator 2023-02-06 21:04:17 -07:00
12ad052d98
Fix another class/struct mismatch 2023-02-07 03:07:22 +01:00
65d5d8162f
Add missing includes to satisfy linter 2023-02-07 03:06:51 +01:00
48efbb4cc5
One drag at a time (#9217)
When a drag is already active, do not allow to start
another one. e.g. start a middle-click (fixed time drag),
then left-click.
2023-02-07 02:57:58 +01:00
2b64c4afe4
Allow to move edit-cursor and PH in dropzone (#9222) 2023-02-07 02:14:38 +01:00
8c561b19a6
DisplaySuspender is a struct (not a class) 2023-02-07 01:50:04 +01:00
e74cb666ed
Allow to set transparency to 100%
Despite what the docs say Gtk::HScale(0,1,s) with a step-size
s > 0 has a range [0, 1 - s]. GTKMM does allow for a step-size
of zero, which also works around this issue.
This works because gtkmm sidesteps gtk_hscale_new_with_range() which
would fail with g_return_val_if_fail (step != 0.0, NULL);

The reason for this is that gtkmm creates an Adjustment with a
page-size = step-size:

```
Adjustment* adjustment = manage(new Adjustment(min, min, max, step, 10 * step, step));
```
and `gtk_adjustment_configure` limits the range:
```
value = MIN (value, upper - page_size);
```
2023-02-06 01:27:24 +01:00
3cb1410318 update preferences metadata object 2023-02-05 12:25:04 -07:00
7c07c87088 add MIDI max note height to preferences GUI 2023-02-05 12:25:01 -07:00
a365a7ebf3 respond to MIDI max note height changes 2023-02-05 12:24:12 -07:00
2756be4b62 add an option to control the maximum MIDI note height (not yet GUI exposed) 2023-02-05 11:36:24 -07:00
0bce5d24de update preferences metadata object 2023-02-05 10:58:11 -07:00
38b3e88582 more preferences metadata 2023-02-05 10:57:47 -07:00
e446e4c501 more preferences metadata 2023-02-05 10:41:03 -07:00
3105dcfbbc
Tweak new-plugins-active tooltip 2023-02-05 16:07:52 +01:00
be1462357b
Expose preference to create sidechain ports by default 2023-02-05 16:07:13 +01:00
f035a0baed
Remove prefs-search test-code 2023-02-05 15:36:43 +01:00
3cb89b7c6e
List custom resampler quality settings in prefernces 2023-02-05 03:38:35 +01:00
cooltehno
b4169a0391
Update blueberry_milk-ardour.colors 2023-02-04 23:43:53 +01:00
380005f50f Update preference to set macOS render performance 2023-02-04 22:34:12 +01:00
c707b056af
Add some preference search tags 2023-02-04 06:58:02 +01:00
51e93399ba
Update vari-speed availability, depending on port-resampler 2023-02-04 03:21:27 +01:00
19b8069720
Add preference to set port-resampler-quality 2023-02-04 03:20:47 +01:00
5316ac38e7
Export Dialog: remove redundant calls 2023-02-04 00:24:19 +01:00
b421cd26bb
Export Dialog: correctly init export channels
The state has to be pushed to the manager during initialization,
otherwise channel_config remains unset.

This fixes an issue with files using the same filename
(missing channel name) during stem export.
2023-02-04 00:24:07 +01:00
14606ac655
Rec-stop only writes a pending (recovery) file (#9215)
This is consistent, since after handling the
`SaveSessionRequested` signal the session remains dirty
(which may be a bug). However since the signal is handled
by the GUI, rec-stop only saves the session if there is a GUI.

It is however somewhat dangerous. Record, quit + no-save (or
changing snapshots w/o saving first) will loose any references
to the recorded data (even though it is still on disk).

Note that "remove last capture" still saves the session
(to prevent references to non-existent sources).
2023-02-03 07:56:49 +01:00
160ed4d056 tweak generation process for preferences metadata and start adding some 2023-02-01 18:14:33 -07:00
1333f39621 searchable prefs: fix behavior after find failure 2023-02-01 18:10:56 -07:00
ee151ee36e fix track scrolling by using API to reset controls_layout, not doing it directly 2023-02-01 13:10:43 -07:00
138b25c0b0
Do not update devices when JACK is already running 2023-02-01 03:09:13 +01:00
b481590268 macOS: use openGL surface by default 2023-02-01 01:32:48 +01:00
91fc57b943
Update sample-rate mismatch dialogs to reflect resampling 2023-01-31 01:21:48 +01:00
dcf4377b47 configuration_metadata.cc should be manually generated whenever metadata changes, so just commit current version 2023-01-28 08:27:56 -07:00
233baeb521 add comments to preferences-metadata describing the file 2023-01-27 15:26:02 -07:00
ea4b47f86d avoid local prefs var map building 2023-01-27 15:13:27 -07:00
3af3f7d6ee UIConfiguration now "builds" all metadata 2023-01-27 15:13:27 -07:00
2d74669c7e waf rule to "compile" preference metadata into C++ 2023-01-27 15:13:27 -07:00
625c099fd0 remove debug output 2023-01-27 15:13:27 -07:00
13251dd571 add session prefs metadata 2023-01-27 15:13:27 -07:00
125421f686 new files for preference metadata handling 2023-01-27 15:13:27 -07:00