Paul Davis
eff21bb3e9
add debug printf to explain a stacktrace (for now)
2025-01-26 15:51:18 -07:00
Paul Davis
698ae7ca9f
fix Pianoroll::zoom_to_show() so that it does what it says
...
... and also interacts with EditingContext::reset_zoom() correctly due to the
scaling factor that, for the Pianoroll, tries to show a bit more time than
is represented by the data
2025-01-26 15:51:18 -07:00
Robin Gareus
37d16167e9
Set mini-timeline font to match marker font-size
...
Previously different main application bars used different
fontsizes, depending on current get_pango_context().
2025-01-23 22:04:34 +01:00
Robin Gareus
58f1d46e31
One font to rule the rulers.
...
Remove bold fonts for Bar/beats and font-size
inconsistency on macOS (VerySmall, SmallBold).
This reverts commit e3dc0a24f2 .
and 14318dd342
and a76afae0e9
and 7c27f617dc
and 20029ec7e6
2025-01-23 19:43:26 +01:00
Robin Gareus
3ea0b11c7d
Update Region Property Layout
...
* Shrink Clocks
* Align Checkboxes
* Reindent and cleanup source
2025-01-23 18:12:01 +01:00
Robin Gareus
9e164bf0cf
Further reduce debug output
2025-01-23 03:55:09 +01:00
Paul Davis
322d4e670c
track enter events on pianoroll to set current editing context
2025-01-22 18:20:25 -07:00
Paul Davis
42bbd1afd5
wrap pianoroll in an event box so we can get events from "the whole thing"
2025-01-22 18:20:25 -07:00
Paul Davis
d8baa0b240
track entry to Editor so we can set the current editing context
2025-01-22 18:20:25 -07:00
Paul Davis
15a093df76
wrap Tabbable contents in an EventBox so we can get events from "the whole thing"
2025-01-22 18:20:25 -07:00
Paul Davis
656273cb9f
fix zoom focus issues (not properly refactored in pianorule
2025-01-22 18:20:25 -07:00
Robin Gareus
c28802fe7f
Fix duplicate outline of rulers
2025-01-22 23:24:30 +01:00
Robin Gareus
05772690a3
Show ruler separators (again)
2025-01-22 23:08:50 +01:00
Robin Gareus
3bcde31cab
Slightly increase ruler height
2025-01-22 23:07:50 +01:00
Robin Gareus
fabbefe7b1
Fix marker text vertical alignment
2025-01-22 22:59:06 +01:00
Robin Gareus
d2fb6c498a
Show number of regionFX in sidebar
2025-01-22 19:18:36 +01:00
Robin Gareus
8919594353
Add API to query number of regionFX
2025-01-22 19:18:36 +01:00
Robin Gareus
db90906c7c
Remove notebook tab shrinking
...
Various tabs on the current editor-sidebar do not allow
shrinking (so that only tabs remain visible).
Double-click shrinking was also never implemented on other
page sidebars, and was not missed by any users there.
2025-01-22 19:18:35 +01:00
Robin Gareus
a0fd339f64
Revert "Use dropdown instead of editor sidebar notebook tabs"
...
This reverts commit 472fa58afe .
2025-01-22 19:18:35 +01:00
Robin Gareus
82993157e5
Revert "Use dropdown instead of trigger-page sidebar notebook tabs"
...
This reverts commit e7ac13a834 .
2025-01-22 19:18:35 +01:00
Paul Davis
e08dfcba5e
remove a couple of debugging printfs
2025-01-20 18:07:07 -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
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