Commit graph

40324 commits

Author SHA1 Message Date
Robin Gareus
d280c46d44
Add API to add sizing-texts to ArdourButton 2025-01-28 07:52:34 +01:00
Paul Davis
4f711c9155 more basics of a clip recording control on the cue editor 2025-01-27 20:21:23 -07:00
Paul Davis
c4f44c045d basics of a rec-enable control and rec-length control for pianoroll 2025-01-27 15:15:51 -07:00
Paul Davis
24e8165c12 fix duplicated drawing of rec-related icons in trigger box UIs 2025-01-27 15:15:20 -07:00
Paul Davis
49d26236ac remove unused members of CueEntry 2025-01-27 13:26:15 -07:00
Paul Davis
0ddc050555 avoid double-free of MIDI sys ex and patch change canvas items 2025-01-27 12:42:13 -07:00
Paul Davis
ee4419003c no ghost note in draw mode in midi view if dragging something 2025-01-27 10:48:19 -07:00
Paul Davis
c4af078acb prevent crashes in pianoroll when showing velocity
Crash caused by an assumption that all automation has a line
2025-01-27 10:24:03 -07:00
Paul Davis
86f451ecef in pianoroll, zoom to show full region when appropriate and possible 2025-01-27 09:50:28 -07:00
Paul Davis
454f87568a pianoroll window needs to forward key press events to make MIDI bindings active 2025-01-26 19:57:41 -07:00
Paul Davis
0015cc8c68 move zoom scaling out of ::zoom_to_show() and into the caller 2025-01-26 15:51:18 -07:00
Paul Davis
27de5bdb22 abandon attempts to keep visible duration constant as pianoroll window is resized 2025-01-26 15:51:18 -07:00
Paul Davis
829d798759 use _track_canvas_width not _visible_canvas_width for zoom math in Pianoroll
The latter is the width of the entire canvas including the pianoroll header
2025-01-26 15:51:18 -07:00
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