Paul Davis
521f01984b
refactor code associated with cut/copy/clear so that pianoroll ops will affect automation points there
2025-09-14 13:49:26 -06:00
Robin Gareus
aba8595342
Don't re-create MIDI Region Editor when it already exists
2025-08-20 22:01:03 +02:00
Paul Davis
9c890f2690
zoom focus and snap mode get the stateful-action treatment
2025-07-30 15:28:46 -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
38cfd12bac
NoCamelCase method names (gui)
2025-07-12 10:51:54 -06:00
Paul Davis
5b56cef0a7
make ripple-after-trim-back do the right thing
2025-07-09 18:32:45 -06:00
Paul Davis
2d21391c66
remove incorrect copy-pasted comment
2025-07-09 17:21:12 -06:00
Paul Davis
2def30bda5
Editor::trim_region_front/end should obey ripple mode
2025-07-09 17:02:11 -06:00
Paul Davis
74a0272c50
Editor/EditingContext get proxyimplementations of HistoryOwner::add_commands()
2025-07-09 17:01:22 -06:00
Paul Davis
f240898201
for find-and-display-stripable, ignore case and do inline completion & selection
2025-06-10 12:28:33 -06:00
Paul Davis
5ad9c5a73b
use match-anywhere for find-and-display-track
2025-06-08 09:14:33 -06:00
Paul Davis
ac922f1683
remove cruft from initial addition of find-and-display
2025-06-07 23:04:06 -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
1ed9876446
Change various positions and dimensions to integer from double
...
This includes note heights, note positions, contents height
for streamviews, positions of tracks. It makes zero sense to think of these as
having potentially fractional positions.
In addition, fractional note heights and positions lead to numerous
errors drawing MIDI stuff at the pixel level.
2025-06-02 19:28:10 -06:00
Robin Gareus
65813054d2
NO-OP: whitespace
2025-04-13 22:42:03 +02:00
Ben Loftis
c8576880e6
check whether to rename new markers before showing the rename dialog
2025-04-11 08:43:22 -05:00
Paul Davis
15c808c9f4
expand the dialog used for renaming location markers to allow scene editing
...
This has no visible effect for anything that is not livetrax (for now).
2025-04-07 17:46:01 -06:00
Robin Gareus
c122af3aa9
Use new last_capture_sources API
2025-03-02 01:30:39 +01:00
Robin Gareus
a47a78d15a
Clarify remove-last-capture warning
2025-03-02 00:34:43 +01:00
Robin Gareus
000c25edcc
Update gtkmm -> ytkmm header location (omnibus commit)
2025-02-01 15:25:14 +01: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
luzpaz
1a18417464
fix typos in gtk2_ardour directory
...
Found via `codespell -q 3 -S "*.pdf,*.po,./.git,*.tosc,./waf,./share/patchfiles,./libs,./msvc_extra_headers,./share/web_surfaces,*.patch" -L acount,addin,ane,ba,buss,busses,caf,capela,devine,disconnectin,discreet,doubleclick,envolution,filetest,fo,ghandi,homs,hsi,layed,maschine,mis,nd,ontop,pass-thru,removeable,retrn,ro,scrollin,sectionin,seh,siz,sord,sur,te,trough,ue,wth`
2025-01-18 00:55:34 +01: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
Robin Gareus
3c43628344
Cont'd work on editor rulers (actions and style)
2025-01-10 02:12:02 +01:00
Robin Gareus
85b637878d
Add action to create arrangement markers
2025-01-08 04:31:15 +01:00
Paul Davis
fb4fefe573
fix some issues with zoom focus after refactoring it into EditingContext
2024-12-12 11:53:15 -07:00
Paul Davis
a6ca9be006
refactor editor-y zooms into EditingContext
2024-12-12 11:53:15 -07:00
Paul Davis
15c86492fa
use RAII for cursor mgmt around thread-waits
2024-12-08 15:09:32 -07:00
Paul Davis
98c9c03e9f
remove all trace of cursor stacks; canvas cursor is always "just set"
2024-12-08 12:13:41 -07:00
Robin Gareus
74c4ca3e52
Reduce reliance on boost - the hard part
...
the rest from `tools/convert_boost.sh`.
* replace boost::function, boost::bind with std::function and std::bind.
This required some manual fixes, notably std::placeholders,
some static_casts<>, and boost::function::clear -> = {}.
2024-10-19 03:47:21 +02:00
Robin Gareus
a1643573be
Fix optimized builds (missing stacktrace include)
2024-10-18 15:38:54 +02:00
Paul Davis
1961a9207c
provide a better method to decide if a trigger(slot) is occupied
...
This is necessary with clip recording because for some short time after recording,
a trigger may be playable despite not yet having a region.
GUI edition.
2024-10-17 07:44:32 -06:00
Paul Davis
56ce9c33c0
renaming: AutomationLineBase => AutomationLine, AutomationLine => EditorAutomationLine
2024-10-17 07:44:31 -06:00
Paul Davis
90c8726c6d
wideranging changes to get automation editing working in cue editor
2024-10-17 07:44:31 -06:00
Paul Davis
fa79645c19
move most of AutomationLine into AutomatonLineBase, a class not strongly tied to the editor
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
bde4768734
move a bunch of MIDI editing into EditingContext
2024-10-17 07:44:29 -06:00
Paul Davis
204d4237f8
further steps towards MidiRegionView outside the Editor
2024-10-17 07:44:29 -06:00
Paul Davis
089a9521d5
steps to an ecology of editing
2024-10-17 07:44:29 -06:00
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