Commit graph

21676 commits

Author SHA1 Message Date
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
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
3363d8e9c1 remove debug output 2025-01-13 15:28:41 -07: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
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
577d7230cd
Report when tabbable attachments change, and expose the state 2025-01-11 01:15:44 +01:00
Ben Loftis
08d3c4260a
Add ConfigMenu icon (config gear with an arrow) 2025-01-11 00:18:48 +01:00
Ben Loftis
e93bbccd64
Fix proportion of faders on fader slots 2025-01-11 00:10:01 +01:00
Ben Loftis
45265a98ed
Allow theming of ardourbutton text so it can be less severe 2025-01-10 23:40:30 +01:00
Ben Loftis
aa04c115c1
Less horizontal padding is better to my eye YMMV 2025-01-10 23:40:10 +01:00
Robin Gareus
ec0adbc1a9
Add a hint to disable "apply track/bus processing" for LT stem exports 2025-01-10 17:53:27 +01:00
Paul Davis
baef68b1e6 clean up/improve API used in 5ebf8152e 2025-01-10 09:25:03 -07:00
Paul Davis
5ebf8152ec temporal: tempo changes must be on meter-provided grid, not quarter notes 2025-01-09 22:30:17 -07:00
Paul Davis
207cd9ae5f fix temporal test runner
must abort all write_copy() map operations
2025-01-09 22:30:17 -07:00
Robin Gareus
caa9b2c25a
Allow to render icons on Gtk::Layout backgroud 2025-01-09 20:18:23 +01:00
Paul Davis
7c892d7286 avoid crash when using -D canvasenterleave
This only happens when the canvas finds zero items to deliver
events too, which should never really happen but did while working on pianoroll
stuff.
2025-01-08 14:26:29 -07:00
Robin Gareus
a0413c525c
Do not save VCA automation in templates 2025-01-03 22:01:59 +01:00
Robin Gareus
506a57251b
Fix PT Import when track name contains illegal chars
route_by_name() may not find a track created with a given
name, if that name contains illegal chars that were replaced,
or if the track-name was otherwise changed (number suffix) to
make it unique.
2025-01-03 02:02:36 +01:00
Robin Gareus
694d91f395
Use dedicated PT debug flag 2025-01-03 01:56:48 +01:00
Robin Gareus
31d567b20c
Add dedicated debug flag for PTimport 2025-01-03 01:49:33 +01:00
Robin Gareus
fe14044175
Prevent drumstick icon bleed 2025-01-02 21:09:56 +01:00
Robin Gareus
91b1eb9c72
Set colors for drum icon and fix drumstick length 2025-01-02 20:04:55 +01:00
Robin Gareus
772d14fca3
Add icon for cue/triggger page 2025-01-02 18:47:13 +01:00
Robin Gareus
05a18b0cc6
Prefer std::map::erase over temporary iterator
While map::erase should not affected incremented iterators,
this is my best guess at
https://discourse.ardour.org/t/clean-up-does-not-end/111154

If not, at least the code is cleaner now :)
2024-12-31 00:21:45 +01:00
Paul Davis
791bb3a50d add a new Drum icon 2024-12-29 14:34:57 -07:00
Paul Davis
0133400b8a add ArdourButton::remove_elements() 2024-12-29 14:34:57 -07:00
agfline
ae18524da7
Update libaaf to v1.0-22-gfab4651 2024-12-29 19:49:01 +01:00
Nil Geisweiller
34fe8c46e9
Make Stripable::Sorter::_mixer_order const
This is not required by C++17, but it is rather clear that this field should
not be changed after initialization.
2024-12-29 19:45:55 +01:00
Nil Geisweiller
5ac2e6b8a8
Make Stripable::Sorter::operator() const
as required by C++17
2024-12-29 19:45:52 +01:00
Robin Gareus
6e2d34df2d
Fix MIDI Clock generator (rounding issues)
This broke in f67029bd0 and notably bcc1aeeb86.

next_tick needs to accommodate for sub-sample accuracy when
PPQN are not integer samples. e.g. 110 bpm @ 48kHz

PS. Instead of `double` we could use superclock next_tick, and
`one_ppqn_in_superclocks` respectively. This would provide us
with 62 bit significand (instead of 52 bit using double).

Yet for the case of MIDI clock, this will have no real world
effect.
2024-12-29 16:05:31 +01:00
Paul Davis
24a1fd9dbe NO-OP: whitespace 2024-12-26 09:28:06 -07:00
Paul Davis
228a4931e1 NO-OP: obey code formatting rules and conventions 2024-12-20 10:06:57 -07:00
Paul Davis
5f943295fc copying a tempo map should not bail out just because there is only 1 tempo & meter 2024-12-18 16:46:07 -07:00
Robin Gareus
daa6808a30
Scale Metronome icon to match other transport icon height 2024-12-18 21:56:13 +01:00
Robin Gareus
72aebf0308
Tweak mixer-icon's fader-caps 2024-12-17 15:47:54 +01:00
Robin Gareus
42b32fbd7c
Also change automation time-domain to match default (cde26c5205) 2024-12-16 19:51:24 +01:00
Robin Gareus
91d91eac0d
Fix export encoder race condition
The CmdPipeWriter::Terminated signal is used to trigger the FileWritten
callback, which invokes ExportGraphBuilder::Encoder::copy_files

Encoder::filenames must not be destroyed before the callback
arrives. This is now guaranteed by the Encoder d'tor waiting
for for the encode process to terminate.
2024-12-15 16:31:43 +01:00
Robin Gareus
bae7c52f01
The return of the tape-reel icon
This was removed with destructive record mode
a4d7b45fe0

This new version is no longer red by default, and
also works with light theme
2024-12-14 16:39:06 +01:00
Robin Gareus
c2b1748de7 Emulate GTK button events for signal-proxy connections 2024-12-12 17:34:44 +01:00
Robin Gareus
05f3ac50cc Focus grab pointer to receive motion events for 1st touch
X11 emulates MotionEvents for the 1st finger on a touch-screen
(no explicit touch events are sent) IFF the pointer is grabbed.
So let's do that.

Note 1st finger touch uncnditionally creates press and release events
2024-12-12 17:34:44 +01:00
Robin Gareus
f575a48973
Investigate alleged crash on intel mac 2024-12-10 19:28:27 +01:00
Paul Davis
5b112e489b move zoom in/out actions into shared "Editing" group 2024-12-07 08:00:46 -07:00
Robin Gareus
4866baacf5
Release NSGLView, fixes heap-use-after-free 2024-12-06 18:52:04 +01:00
Robin Gareus
d953ca732e
Tweak Ardour Attachment buttons 2024-12-05 20:31:15 +01:00