Commit Graph

17097 Commits

Author SHA1 Message Date
Paul Davis dde59c8e4c temporary fix for X Window and Windows bad canvas drawing with no single expose 2024-04-12 18:55:27 -06:00
Paul Davis 1eb2a345df prevent flickering of snapped cursor during drags when it should be invisible 2024-04-12 18:54:52 -06:00
Robin Gareus ab1299da87
We're behind the times 2024-04-13 00:54:52 +02:00
Robin Gareus 96e83f4101
Semicolon to the rescue 2024-04-11 23:42:13 +02:00
Robin Gareus b8c474ff32
Add support for splash screen image transparency 2024-04-11 19:42:14 +02:00
Robin Gareus a69ca86944
Fix inline controls allow for inverted range
Some controls (notably pan azimuth) have reversed range 1..0.
Support for this was added years ago in 647103c825
but inline controls were not updated.
2024-04-11 19:41:14 +02:00
Robin Gareus 4a0505979d
macOS provides z-axis stacking for Dialogs
see also d1b462c213 and Manager::set_transient_for.

This fixes a bug on macOS: detach Editor, re-attach Editor.
After that `own_window()` is true. Showing the LAN dialog
showed the editor's hidden Window as its parent.
2024-04-04 22:50:26 +02:00
Robin Gareus 02220783e1
Clarify that there are no archive file format options 2024-04-02 09:53:24 +02:00
Robin Gareus 41115f1282
Prevent double-click on the pianoroll to toggle track height 2024-03-27 03:25:36 +01:00
Paul Davis 4d5175e32e change default for use-cocoa-invalidation 2024-03-22 14:51:19 -06:00
Paul Davis d57ce0eba1 provide control over use-cocoa-invalidation 2024-03-22 13:13:16 -06:00
Robin Gareus bd4d6b4cba
Ellipsize inactive track-header name-label #9674 2024-03-21 17:44:33 +01:00
Robin Gareus 082297b932
Update UI for SurroundSendLevel control type 2024-03-21 14:24:11 +01:00
agfline 25397d7812
AAF: Update import UI 2024-03-19 20:59:10 +01:00
Paul Davis 0c4eada414 make editor canvas use multi-expose redraws
This is not required for any functionality or performance fixes, but may be useful
and also helps tracking redraw issues with other related changes
2024-03-18 10:48:38 -06:00
agfline 52cce5adc6 AAF: fix import of embedded files shared across regions
https://github.com/agfline/LibAAF/issues/5#issuecomment-1994155327
2024-03-14 12:47:21 +01:00
Robin Gareus f2d938914d
Fix loading session by relative path
Previously (since bc91ea3c4) that would create a new session
even if -N was not specified.

This also uses Glib API to test for absolute path, rather
than a custom hack.
2024-03-12 04:29:33 +01:00
Robin Gareus 2f61071974
Update Lua Action scripts from local file when possible 2024-03-12 04:24:58 +01:00
Robin Gareus 35017245d9
Fix typo 2024-03-12 00:31:32 +01:00
Robin Gareus b783e3eab1
Vapor: add additional export constraint 2024-03-11 20:52:53 +01:00
Ben Loftis e467e0c014 in the case of nudging (1) CP, locate the phead so we can see its position 2024-03-11 14:45:07 -05:00
Robin Gareus 46a8b547fa
Half-baked automation-point nudge
There are currently combined constraints when moving multiple
points like ContiguousControlPoints::move enforces, but otherwise
it works fine.
2024-03-11 19:18:27 +01:00
Ben Loftis f873f9f621 typos: "ADM/BWM" -> "ADM BWF" 2024-03-11 09:14:44 -05:00
agfline d03cdf86e1
Update AAF import UI 2024-03-10 22:11:58 +01:00
Ben Loftis 7ad5278bfd fix typos: ADM BWF 2024-03-08 11:22:33 -06:00
Robin Gareus 43c08dd2f5
Do not automatically bind ADM import script 2024-03-08 16:15:13 +01:00
Robin Gareus 8a8a1b9fb9
Vapor: export file timecode must be < 24h 2024-03-07 17:24:12 +01:00
Robin Gareus 13383b11a7
Set correct Timecode widget name 2024-03-07 14:29:50 +01:00
Robin Gareus bf7d4f895e
Fix jump to next/prev bar
Previously this only located to the prev/next bar if the
playhead was not already on a bar boundary
2024-03-04 20:25:41 +01:00
Robin Gareus ed98ff97b2
Fix adding new route in front (#9651)
When adding a new route using "Front", its presentation info
order is set to 1, after the master-bus which has PI order 0.
(see Session::ensure_route_presentation_info_gap).

Mixer_UI::add_stripables, looks up the insert iterator:
"after the route with order 0", but since the master bus is
not in mixer's track-model, the insert-iterator is left "at end".

A later call to `sync_presentation_info_from_treeview` then updated
the new track's order key to be at the end.
2024-03-02 14:55:58 +01:00
Robin Gareus 2c858deae4
Allow to stem-export Surround Master 2024-02-29 16:15:50 +01:00
jean-emmanuel 83f5d40280
grid/snap: disable broken septuplet option 2024-02-27 23:28:41 +01:00
jean-emmanuel af023cc516
snap: fix quintuplets and septuplets 2x factor
grid: fix quintuplets 2x factor (septuplets still don't draw properly)
2024-02-27 23:21:33 +01:00
jean-emmanuel f190493e32
grid: display grid lines for triplets/quintuplets/septuplets 2024-02-27 23:21:33 +01:00
jean-emmanuel 81bd75e7ae
ui: editor: add missing h-separator after last track header 2024-02-27 23:19:12 +01:00
Robin Gareus eb4af10745
Amend 5880e51e92, ADM script only works on Unix Systems 2024-02-27 00:30:03 +01:00
Robin Gareus 0ea0b656b8
Return Lua system-exec exit status 2024-02-27 00:23:49 +01:00
Robin Gareus 80098c6a86
Vapor: prevent export when there are more than 128 channels 2024-02-26 22:15:11 +01:00
Robin Gareus 5880e51e92
Add Icon to ADM/BWF script, and preseed it 2024-02-26 22:15:08 +01:00
Robin Gareus bff0f174da
NO-OP: fix typo in method name 2024-02-26 18:43:32 +01:00
Robin Gareus 6e12e71e8b
Show Progress when importing many channels/tracks
Track creation is a slow. Importing multi-channel files
to new tracks can take a significant amount of time.
This prevents the GUI from being marked as unresponsive and
shows progress.
2024-02-24 00:42:50 +01:00
Robin Gareus c6f8002561
Discard untitled sessions even when not quitting Ardour 2024-02-24 00:42:40 +01:00
Robin Gareus e94e7b6dc7
Vapor: keep session config and UI action in sync 2024-02-23 17:04:25 +01:00
Robin Gareus ff82e53b85
Revert "Sanitize the AAF's snapshot name (it'll get used later to create an OS folder)"
This reverts commit b935710b60.

legalize_for_universal_path() already santizes the path in a way that is
safe for all OS.

laaf_util_clean_filename() cannot be used with .c_str() because the
function modifies the char* passed to it.

This worked in some cases before C++11, and can work with non-const
 std::string::data starting at C++17, but C++11 spec is quite clear:

> The program shall not modify any of the values stored in the
> character array; otherwise, the behavior is undefined.
2024-02-21 13:38:39 +01:00
John Emmas b935710b60 Sanitize the AAF's snapshot name (it'll get used later to create an OS folder) 2024-02-21 11:47:04 +00:00
Paul Davis c35515e43d initialize variable
Without this, loading a session from the command line bypasses any initialization of session_loaded
and after the changes in 0a72c1317 that leads to incorrect startup
2024-02-20 11:17:00 -07:00
Robin Gareus 01489a629f
Amend b230c2eb2 use bundled libAAF
Revert once libAAF API is stable after libAAF 1.0
2024-02-20 19:12:15 +01:00
Robin Gareus 6d34500e8d
Also add "All file formats" to session open dialog 2024-02-19 16:42:17 +01:00
Robin Gareus cbbc456997
Fix copy/paste bug in in 35de41a419 2024-02-19 16:29:31 +01:00
Robin Gareus 35de41a419
Allow to easily pick any session type one can open 2024-02-19 16:01:11 +01:00