Commit graph

40290 commits

Author SHA1 Message Date
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
f052c3ae15 some API tweaks, code movement and code implementation to make rbselect for pianoroll automation work 2025-01-19 15:10:35 -07:00
luzpaz
801b8b2f1e Fix typos in gtk2_ardour
Found via codespell
2025-01-19 19:08:14 +00:00
Paul Davis
a7382b9424 provide MidiView methods for use in NoteDrags (fixes note drags to earlier times in pianoroll) 2025-01-19 10:53:52 -07:00
Paul Davis
5f049affac change name of _region member of NoteDrag to _view (since it's a MidiView) 2025-01-19 10:53:52 -07:00
luzpaz
b22f482114
fix typo bug in libs/ardour/ardour/triggerbox.h 2025-01-19 16:08:39 +01:00
Robin Gareus
86c68de269
Update IR Capture plugin description 2025-01-19 15:39:50 +01:00
Robin Gareus
52cb507dd5
Add a Lua script to capture Impulse Resoponses 2025-01-18 23:20:51 +01:00
Paul Davis
e426804232 fix some issues with the set-mouse-mode-object-range action caused by 22a5113b59 2025-01-18 08:57:14 -07:00
jean-emmanuel
a8f6fcc2df
mixer: add "search all" mode to sidebar plugin list 2025-01-18 01:26:20 +01: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
Robin Gareus
44de3c5247
NO-OP: shift indent (see previous commit) 2025-01-17 21:29:07 +01:00
Robin Gareus
654785fcc9
Handle read peak-data edge case (npeaks == 1 near EOF)
It can happen that at a given zoom-level the last chunk
of peak-data to be read is after the last peak-file data
but still before the end of the file.
2025-01-17 21:27:12 +01:00
Robin Gareus
631cda9fc8
Fix mac/Quartz drawRect full exposure
When full-draw is set, use the `rect` passed as argument
to `drawRect` and ignore `drawn_rects` invalidation.

This may fix some missing redraws when switching tabs.
2025-01-17 18:26:50 +01:00
Robin Gareus
4e34c0a0e3
Remove redundant gdk_region_destroy 2025-01-17 18:26:50 +01:00
Paul Davis
44cc3e6775 add a note to wscript about .bindings files 2025-01-16 17:13:43 -07:00
Robin Gareus
58765f4942
Fix builds (22a5113b59 removed pianoroll bindings) 2025-01-16 23:08:56 +01:00
Paul Davis
e5fb2d83da use the right GdkWindow when setting the canvas cursor 2025-01-16 12:30:15 -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
Robin Gareus
462c5ad400
Windows multitouch fixes and notes
Properly special case first single touch; fall
back to allow windows to emulate mouse events for it.
Yet let gdk handle any multi-touch events, not allowing gestures.
2025-01-16 18:46:27 +01:00
Paul Davis
f608ad1f27 make escape in pianoroll clear point selection as well as notes 2025-01-15 18:09:18 -07:00
Paul Davis
7ec2bc4edd fix rubber band selection coords so that it works in Editor & Pianoroll 2025-01-15 15:09:58 -07:00
Paul Davis
e4beb5c3d9 remove _note_mode property of MidiTimeAxisView and use MidiStreamView's inherited version
Note that for now, this leaves save/restore of the value to the time axis view, and doesn't alter
the fact that the MidiTrack represented by the axis view continues to have its own note mode too
2025-01-15 13:35:07 -07:00
Paul Davis
5cade315fb redraw (pianoroll) MidiView when note mode changes
This also fixes the position of the percussive mode canvas items
2025-01-15 10:34:46 -07:00
Robin Gareus
5cb6a43eae
Amend previous commit (launchkey not pad) 2025-01-15 16:04:49 +01:00
Robin Gareus
c8f17ee0a5
Only build launchpad surfaces if libUSB is available 2025-01-15 16:00:28 +01:00
Robin Gareus
90755045f5
Windows multitouch tweaks
* Fix special case of first single touch. While another touch
is active, any new touch must not get the ID of the (ignored)
first touch.

* reset "last-touch" coordinate on touch-begin.
Previously it was possible that the first motion event was
ignored.

NB: This does not fix missing events when the first touch
coincides with any other finger (gesture?).
2025-01-15 03:32:17 +01:00
Robin Gareus
91fe10165e Linux/X11 grab window when emulating touch button events
The first touch moves the mouse cursor, but X motion events
for the first touch are only sent after a XGrabPointer.
2025-01-15 02:06:45 +01:00
Paul Davis
678ebca032 don't always adjust note range in a MidiView after a model change 2025-01-14 16:49:58 -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
Paul Davis
13161a3975 refactor point-selection-changed logic "up" into EditingContext 2025-01-14 15:28:51 -07:00
Paul Davis
c15556568e revert some of the logic of control-points-inherit-line-color for selected CPs 2025-01-14 15:26:38 -07:00
Robin Gareus
f0ffee4a13
NO-OP: fix off by one in comments 2025-01-14 00:37:58 +01:00
Robin Gareus
64078909bb
Fix Top-level layout (amend 26527ba608) 2025-01-14 00:23:50 +01:00
Robin Gareus
2a17746af9
Remove UTF-8 digraphs from layout ASCII art 2025-01-14 00:23:50 +01:00
Paul Davis
c0c6a93cba Pianoroll: make automation follow zoom 2025-01-13 15:28:41 -07:00
Paul Davis
74fa86ca19 add a (debug-only) to canvas control point rectangles 2025-01-13 15:28:41 -07:00
Paul Davis
3363d8e9c1 remove debug output 2025-01-13 15:28:41 -07:00
Robin Gareus
6bb3e04e94
Stack Clip properties vertically to reclaim space 2025-01-13 22:58:11 +01:00
Robin Gareus
12454f0e7b
Pack monitor-section in full-height box 2025-01-13 22:46:11 +01:00
Robin Gareus
26527ba608
Update Top-Level Layout
* Right sidebar extends to the bottom
* Add additional full height right-side box for monitor-section
2025-01-13 22:45:34 +01:00
Robin Gareus
ca19b803ca
content_hbox is about to be removed.. 2025-01-13 22:39:56 +01:00
luzpaz
52f3986cb6
fix typos in share/scripts 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-12 21:11:16 +01:00
luzpaz
f4562a9b4c
fix various typos throughout codebase
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-12 21:08:42 +01:00
Robin Gareus
8bf9aefe10
NO-OP: whitespace 2025-01-11 02:38:22 +01:00
Ben Loftis
8415fa1df0
(backport?) more explicit text in track menu. What does 'remove' do? 2025-01-11 01:37:16 +01:00
Ben Loftis
abd3d49120
Recover mini-timeline playhead triangle 2025-01-11 01:20:11 +01:00
Ben Loftis
577d7230cd
Report when tabbable attachments change, and expose the state 2025-01-11 01:15:44 +01:00
Ben Loftis
3ac035c85f
Rename member variables (and unpack some items for MB) 2025-01-11 01:09:50 +01:00
Ben Loftis
8dc50ac33c
When dragging a new tab, peek at the color it will be assigned 2025-01-11 01:09:44 +01:00