13
0
Commit Graph

39069 Commits

Author SHA1 Message Date
63b5c9ea2b
Trying to track down mysterious cxxabiv1::failed_throw
It seems that a `Glib::ConvertError` is thrown, and then the
function that catches the error causes another ConvertError in
`err.what()` (which presumably include the filename that
causes the error).

relevant part of the backtrace (macOS Crashdump):

```
Glib::ConvertError::throw_func(_GError*) + 56
Glib::Error::throw_exception(_GError*) + 292
Glib::operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, Glib::ustring const&) + 131
StringPrivate::Composition& StringPrivate::Composition::arg<Glib::ustring>(Glib::ustring const&) + 25
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > string_compose<Glib::ustring> (...) + 81
PBD::run_functor_for_paths(...) + 1313
```
2024-05-22 18:36:15 +02:00
08eb25ef55 add a move threshold to track DnD 2024-05-21 11:05:37 -06:00
0929faf830
Use alphabet instead of numbers for new group names 2024-05-21 18:21:47 +02:00
710a22521f
Add method to create an alphanumerical sequence
This is intended for new group-names. This avoids ambiguity
with track numbers when using defaults.
2024-05-21 18:21:47 +02:00
2d5884ccb1 refactor methods to add a location/section marker so that there is only one method for this 2024-05-21 08:21:02 -06:00
8ad53bc96c
Load LiveTrax sessions w/DirectOuts sends
We simply ignore the direct out sends from trax.

Note `DEFINE_ENUM_CONVERT` for Role is defined in delivery.cc
so we need a static method to directly read the send's role.
2024-05-20 23:16:19 +02:00
d3c2faa23b Tweak ruler vsibility menus so it is clearer that they are filters 2024-05-20 16:11:21 -05:00
78f81b2074 Reorganize Ruler Menu
* markers on top, rulers below
* cue markers in a submenu, and include the Stop marker
2024-05-20 15:59:34 -05:00
64c201791c Fix copy+paste error in marker args 2024-05-20 15:58:34 -05:00
7bfd128a75
Downgrade warning (about I/O priority) 2024-05-20 21:56:24 +02:00
5fdc7c4601
Redraw section markers when reloading session
This fixes a bug that when re-loading a session, section
marker rectangles (to next marker) were not drawn.
2024-05-20 21:55:54 +02:00
f693c0406a
When drawing a note, only play it once
Previously two identical Note on events were sent:
 * Select newly created note -> note-on event
 * Play newly created note -> note-on event
2024-05-20 19:42:29 +02:00
9de2b3435d
Only send a single note-off when drawing notes
Previously both the timer-based `off` as well as the d'tor
sent a note-off event.
2024-05-20 19:31:34 +02:00
e34359b921
VST3: skip context info callbacks during session load
This fixes a crash when SSL's channelstrip calls set-selection
early on during session load, during Session::load_routes.

Session::add_routes_inner calls calls ARDOUR::GUIIdle() which
can trigger a SSL Native Channel Strip 2" VST3 to call
VST3PI::setContextInfoValue, which in turn emits a
CoreSelection::send_selection_change before the session is
fully loaded.

This also handles various edge cases where a given AC may
not [yet] exist.
2024-05-20 19:31:31 +02:00
ac779b38b2 arrangement markers are named "section N" by default 2024-05-20 11:00:50 -06:00
66d36999b9
Remove empty checkboxes from Ruler dialog 2024-05-19 18:43:45 +02:00
6e0c5e6a34
Unify build scripts w/derivative projects 2024-05-19 01:40:02 +02:00
897610a047
Fix macOS builds (after 93e1e1c1f2) 2024-05-19 01:04:42 +02:00
f1e7ab08c7 no need to lookup smart mode action, it is cached 2024-05-18 12:24:23 -06:00
6ed9835677 emove some sneakily hidden indirect references to no-longer existing rulers 2024-05-18 07:20:14 -06:00
6fbf2f37d9
Set meter-height depending on configured fader-length
Previously when len was zero, FastMeter enforced a length
of at least 250px.
2024-05-18 01:44:28 +02:00
4ec86a2657
Add API to query Fader orientation 2024-05-18 01:42:44 +02:00
cd2db2c3aa
NO-OP: whitespace 2024-05-17 17:25:45 +02:00
5f52329bed
Update mixer and lock icon 2024-05-17 17:25:41 +02:00
907cf66a63 restructure ruler context menu 2024-05-17 09:08:22 -06:00
553e534455 remove a number of canvas items that no longer exist after ruler consolidation 2024-05-17 09:07:00 -06:00
fc194237eb Locations::clear_ranges() now removes punch & loop ranges 2024-05-17 09:05:27 -06:00
93e1e1c1f2 remove Cue, CD, Scene, Punch, Loop rulers, consolidate to just a pair (ranges, locations)
a menu allows choosing between all markers or 1 specific type, and all ranges or 1 specific type

more work required on menu structure and menu options/dialogs to specify the type of new location
and range marker creation
2024-05-16 22:58:55 -06:00
9d046af47a Update Lua allocator for sessions scripts
* increase memory pool (bindings alone require 1.5 MB), and all session
  scripts have a shared memory pool.
* use TLSF (like Lua DSP processors) - this fixes an issue with atomics
  (notably int62_t, temporal) on macOS and ARM, which need to be
  aligned.
2024-05-15 20:18:21 +02:00
afb519cd84
Bump required boost version to 1.68 (for optional::has_value) 2024-05-15 18:50:17 +02:00
1f0ee56726
Fix Lua Session scripts (amend df12126909) 2024-05-15 17:33:59 +02:00
b3df8ea6ef
Expose UI config fonts to libwidgets
Currently this is only for the benefit of derivative projects.
2024-05-15 17:02:35 +02:00
agfline
fc1377ae46
AAF: set session name from AAF filename instead of AAF composition name
https://github.com/agfline/LibAAF/issues/5#issuecomment-1952193515
2024-05-15 04:51:36 +02:00
7b75748299
Revert "As we've yet to implement user options, let's prefer AAF filenames rather than extracting an internal Comp name"
This reverts commit 2e55f4452f.
2024-05-15 04:49:43 +02:00
0bac1e07f5
There is no TraxLive here (amend a0e2749) 2024-05-15 03:35:23 +02:00
a0e27495c6
Abstract base class for ArdourFader
This allows derivative projects to use other fader
render implementations.
2024-05-15 02:41:37 +02:00
dad32d8b11
Clean up slider-controller includes 2024-05-14 23:41:51 +02:00
3c524098b4
Fix CC event for DM10-mkII Plugin 2024-05-14 22:07:31 +02:00
86c3b70c54 add some utility functions to Buffers and BufferSets to allow some kinds of debugging easily 2024-05-14 12:25:58 -06:00
ac47688023
Add Lua plugin to map DM10-mkII Studio HiHat MIDI messages 2024-05-14 17:20:52 +02:00
5b02561573
Fix MIDI Tracer (print polypress value) 2024-05-14 17:20:01 +02:00
e75ad3399e
Fix BBT marker calculation when removing time 2024-05-14 03:20:04 +02:00
aa55bf35eb
Catch issues with invalid region vs. source length
e.g. the session from
https://tracker.ardour.org/view.php?id=9704#c28732
2024-05-14 02:12:45 +02:00
caae3501ec
TransportMasterWidget may not have a session
Other parts in this dialog already test for session == nullptr.
This can happen in the Preferences, when switching a timecode
master w/o a session (not possible in Ardour, but some derivative
project).
2024-05-13 23:11:43 +02:00
c3eb30d96b action group names must not be translatable 2024-05-13 15:08:53 -06:00
6b8018d927
Indicate remaining record time for FLAC with >= 2024-05-13 21:54:18 +02:00
68d3be8918
Support querying disk space for disks > 16TB
under the hood `fsblkcnt_t` is used.
2024-05-13 21:32:10 +02:00
1b1d6e767b
Include YTK in doxygen doc 2024-05-13 20:09:30 +02:00
2f32a22a4d Revert "ensure that the master send is directly before the main outs."
MasterSends are not (currently) part of Ardour.

This reverts commit dcdcaf4b47.
2024-05-10 15:16:13 -06:00
384739aa80 Revert "fix for metering of a MasterSend (internal send)"
MasterSends are not (currently) part of Ardour.

This reverts commit de1a425704.
2024-05-10 15:15:32 -06:00