Commit graph

929 commits

Author SHA1 Message Date
Robin Gareus
b501eaf43a
Fix undo when removing multiple regions on the same track 2024-08-13 03:07:39 +02:00
Robin Gareus
9f0b829cfb
Fix undo when ripple deleting a region (#9767) 2024-08-13 03:07:36 +02:00
Robin Gareus
460ecadc00
Significantly speed up building region bounday cache 2024-08-02 20:08:51 +02:00
Paul Davis
af5c99dd05 move definition of selection operations in to ARDOUR namespace
This is a rare commit that I think should be done for GUI and libs at the same time
2024-08-02 11:50:21 -06:00
Paul Davis
d4227b6ca4 add actions for region lock/unlock (from Mark Knoop < mark@opus11.net> 2024-07-31 22:38:45 -06:00
Robin Gareus
cd3c65fbda
The return of the tempo-map cut/copy section warning
see also 964600b9bd.
2024-07-17 17:58:25 +02:00
Robin Gareus
0ea7e80aa6
Implement paste to region gain/fx automation 2024-07-12 18:26:25 +02:00
Robin Gareus
b35e5f2e23
Place "Lock" dialog in the center of the screen 2024-06-19 21:24:43 +02:00
Paul Davis
9061657940 when checking for an existing marker before adding one, use the intended flags 2024-06-07 22:19:44 -06:00
Ben Loftis
0a19b719d4 fix creation of Cue markers via new ruler menu 2024-06-01 08:21:16 -05:00
Paul Davis
2d8c641314 provide new actions to jump to prev/next location marker (no other markers) 2024-05-28 22:07:35 -06:00
Ben Loftis
34875e4f3f label cd track markers distinctly 2024-05-28 08:41:38 -05:00
Paul Davis
2d5884ccb1 refactor methods to add a location/section marker so that there is only one method for this 2024-05-21 08:21:02 -06:00
Paul Davis
0b8cfdee40 display MIDI scene markers 2024-04-25 13:07:00 -06:00
Robin Gareus
b2d4280e0f
Add support for Region Fx Automation 2024-04-23 21:56:22 +02:00
Ben Loftis
e467e0c014 in the case of nudging (1) CP, locate the phead so we can see its position 2024-03-11 14:45:07 -05:00
Robin Gareus
46a8b547fa
Half-baked automation-point nudge
There are currently combined constraints when moving multiple
points like ContiguousControlPoints::move enforces, but otherwise
it works fine.
2024-03-11 19:18:27 +01:00
Robin Gareus
9cc966120c
Consolidate internal bus checks (2/2) 2024-01-06 20:21:54 +01:00
Robin Gareus
bdfee53d1f
Fix signal emission for Locations::ripple (2/2) 2023-12-10 04:08:55 +01:00
Paul Davis
da175cc2e8 temporal: remove TempoMap::insert_time() and use shift() instead
The former was incorrectly implemented, and the latter has already been tested more
in real life.

We should likely remove ::remove_time also and use shift() there too, but that
requires testing negative shifts more broadly.
2023-11-19 12:14:10 -07:00
Robin Gareus
7cd681ec9e
Retain Region layering when duplicating Regions
Editor::duplicate copies regions one at a time. This lead
to region layeres not being retained, particularly since
Playlist::duplicate() puts the duplicated layer at the top.
2023-11-07 00:57:22 +01:00
Robin Gareus
1f7abff38b
Include Track name when consolidating ranges 2023-10-16 21:12:44 +02:00
Paul Davis
91f50b8a06 in insert time, don't differentiate between audio/music time markers 2023-10-04 18:50:42 -06:00
Paul Davis
dd556f6ee8 NO-OP: line formattting 2023-10-04 18:50:42 -06:00
Paul Davis
85f0648b6b don't pass unnecessary argument to Playlist::shift() 2023-10-04 18:50:42 -06:00
Paul Davis
0ffb9d6c8a following c40f40, make insert/remove time apply to all markers
That is, since there is no "glued-to" concept any more, if markers
are moving, then all markers are moving
2023-10-04 17:07:34 -06:00
Paul Davis
5b038e488c no more "glue to ..." concept in GUI 2023-10-04 17:07:34 -06:00
Paul Davis
e363da1f90 NOOP: remove unused variable 2023-10-04 17:07:34 -06:00
Ben Loftis
72761734e8 region groups: more fixes for drag-copy and range-paste operations 2023-09-27 11:06:40 -05:00
Robin Gareus
eed79f45d7
Fix layering when copy/pasting regions (2/2) 2023-09-25 22:36:28 +02:00
Paul Davis
61d8ceaa85 change API of Editor::get_quantize_op() and fix flaky UX when using quantize-notes 2023-09-24 15:01:04 -06:00
Paul Davis
727b666c18 NOOP: reformat comment 2023-09-18 19:57:37 -06:00
Robin Gareus
b00b80ec7e
Mixbus: cut/copy section always pastes at playhead 2023-09-11 23:18:52 +02:00
Robin Gareus
964600b9bd
Remove tempo-map cut/copy section warning 2023-09-11 23:18:52 +02:00
Robin Gareus
10ff5ad599
Use section delete for Editor::Delete operation 2023-09-06 00:02:31 +02:00
Paul Davis
44e1de4261 no warning dialog about tempo map cut/copy/paste
Left in place since it may come back in a different form
2023-08-30 14:16:21 -06:00
Ben Loftis
8818d8484e
region groups: allow the user to explictly group and ungroup regions 2023-08-10 16:55:25 +02:00
Ben Loftis
fe2473b0cc
region groups: some actions must retain a group-id for the life of the op 2023-08-10 16:55:25 +02:00
Paul Davis
afe5331a0b pbd: fairly unconscionable that Command in libpbd is not namespaced, so now it is 2023-08-07 16:33:16 -06:00
Paul Davis
e9585ad530 objects don't have a time domain, they have a time domain provider (GUI) 2023-08-02 15:22:52 -06:00
Paul Davis
e430b54554 class name change to clearly disambiguate Evoral::ControlList (a list of time/value pairs) from lists of Controls in libardour (GUI edition) 2023-08-02 15:22:52 -06:00
Colin Fletcher
96eb7652c9 fix warning from fallthrough comment typo
Fix "warning: this statement may fall through [-Wimplicit-fallthrough=]",
caused by the misspelling of "fallthrough" as "fallthough" in
editor_ops.cc.

Note that if you use ccache, you'll need to clear its cache to actually
get rid of the warning, because the pre-processed file (with comments
removed) is identical before & after this change, and thus won't get
recompiled otherwise.

Fix the equivalent typos in marker.cc too, though in those cases there's
no actual warning, because presently all the fall-throughs are from empty
cases.
2023-06-09 16:45:31 +01:00
Robin Gareus
3468ffddbb
Update GUI: add new section operations 2023-06-06 02:42:43 +02:00
Robin Gareus
961c6ae8d7
Prepare UI for section cut/copy API update 2023-06-06 02:42:43 +02:00
Robin Gareus
54fac9abac
Allow user to not be reminded about tempo-map not being pasted 2023-06-05 20:04:41 +02:00
Robin Gareus
8794145c9d
Centralize setting undo/redo action sensitivity
This fixes undo/redo action sensitivity for non-editor
history stack changes.

Notably recording was not undoable, because the butler
thread creates the reversible "capture" command.
2023-06-02 18:11:53 +02:00
Robin Gareus
ffa893f23c
Add a warning that cut/copy section does not yet include the the Tempo Map 2023-05-18 03:45:53 +02:00
Robin Gareus
299e67f250
Facilitate multiple section paste operations 2023-05-17 23:30:13 +02:00
Robin Gareus
b6b1aec50e
Fix selection after region duplicate (amend cfca2d2a) 2023-05-15 19:28:33 +02:00
Robin Gareus
cfca2d2af9
Significantly speed up multiple region duplication
When multiple regions are duplicated Playlist::duplicate
is called sequentially for each region.

Previously that lead to a call to Playlist::flush_notifications
after each step, which is rather expensive.
Playlist::ContentsChanged and Playlist::LayeringChanged
trigger SessionEvent::Overwrite and GUI updates.
2023-05-14 20:42:31 +02:00