Commit Graph

14211 Commits

Author SHA1 Message Date
Robin Gareus
838279c5e8 Fix C++11ism, enums are not classes in C++98 2021-06-24 18:14:06 +02:00
Robin Gareus
68e3d3d672 Fix endless loop if port-handle is n/a #8760 2021-06-24 17:20:44 +02:00
Todd Naugle
944eae53e6 Add a Midi port per Midi Tracer window that can be connected to for debugging. 2021-06-23 17:54:58 -05:00
Todd Naugle
6f251f8b2f Fix Midi Tracer handling of different port types
Transport Masters and Async MIDI port already have a parser available, so
just connect to it.

Normal Midi ports are the only one that need to use the Midi Tracers parser.
2021-06-23 17:54:58 -05:00
Robin Gareus
8237add6d2 Keep track of splash visibility behind dialogs
This fixes various issues, esp on macOS and Windows where
the window is only hidden, not re-stacked:

* plugin scan dialog hides the splash, but
  the plugin-manager emits BootMessage
  (this worked mostly because gtk event loop didn't
  have time to catch up)

* More than one dialog can pop back/front the splash,
  e.g. scripted session-setup or error messages when
  loading recent sessions.
2021-06-23 17:55:01 +02:00
Robin Gareus
da8e4da34f Never say never 2021-06-23 01:02:23 +02:00
Robin Gareus
3b1c52dbd0 Override Ubuntu global menu
This causes a crash in libappmenu-gtk-module.so
-> gtk_widget_get_toplevel() and apart from that breaks
ardour's layout with status-bar at the top.
2021-06-21 05:23:01 +02:00
Ben Loftis
45bd2c47d8 Brush Drag: refactor Brush-drag into its own Drag class (operation is still weird though) 2021-06-17 10:56:30 -05:00
Ben Loftis
69af0e6964 Abort a copy-drag in the case where it would result in a copy at the same location
also code cleanup: clear_draggingview_list() avoids duplicated code
2021-06-17 10:56:30 -05:00
Ben Loftis
87ecc9b4ca Slip Contents Drag: fix undo 2021-06-17 10:56:30 -05:00
Ben Loftis
295d9100ec Slip Contents Drag: slip_contents should obey edit_mode:Locked, and locked regions 2021-06-17 10:56:30 -05:00
Ben Loftis
f281e7e3c3 Slip Contents Drag: disambiguate Slip Contents from prior Contents Trim 2021-06-17 10:56:30 -05:00
Ben Loftis
3d8bccb508 Slip Contents Drag: remove ContentsTrim modifier from the region boundaries
*now that you can grab "anywhere" in the region, trim edges are inferior because they are hard to hit
*modifier had to change anyway (since CTRL is used as a copy-drag on both mac and win), so that invalidates prior muscle memory
*potentially frees up modifier on the trim edge for some other purpose (anchored_trim)
2021-06-17 10:56:27 -05:00
Ben Loftis
fea3fb9e71 Slip Contents Drag: add ContentsDrag 2021-06-17 10:56:22 -05:00
Paul Davis
5e1e55c982 use UTF8 lower-left corner chars in performance meter to indicate nesting of values 2021-06-16 19:29:03 -06:00
Paul Davis
4efe5b7ada continued tweaks for perf meters (including show average and dev in tooltip) 2021-06-15 14:03:55 -06:00
Ben Loftis
c62b6e0e3e Control Points should not obey Lock Edit, which was intended to lock regions and notes at the time where they were recorded.
Control Points should ignore x_constraint which is set in Drag::motion and potentially other places.
The only thing that should prevent CP sliding is can_slide which is false for the points at the ends of a region.
2021-06-14 11:51:16 -05:00
Paul Davis
6553d5adfc small tweak to perf display if timing stats are not available 2021-06-13 18:35:33 -06:00
Paul Davis
86e00471d9 use library function to reset meters 2021-06-13 12:21:21 -06:00
Paul Davis
86325ef89b perfmeters: adjust sizing 2021-06-13 11:21:59 -06:00
Paul Davis
3df49bad7d performance meters: worst case for all 2021-06-13 11:05:19 -06:00
Paul Davis
56d9d5376c continued tweaks to DSP performance meters window 2021-06-13 10:28:51 -06:00
Paul Davis
e1495100a8 continuing work on presenting useful data in perf meter window 2021-06-12 15:00:46 -06:00
Paul Davis
434bd2486e start showing some DSP stats in the perf meter window
Lots of work to be done to decide what data to show and how to best present it
2021-06-12 09:20:58 -06:00
Edgar Aichinger
f81d3ce333 minor german translation update 2021-06-12 15:14:43 +02:00
John Emmas
87e295fc7e Add MSVC support for the upcoming dsp stats window 2021-06-12 10:42:27 +01:00
Paul Davis
a47348f2a2 integration of new dsp stats window with window proxy system, part 3 2021-06-11 21:17:44 -06:00
Paul Davis
081c2525fd integration of new dsp stats window with window proxy system, part 2 2021-06-11 21:10:20 -06:00
Paul Davis
dcee5067f5 integration of new dsp stats window with window proxy system 2021-06-11 21:07:47 -06:00
Paul Davis
51df20796b skeleton for dsp stats window 2021-06-11 21:02:06 -06:00
Paul Davis
78738ec5a1 skeleton for DSP stats GUI 2021-06-11 18:55:25 -06:00
Paul Davis
0f6b9e759c fix out-of-order initialization 2021-06-11 18:55:24 -06:00
Paul Davis
11798f7e86 fix crash caused by not explicitly deleting the line component of a Marker (#8737) 2021-06-11 10:24:49 -06:00
Robin Gareus
d5d9800738 Improve CPU/DMA tooltip, add warning if device isn't writable 2021-06-11 00:02:45 +02:00
Robin Gareus
e22720f59a Offer DMA latency matching state transitions for the given CPU 2021-06-10 23:42:48 +02:00
Robin Gareus
5af30601a9 Update CPU-DMA preference note 2021-06-10 20:22:12 +02:00
Robin Gareus
f37ad624f6 Fix crash on session-reload or close (amend 1c9bb9ab41)
RouteUI is also used in the recorder-ui and meterbridge,
not all of which call RouteUI::init() since only the abstraction
itself is required.
2021-06-10 05:14:58 +02:00
Robin Gareus
88e85fcd17 Add preference option to set CPU DMA Latency 2021-06-10 04:30:10 +02:00
Ben Loftis
cc104d3fd3 Playlist UI tweaks: bugfix: mapover_groupd_routes should include the basis route (but only once) 2021-06-08 12:43:26 -05:00
Paul Davis
c46410a1b0 MIDI region extend-selection should select all after start of selection, not all after end of selection 2021-06-08 08:31:41 -06:00
Paul Davis
11cb981e30 add extend_selection() to MIDI region bindings; expose invert-selection also 2021-06-08 07:40:54 -06:00
Ben Loftis
f4d4dddbeb Paste Mode: overwrite-paste, naive implementation using rec-mode (for testing) 2021-06-08 08:33:48 -05:00
Ben Loftis
7cc92d8f27 Playlist UI tweaks: add global playlist buttons to Rec page (tentative, for testing) 2021-06-08 08:33:48 -05:00
Ben Loftis
e63dc0eb29 Playlist UI tweaks: move pgroup_id out of the menu text, and into a column of the playlist selector 2021-06-08 08:33:48 -05:00
Ben Loftis
1c9bb9ab41 Playlist UI tweaks: refactor PlaylistSelector (life-cycle, code-cleanup)
* You can now show a selector for each track, rather than one global dialog
* Removed the 'cancel' button: it was too easy to unintentionally revert your selection
* Correctly sort and name new playlists when they are added or renamed from the P menu
* Fix problem where list contents disappeared when changing desktops (on_unmap_event)
2021-06-08 08:33:48 -05:00
Ben Loftis
285101d88c Cruft removal: behavior of Region List no longer needs these functions (gtk part) 2021-06-08 08:33:48 -05:00
Ben Loftis
1665d0e1bc Playlist UI tweaks: add Actions and menu items for global plist functions 2021-06-08 08:33:48 -05:00
Ben Loftis
a8395718bc Playlist UI tweaks: rationalize playlist functions in Editor::
* new global playlist functions for {all | rec-armed | selected} tracks.
* new API passes (bool copy) arg instead of separate functions for copy_X.
* consistently use mapover_X functions to consolidate code
* update Lua bindings to match
2021-06-08 08:33:48 -05:00
Ben Loftis
cf999ecaa9 Playlist UI tweaks: clarify purpose of get_region{view}s_corresponding_to 2021-06-08 08:33:48 -05:00
Paul Davis
4484b60b13 Revert "extend API of ARDOUR_UI_UTILS::emulate_key_event() to allow it to pass modifiers too"
No need to extend/change this API, since relay_key_press() can already take a window argument.

This reverts commit 2e0fa8943a.
2021-06-06 08:11:26 -06:00