Commit graph

530 commits

Author SHA1 Message Date
Aleksandr Prokudin
bc78ac183f Add ellipsis, because this action opens a dialog 2025-11-15 13:57:34 +01:00
Paul Davis
deafaa904f editor: add actions, methods and menu items to control global quantization 2025-10-31 13:24:35 -06:00
Robin Gareus
4b1d2b7ac8
Fix crash at start when rulers-follow-grid is enabled
When creating the editor, default modes are set, this toggles
mouse-modes, in `Editor::mouse_mode_chosen` which in turn calls
EditingContext::grid_type_chosen.

With rulers-follow-grid enabled this can call
`Editor::toggle_ruler_visibility`. Since `_session` is NULL
during editor's c-tor this caused a crash in
`Editor::store_ruler_visibility`.
2025-10-28 19:29:01 +01:00
Paul Davis
3c238e26b6 fix kbd-editing of automation point values by allowing full range 2025-08-25 20:50:01 -06:00
Paul Davis
20a19e3a99 automation kbd-editing on single points ONLY 2025-08-24 11:55:06 -06:00
Paul Davis
07b20aa60a kbd automation: no popup immediately after add, 2nd Return/Enter for that
Also, two different bindings for adding a point with and without guard points.
2025-08-21 18:56:00 -06:00
Paul Davis
5dbba0b154 when adding automation points from the kbd, use guard points
It's just better when you edit later.
2025-08-12 23:29:54 -06:00
Paul Davis
fa97071872 mamy improvements to kbd-driven automation editing
Really needs a short video to demo/explain
2025-08-12 21:44:50 -06:00
Paul Davis
a7621896c2 NO-OP no double semi-colons 2025-08-12 21:44:50 -06:00
Paul Davis
4f5848d85c action-ify stationary playhead mgmt; fix up follow-playhead action handling 2025-08-08 11:35:20 -06:00
Paul Davis
1d4e3940d1 large-scale refactoring of Pianoroll, CueEditor and AudioClipEditor
Enables code-sharing between "clip editors"
2025-07-29 18:16:35 -06:00
Paul Davis
561dde4d3a move grid/snap actions into common editing groups and bindings 2025-07-13 10:37:26 -06:00
Paul Davis
854e999436 automation text entry only when using kbd 2025-07-10 23:23:08 -06:00
Paul Davis
c6a49fdd50 basic implementation of Live-style kbd-driven automation editing 2025-06-17 14:03:43 -06:00
Paul Davis
ea1695dbc0 code refactoring and action name handling to make follow-playhead work in multiple editing contexts 2025-06-15 21:17:42 -06:00
Paul Davis
4867ed49da add find-and-display-stripable, bound to Primary-Tertiary-l by default 2025-06-07 21:10:30 -06:00
Paul Davis
25888aeaa7 provide Editor/fit_selected_tracks as an action for ... fit selceted tracks 2025-04-14 21:39:10 -06:00
Paul Davis
49d9701aaf cleanup a virtual method that is no longer relevant after the prior commit 2025-03-12 21:15:32 -06:00
Paul Davis
252be10a73 fix action group used for Editor/set-mouse-mode-object-range 2025-03-12 21:10:44 -06:00
Paul Davis
801099e057 use Gtkmm2ext::BindingSet for the GUI 2025-03-10 18:49:02 -06:00
Robin Gareus
d8e7e24f59
Use dedicated common actions per edit context
Pianoroll and main editor mouse-mode/tool actions are
now separate.
2025-03-05 22:49:37 +01:00
Robin Gareus
d04376bee4
Amend b3ee25f81, don't allow to remove-last-capture while recording 2025-03-02 18:53:21 +01:00
Robin Gareus
c122af3aa9
Use new last_capture_sources API 2025-03-02 01:30:39 +01:00
Robin Gareus
b3ee25f812
Set remove-last-capture sensitivity 2025-03-01 23:27:23 +01:00
Robin Gareus
f1e0f4b1ea
Update gtk -> ytk header location (omnibus commit) 2025-02-01 13:53:21 +01:00
Paul Davis
656273cb9f fix zoom focus issues (not properly refactored in pianorule 2025-01-22 18:20:25 -07:00
Paul Davis
ab39c26f68 a variety of changes to make timeline-region editing-in-pianoroll to start to work
This also removes the useless "new pianoroll window" menu option and action
2025-01-20 18:05:19 -07:00
Paul Davis
22a5113b59 change how mouse mode actions are defined
they now use a lambda for the functor, and the lambda calls
current_editing_context() to pick which EditingContext will
be affected.

this design replaces one where each EditingContext had its
own set of mouse mode actions defined, using its own name
as the action group
2025-01-16 12:30:15 -07:00
Paul Davis
4e8591da99 move cut/copy/delete/paste operations into EditingContext
derived classes (Editor and Pianoroll) provide ::cut_copy() to wrap the
context-specific logic, and then both defer to MidiView for MIDI-specific
operations.

Note that this also changes several action names in ardour.keys.in
2025-01-14 15:31:53 -07:00
Ben Loftis
8415fa1df0
(backport?) more explicit text in track menu. What does 'remove' do? 2025-01-11 01:37:16 +01:00
Robin Gareus
3c43628344
Cont'd work on editor rulers (actions and style) 2025-01-10 02:12:02 +01:00
Paul Davis
0a40b50b86 refactor zoom focus handling so that all EditingContexts can use the same code 2024-12-29 11:24:16 -07:00
Paul Davis
5b112e489b move zoom in/out actions into shared "Editing" group 2024-12-07 08:00:46 -07:00
Paul Davis
e7b10fc37d virtualize editing connections to parameter changes 2024-11-12 10:47:08 -07:00
Ben Loftis
8f183e26ee
Use tabbable visibility functions on all pages 2024-11-10 23:27:35 +01:00
Ben Loftis
4b1e09f810
Pack Pages using Tabbable constructs 2024-11-10 23:27:35 +01:00
Paul Davis
e591bc91f9 attach shared bindings to a parent of editor canvas to make them accessible 2024-10-17 07:44:31 -06:00
Paul Davis
c4534cc9c4 undo history for MidiCueEditor
redo not operational yet for some unknown reason
2024-10-17 07:44:31 -06:00
Paul Davis
6081bd5e19 make CueEditor be a HistoryOwner and start on undo/redo refactor 2024-10-17 07:44:31 -06:00
Paul Davis
14b95116e1 move various action registry stuff into EditingContext 2024-10-17 07:44:30 -06:00
Paul Davis
fcf5bb88d5 cue editor/piano roll: starting to get mode buttons working and keybindings too 2024-10-17 07:44:30 -06:00
Paul Davis
089a9521d5 steps to an ecology of editing 2024-10-17 07:44:29 -06: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
Ben Loftis
a3d92fe5a7 fix paste error in context menu: show-other-ranges 2024-05-31 09:27:41 -05:00
Ben Loftis
d3c2faa23b Tweak ruler vsibility menus so it is clearer that they are filters 2024-05-20 16:11:21 -05:00
Ben Loftis
64c201791c Fix copy+paste error in marker args 2024-05-20 15:58:34 -05:00
Paul Davis
93e1e1c1f2 remove Cue, CD, Scene, Punch, Loop rulers, consolidate to just a pair (ranges, locations)
a menu allows choosing between all markers or 1 specific type, and all ranges or 1 specific type

more work required on menu structure and menu options/dialogs to specify the type of new location
and range marker creation
2024-05-16 22:58:55 -06:00
Paul Davis
c3eb30d96b action group names must not be translatable 2024-05-13 15:08:53 -06:00
Paul Davis
0b8cfdee40 display MIDI scene markers 2024-04-25 13:07:00 -06:00