Commit Graph

37374 Commits

Author SHA1 Message Date
Robin Gareus 157ccbbdb5 C++11 fallthrough (2/2) 2023-05-19 05:34:25 +02:00
Robin Gareus f02e5d3a9f C++11 fallthrough (1/2) 2023-05-19 05:33:56 +02:00
Robin Gareus d0a66ca389
Update Session Archive Dialog, allow to abort 2023-05-19 03:08:38 +02:00
Robin Gareus 25f8eea162
Allow to cancel session archive process 2023-05-19 03:08:37 +02:00
Robin Gareus 56176bb627
Update GUI, use new Archive progress API 2023-05-19 03:08:31 +02:00
Robin Gareus c9929698ee
Implement FileArchive progress/cancel
* Use PBD::Progress API
* Allow to cancel extraction and compression
* Fix querying download size
2023-05-19 03:08:22 +02:00
Robin Gareus 2cb4e8a6ca
Remove compat header 2023-05-19 00:54:10 +02:00
Robin Gareus 02055a1c96
Update codebase to use PBD::Progress (2/2) 2023-05-19 00:53:38 +02:00
Robin Gareus 92fbab32c6
Update codebase to use PBD::Progress (1/2) 2023-05-19 00:37:49 +02:00
Robin Gareus 65f2be76f6
Move Ardour::Progress to PBD::Progress
This will allow PBD::Filearchive to properly report progress.
It is also a generally useful API and deserves to be in libpbd.

Temporarily keep Ardour::Progress as alias
2023-05-19 00:35:20 +02:00
Robin Gareus 25234702fe
Prepare libardour for FileArchive progress API update 2023-05-19 00:35:14 +02:00
Robin Gareus b5d3ef68bf
Prepare for FileArchive progress API update 2023-05-19 00:31:51 +02:00
Robin Gareus d2b24e8689
Rate limit progress-report, reduce excessive UI load
Session-archive or region analysis can produce excessive
progress callbacks (for each N samples read from disk).
2023-05-18 18:58:40 +02:00
Robin Gareus b3d3944451
Add session-archive error messages 2023-05-18 18:54:46 +02:00
Robin Gareus ffa893f23c
Add a warning that cut/copy section does not yet include the the Tempo Map 2023-05-18 03:45:53 +02:00
Robin Gareus 3ef5b0881f
Expose Cut/Copy Section in Edit Menu
Also remove it from the context menu, since it fails
with edit-point = Mouse.
2023-05-18 03:45:14 +02:00
Robin Gareus 86393ecfc3
Fix Blueberry-Milk theme 2023-05-18 01:26:52 +02:00
Robin Gareus dbebc0b7e0
Make Markers properly themable, use color-names
This simplifies code, and also immediately changes marker
colors when the theme is changed.
2023-05-18 01:26:35 +02:00
Robin Gareus 8c861914c8
Fix copy/edit in 4cdcdb9ee7 2023-05-18 00:47:37 +02:00
Robin Gareus 299e67f250
Facilitate multiple section paste operations 2023-05-17 23:30:13 +02:00
Robin Gareus 4cdcdb9ee7
Add enum to configure selection after section cut/copy 2023-05-17 23:28:20 +02:00
Robin Gareus 3bac043043
Update preferences metadata object 2023-05-17 02:04:52 +02:00
Robin Gareus d9f25ff2ea
Split Appearance/Editor Waveform into separate page
This reduces the vertical size requirement of the
Preference Window.
2023-05-17 02:02:55 +02:00
Robin Gareus cb78043adc
Indicate selection extents in time ruler 2023-05-17 01:53:40 +02:00
Robin Gareus 1ee2675716
Implement Selection Marker class and events 2023-05-17 01:50:51 +02:00
Robin Gareus cfba965db3
Prepare Selection Start/End Marker rendering 2023-05-17 01:45:48 +02:00
Robin Gareus 5f03253de6
Restore Ardour stripable-color-palette 2023-05-15 23:18:50 +02:00
Robin Gareus 68d910d58c
Catch another windows no-top-level issue
GTK+ on windows is weird on occasion :)
2023-05-15 22:47:36 +02:00
Ben Loftis 4b30239275 split route-coloring option into Tracks and Buses 2023-05-15 15:34:43 -05:00
Ben Loftis 9cb6c67f7b when coloring tracks: prefer the first strip-palette color, not a bg color 2023-05-15 15:34:43 -05:00
Ben Loftis f420c74598 avoid using red in the default stripable palette
* if regions-follow-track-color is enabled, regions kinda look selected
* red is generally reserved for active selection, recording, or errors
2023-05-15 15:34:43 -05:00
Robin Gareus b6b1aec50e
Fix selection after region duplicate (amend cfca2d2a) 2023-05-15 19:28:33 +02:00
Hoger Dehnhardt f958b7b0e0
With larger projects, the session was not initialised at this time 2023-05-14 22:50:35 +02:00
Robin Gareus 83555ec290
Consolidate playlist block & ignore notifications
Despite the names suggesting otherwise
`block_notifications` and `ignore_state_changes` are used
for the same purpose.

The only difference is that ::freeze ::thaw explicitly
modified `ignore_state_changes` **in addition** to
`block_notifications`.
2023-05-14 20:42:32 +02:00
Robin Gareus cfca2d2af9
Significantly speed up multiple region duplication
When multiple regions are duplicated Playlist::duplicate
is called sequentially for each region.

Previously that lead to a call to Playlist::flush_notifications
after each step, which is rather expensive.
Playlist::ContentsChanged and Playlist::LayeringChanged
trigger SessionEvent::Overwrite and GUI updates.
2023-05-14 20:42:31 +02:00
Robin Gareus e79d8b00f9
Speed up playlist rendering of non-overlapping MIDI Regions 2023-05-14 20:42:31 +02:00
Robin Gareus bcafa3d6aa
Tempo dialog is modal, grab focus from parent 2023-05-14 20:42:31 +02:00
Ben Loftis cceb917806 handle special cases of the first and last tempo-mapping markers
TODO: once all cases are recognized, we can probably simplify the logic
2023-05-14 09:05:08 -05:00
Ben Loftis 54969d8aab fix thinko resulting in duplicate bar-names after a tempo-mapping op 2023-05-14 09:05:08 -05:00
Robin Gareus 4192710ac8
Add Lua bindings to remove routes 2023-05-14 02:44:27 +02:00
Robin Gareus 5bbd248384
Add Lua bindings for std::list/vector clear 2023-05-13 17:38:41 +02:00
Robin Gareus 0afc0dd50d
Log video-monitor version during startup 2023-05-13 17:08:47 +02:00
Robin Gareus ca88794ab7
Engine-dialog: push splash on error
When starting the engine fails, the splash screen
needs to remain behind the dialog.
2023-05-12 03:34:47 +02:00
Robin Gareus a72962937f
Have some fun with Lua DSP 2023-05-12 02:49:37 +02:00
Robin Gareus 756c0a80c9
Emit Xrun in case process-lock cannot be acquired 2023-05-11 19:30:49 +02:00
Robin Gareus 1ac7f483da
VST3: set non-automatable parameters (#9321) 2023-05-11 18:50:15 +02:00
Robin Gareus 57017267cf
Prefer try-lock in process-callback 2023-05-11 18:38:02 +02:00
Robin Gareus 79e6830d21
VST3: allow to set non-automatable params (#9321) 2023-05-11 02:11:05 +02:00
Robin Gareus b1a771d36b
Fix windows builds (type mismatch/error) 2023-05-08 22:05:56 +02:00
Robin Gareus 1940dfbb28
NO-OP: cleanup includes 2023-05-08 22:02:37 +02:00