Commit Graph

14138 Commits

Author SHA1 Message Date
Paul Davis
bbcdd959bf dialog for remove gaps operation 2021-05-28 13:44:39 -06:00
Robin Gareus
6b09ea42f1 Loudness conformity UTF8 font compatibility for macOS 2021-05-28 21:02:26 +02:00
Paul Davis
d0f94dd63d add "remove gaps" editing operation
Like the libardour functionality it uses, this likely needs work to properly deal with the
intended cross-track workflow
2021-05-28 12:36:17 -06:00
Paul Davis
cd7c10c902 implement working undo/redo for region/cue marker operations 2021-05-27 17:17:40 -06:00
Paul Davis
3bfb01a77b improved logic for Editor::add_region_marker() 2021-05-27 17:17:40 -06:00
Robin Gareus
270b043e8f Minor code cleanup 2021-05-27 01:03:08 +02:00
Paul Davis
c444a81f1a offer alternative region marker "promotion" method to CD marker (rather than just global marker) 2021-05-25 14:10:36 -06:00
Paul Davis
8774740e72 add action to "promote" region cue markers to global marks 2021-05-25 14:01:30 -06:00
Paul Davis
232af15b51 fix position of region cue markers during drag and after when region position is not zero 2021-05-25 14:01:30 -06:00
Paul Davis
54e0b7f230 renaming cue markers (via dbl-click) 2021-05-24 20:23:06 -06:00
Ben Loftis
6277419673 Rulers: do not trigger ruler auto-display when only selecting between bbt subdivisions (#8717)
Also remove 'nonmusical' construct which was a convoluted way
 to handle GridNone when determining how to draw grid lines.
2021-05-24 16:45:42 -05:00
Paul Davis
ab2357dfa1 implement dragging for region/cue markers 2021-05-24 12:28:19 -06:00
Paul Davis
2016710865 skeleton for RegionMarkerDrag 2021-05-24 09:12:19 -06:00
Paul Davis
63ef9bdb9e Revert "hide region marker actions in menus"
This reverts commit b2ca7ac01e.
2021-05-23 21:27:54 -06:00
Robin Gareus
f1fe1c7066 Amend 445f9a51bf 2021-05-23 23:22:18 +02:00
Robin Gareus
65afd57856 Remove debug message 2021-05-23 22:23:27 +02:00
Robin Gareus
445f9a51bf Fix ripple undo/redo
Ripple edit undo/redo needs a "recursive diff" of all regions
in the playlist. To work properly owned changes have to be
cleared first, previously unrelated edits were be collected too.

This includes a more consistent version of
7a89d56009 using rdiff() instead of explicitly
saving region diffs.
2021-05-23 17:42:33 +02:00
Robin Gareus
31bbf03a67 NO-OP: always use braces (styleguide #4) 2021-05-23 17:37:28 +02:00
Robin Gareus
fd3220c3d7 Set uninitialized variable (fix playhead dragging) 2021-05-21 17:57:56 +02:00
Ben Loftis
5fdbd71d89 Fix bounced file+region names: concatenating all the names was a bad idea. (gtk part) 2021-05-20 11:42:48 -05:00
Paul Davis
a8561d531f adjust preferences label for "rewind/ffwd like a tape deck" 2021-05-19 18:54:41 -06:00
Paul Davis
b2ca7ac01e hide region marker actions in menus 2021-05-19 16:32:20 -06:00
Paul Davis
159fa49dbb change chat URL to one that redirects via ardour.org 2021-05-19 15:49:50 -06:00
Paul Davis
ad69a564a0 Revert "come to a complete stop if rewind/ffwd steps past -40 semitones slower"
This reverts commit 05ef7f2647.

This stopping behavior was not satisfactory. The behavior after this revert is not great, but better than the stop.
2021-05-18 22:59:22 -06:00
Paul Davis
3047b25527 split out region marker actions to their own submenu; implement remove and clear all 2021-05-18 20:59:37 -06:00
Robin Gareus
9d865f241d Prevent user from indirectly disabling LAN amp 2021-05-19 02:10:29 +02:00
Paul Davis
b167e6f2ed fix crash when deleting a marker
the line (if non-null) is owned by the marker's group, and will be deleted when the group is
2021-05-18 18:02:22 -06:00
Paul Davis
35a68ad324 remove unusued variables 2021-05-18 18:01:49 -06:00
Paul Davis
60a972a7de implement region marker deletion 2021-05-18 18:01:38 -06:00
Paul Davis
bd2d8b8c87 tweak Editor remove-marker APIs to set state for removing region cue markers 2021-05-18 16:50:55 -06:00
Paul Davis
baee1a2f01 add API to make sure that region cue markers are above any waveviews or MIDI etc 2021-05-18 16:50:27 -06:00
Paul Davis
b76991c00b reset region cue marker colors when colors change 2021-05-18 16:17:37 -06:00
Paul Davis
eb8c25edce remove debug output 2021-05-18 16:17:37 -06:00
Paul Davis
3713175bf1 allow user to set name for new region cue marker 2021-05-18 16:17:37 -06:00
Paul Davis
1de3ba6cc2 try a tweak to region cue marker color 2021-05-18 16:17:37 -06:00
Paul Davis
91ec860b3b redesign color mgmt when entering/leaving markers of various kinds 2021-05-18 16:17:37 -06:00
Robin Gareus
35022caf4f Tweak record-time axis name edit #8712
This allow to use the entry context menu,
and also cancels edit when clicking outside of the entry
2021-05-18 22:24:56 +02:00
Robin Gareus
c9bc0ff578 Fix VST2 enter/return ambiguity -- thanks to falktx 2021-05-18 01:39:26 +02:00
ElizabethHarmon
0e0327b1cd Update export_format_dialog.cc 2021-05-16 01:04:09 +02:00
Paul Davis
689d33ddd5 get line for region markers functioning and visible 2021-05-14 18:37:50 -06:00
Paul Davis
4151c22802 explicit color for region marks, and default to fully opaque 2021-05-14 18:37:50 -06:00
Paul Davis
b4d7944750 place the line associated with markers in the cursor scroll group, so that it above everything else 2021-05-14 18:37:50 -06:00
Paul Davis
3c1ffd1743 add line height API to Marker
This will allow region markers, which do not span the whole canvas height, to have a line
2021-05-14 18:37:50 -06:00
Paul Davis
1685843082 global marker objects do not need a canvas height, so remove member and API to manage it
They extend (down) from an origin to COORD_MAX. The height is irrelevant
2021-05-14 18:37:50 -06:00
Paul Davis
8859f76f48 new structure/design for managing visible cue markers 2021-05-14 18:37:50 -06:00
Paul Davis
272b4f5cdc redraw region markers after a region color change 2021-05-14 18:37:50 -06:00
Paul Davis
681b60463b fix color and position of region markers 2021-05-14 18:37:50 -06:00
Paul Davis
822864e301 remove debug output 2021-05-14 18:37:50 -06:00
Paul Davis
ea94a045ae update region markers after a regions bounds change (they may have moved) 2021-05-14 18:37:50 -06:00
Paul Davis
f1390ca7f7 add (theoretical) undo-ability for region markers and use source API instead of region 2021-05-14 18:37:50 -06:00