13
0
Commit Graph

39697 Commits

Author SHA1 Message Date
84868b42df Merge branch 'ardour' 2024-07-22 15:38:36 -06:00
607301ad5b LT: remove many elements from import dialog that are not appropriate for livetrax 2024-07-22 15:37:07 -06:00
181ba4db54 ytk: do not show filter combo box in filechooser if there is only 1 filter 2024-07-22 15:36:45 -06:00
bb8f6a3d66
Remove debug output 2024-07-22 20:28:45 +02:00
7567884111
Fix LV2 Atom sequence alignment #9750 2024-07-20 21:42:18 +02:00
8c583f8e20
Use 64bit alignment for LV2 event buffer #9748 2024-07-20 17:37:47 +02:00
cb5b955a74
Use C++ for LV2 event buffer
This will allow to throw fatal exceptions when malloc fails.
2024-07-20 17:37:09 +02:00
5b64fd6913
Merge branch 'ardour' 2024-07-20 14:47:18 +02:00
0bf42af59d Collect ctrl surface ports into single bundle
This prevents a crash on Windows (and optimized mac builds) in
~PortGroup() when a ctrl surface is disabled. Despite the bundle being a
shared_ptr, unloading the ctrl surface module (.dll, dylib), destroys
the shared_ptr<> (or rather the memory are where the shared_ptr is
stored). This later causes a segfault in ~shared_ptr<Bundle>
when the PortGroup is released.

It is also much nicer to have all the ctrl surface grouped into a common
Bundle, rather than having a lot of bundles each with a single unnamed
port.
2024-07-18 18:39:34 +02:00
2cdfdc9212 Prevent minimizing Dialog Windows on macOS
This works around an issue with some embedded plugin windows not being
properly restored when the window is restored after being minimized. It
also prevents zooming (full-screen) display of dialog windows.

Also recent macOS allows to maximize Windows even if they are not
supposed to be resizable (also causing issues with some plugins).
2024-07-18 17:57:52 +02:00
7c311761c2 Update Russian translation 2024-07-17 22:15:20 +02:00
f2ceaecc4d
Fix Lua script to use new API from 0a01acc86a 2024-07-17 18:38:04 +02:00
cd3c65fbda
The return of the tempo-map cut/copy section warning
see also 964600b9bd.
2024-07-17 17:58:25 +02:00
0d160926c7
Merge branch 'ardour' 2024-07-17 17:47:19 +02:00
e175410f54 midi surfaces fixes (partially for PR #898)
1. do more to ensure that we do not call MidiSurface::begin_using_device()
multiple times without ::stop_using_device() in between. This reduces the risk
of duplicate signal handler connections being made (it might even eliminate it).

2. Notify all control surfaces when MIDI connectivity is established AND
disestablished. This gives them a chance to update their notion of their
current connection state. This can be important with JACK across zombification,
but also likely across backend stop&start.

These changes currntly only impact classes derived from MidiSurface but
something equivalent is required for all control surfaces
2024-07-16 11:12:41 -06:00
43893ddc97 fix a likely logic error in GtkMenu handling of enter events
On macOS popping up a menu with a position function that leads the menu to be
under the mouse pointer generates the same initial set of enter events as on
linux, but this is then followed  by some leave events and then a repeat of the
same set of enter events.

this exposes what appears to be a logic error in gtk_menu_enter_notify().

Nonlinear enter events (i.e. where the menu pops up under the mouse, so the
mouse was never actually moved into the menu's window) should not cause a reset
of priv->seen_item_enter. This value, when true, is used to force the next
received button release event to be handle as an menu activation event. This
should only happen when the mouse has actually been moved by the user into the
menu (as already indicated in existing comments). The value has this effect by,
on the next enter event for a menu item, if already set, forcing
menu->activate_time to zero, which in turn will cause menu activation on button
up/release.

This bug doesn't appear on Linux (or Windows) because the event sequence
associated with a menu popup is different. The lack of another set of enter
events means that menu->activate_time is never reset, and so the behavior is as
expected.

This change makes the setting of priv->seen_item_enter be idempotent with
respect to non-linear enter events, which I believe is the intended behavior.
2024-07-16 08:29:16 -06:00
cd1aabc429 Hide region peak cursor when mouse leaves regions or canvas
Previously the cursor remained visible when moving the mouse
out of the canvas area.
2024-07-16 08:29:16 -06:00
1310d8f59d Exclude monitor gain from mixer scenes 2024-07-16 08:29:16 -06:00
88ce2980c5
T: fix bundling livetrax keys file 2024-07-15 23:15:08 +02:00
f8f6c89136 fix a likely logic error in GtkMenu handling of enter events
On macOS popping up a menu with a position function that leads the menu to be
under the mouse pointer generates the same initial set of enter events as on
linux, but this is then followed  by some leave events and then a repeat of the
same set of enter events.

this exposes what appears to be a logic error in gtk_menu_enter_notify().

Nonlinear enter events (i.e. where the menu pops up under the mouse, so the
mouse was never actually moved into the menu's window) should not cause a reset
of priv->seen_item_enter. This value, when true, is used to force the next
received button release event to be handle as an menu activation event. This
should only happen when the mouse has actually been moved by the user into the
menu (as already indicated in existing comments). The value has this effect by,
on the next enter event for a menu item, if already set, forcing
menu->activate_time to zero, which in turn will cause menu activation on button
up/release.

This bug doesn't appear on Linux (or Windows) because the event sequence
associated with a menu popup is different. The lack of another set of enter
events means that menu->activate_time is never reset, and so the behavior is as
expected.

This change makes the setting of priv->seen_item_enter be idempotent with
respect to non-linear enter events, which I believe is the intended behavior.
2024-07-15 11:09:59 -06:00
bd5e85780a
Hide region peak cursor when mouse leaves regions or canvas
Previously the cursor remained visible when moving the mouse
out of the canvas area.
2024-07-15 15:34:26 +02:00
b50477e608
Exclude monitor gain from mixer scenes 2024-07-15 00:43:51 +02:00
5327222c81
Merge branch 'ardour' 2024-07-13 21:04:32 +02:00
0ea7e80aa6
Implement paste to region gain/fx automation 2024-07-12 18:26:25 +02:00
eab48ab763 fix error in manual rebase corrections 2024-07-11 19:23:34 -06:00
affe282b79 fix error in manual merge correction 2024-07-11 19:21:43 -06:00
a7a7a55cce ifdef out modified-with check (intended for livetrax) 2024-07-11 19:21:39 -06:00
8d14dbbe0c remove unused local variable 2024-07-11 19:20:56 -06:00
6650850db0 show a dedicated message dialog for WrongProgram exceptions 2024-07-11 19:20:56 -06:00
611d9e41ac throw WrongProgram exception if session was modified with incompatible app 2024-07-11 19:20:45 -06:00
3083f8f1b2 make "modified-with" a session member 2024-07-11 19:19:51 -06:00
5777f70694 Add guard points when drawing freehand automation 2024-07-11 19:18:59 -06:00
cfdba3e515 Fix guard point logic for editor_add_ordered API.
Previously the code was too simple and potentially added points out of
order, leading to automation jumping back in time.
2024-07-11 19:18:59 -06:00
cooltehno
ac5e59e94d Create captain_light-ardour.colors
Hello Paul, Robin! Maybe you will be interested in new "Captain Light" theme! :)
https://vimeo.com/977749209
2024-07-11 19:18:59 -06:00
Edgar Aichinger
82e5ee390e update german translation 2024-07-11 19:18:59 -06:00
5401f2c3eb ifdef out modified-with check (intended for livetrax) 2024-07-11 19:10:14 -06:00
eeccb813bb remove unused local variable 2024-07-11 19:10:14 -06:00
68ebcc36a9 show a dedicated message dialog for WrongProgram exceptions 2024-07-11 19:10:14 -06:00
54f810f90e throw WrongProgram exception if session was modified with incompatible app 2024-07-11 19:10:14 -06:00
4212e23e77 make "modified-with" a session member 2024-07-11 19:10:13 -06:00
9b1a56febf Add guard points when drawing freehand automation 2024-07-12 00:48:14 +02:00
5a647cd84a Fix guard point logic for editor_add_ordered API.
Previously the code was too simple and potentially added points out of
order, leading to automation jumping back in time.
2024-07-12 00:45:37 +02:00
cooltehno
a1d317be98
Create captain_light-ardour.colors
Hello Paul, Robin! Maybe you will be interested in new "Captain Light" theme! :)
https://vimeo.com/977749209
2024-07-11 23:09:32 +02:00
Edgar Aichinger
0f654ebde4
update german translation 2024-07-11 23:04:34 +02:00
b2c2163a87 L: enable autosave for LiveTrax 2024-07-11 15:40:56 -05:00
b404a91097 revise rules for PortGroupList::gather() to put master outs on their own tab 2024-07-11 11:53:05 -06:00
2618025795
Merge branch 'ardour' 2024-07-11 19:24:19 +02:00
fa6fbbf810
Fix ctrl surface shutdown sequence
Tear down GUI before stopping event loop, this fixes
a crash on windows (and perhaps a rare crash on other OS).
2024-07-11 19:19:21 +02:00
676b372ac5
FP8: tear down GUI before terminating event loop
This fixes an issue on Windows, where UI::run can dispatch
a signal that ends up via cross-thread channel at the surfaces'
BaseUI::request_handler. causing a segfault.
2024-07-11 18:10:39 +02:00
dfec455d22 better rules for hiding track outputs in port matrix 2024-07-10 14:49:40 -06:00