Commit Graph

39030 Commits

Author SHA1 Message Date
Robin Gareus 572a8b9cf8
Use G_ENABLE_DEBUG with default debug builds 2024-02-24 04:17:47 +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 61c6d2bfa1
Vapor: add channel/object-ID map 2024-02-24 00:42:47 +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 45a7719ede
Vapor: simply ADM meta-data passing, pass reference file 2024-02-23 17:03:41 +01:00
Robin Gareus 22fef5ab2b
Vapor/LV2: API to pass options to exporter 2024-02-23 15:51:47 +01:00
Robin Gareus 0fa8c5add4
Update ydk-pixbuf, backport upstream changes to io-xpm #9642
Bastien Nocera <hadess@hadess.net>
  io-xpm: Fix "format not a string literal" errors
  xpm: Sanity check XPM file dimensions
  xpm: Simplify error path
  xpm: Fail when XPM file doesn't contain enough data

Philip Withnall <withnall@endlessm.com>
  io-xpm: Handle fseek() failure

Federico Mena Quintero <federico@gnome.org>
  Use gdk_pixbuf_get_pixels(); don't access the pixels field directly

Tobias Stoeckmann <tobias@stoeckmann.org>
  XPM: Fix undefined behaviour (signed integer overflow)
2024-02-23 01:29:16 +01:00
Robin Gareus 64e42a465b
YTK is not interested in system-wide GTK Modules 2024-02-23 00:33:17 +01:00
Robin Gareus 85e361044b
Add option to enable G/YTK debug 2024-02-22 23:54:28 +01:00
Robin Gareus d7b7923232
Add Lua script to import ADM test files 2024-02-22 01:55:11 +01:00
Robin Gareus 3f7c98e2db
Vapor: add API used to set ADM meta-data 2024-02-22 01:55:05 +01:00
Robin Gareus 7dc1fbab5a
Add Lua API to conveniently set automation data 2024-02-21 19:38:51 +01:00
Robin Gareus 8b0b316565
Update unversal legal path rule for windows 2024-02-21 13:51:40 +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
Biswapriyo Nath 7e7d22e7d2
ytk: Fix function pointer casting compiler error with clang
This fixes the following compiler error.

../libs/tk/ytk/gtkscale.c:1474:50: error: incompatible function pointer types passing
'GCompareFunc' (aka 'int (*)(const void *, const void *)') to parameter of type
'GCompareDataFunc' (aka 'int (*)(const void *, const void *, void *)') [-Wincompatible-function-pointer-types]
    (GCompareFunc) compare_marks,
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gslist.h:76:26: note: passing argument to parameter 'func' here
    GCompareDataFunc  func,
    ^
2024-02-21 13:30:23 +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
Robin Gareus 3efaf60de1
Vapor: fix automation evaluation 2024-02-21 02:49:58 +01: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
David Runge f331ce7252
Add missing include for iostream, needed for taglib >= 2
Signed-off-by: David Runge <dave@sleepmap.de>
2024-02-20 16:38:37 +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
Paul Davis 15eae21c37 fix failure to record MIDI notes that are already on when capture starts 2024-02-18 19:31:19 -07:00
Robin Gareus 8aedbc6d0c
Backport debian spelling patch 2024-02-18 20:50:18 +01:00
Robin Gareus 0e6e56d420
Backport debian's fix-armel patch
Running Ardour on 32 bit ARM without hardware floating point
unit may be considered civil disobedience. But we understand that
it is incumbent on the young to disobey :)
2024-02-18 20:47:51 +01:00
Robin Gareus b230c2eb28
Build against local libAAF (0.6.0 is not yet released)
Revert once libAAF API is stable after libAAF 1.0
2024-02-18 20:38:33 +01:00
Robin Gareus 7150898eec
Some new codenames 2024-02-18 19:04:24 +01:00
Robin Gareus d423810784
Update CC defaults to be more in line with MIDI specs (#9634)
Note: parts of this commit accidentally made it in the previous
one (9386847cc9)
2024-02-18 18:44:32 +01:00
Robin Gareus 9386847cc9
Fix ACE Compressor inplace processing #9636 2024-02-18 18:19:35 +01:00
Robin Gareus 1117f8d6cc
Always built at least the dummy backend
It is required by AAF import, various session-utils, unit-tests,
and it is generally useful for testing.
2024-02-18 16:43:10 +01:00
Robin Gareus 5d2a25827e
Show Editor-Mixer by default 2024-02-18 16:43:09 +01:00
Bill Smith 0e88df426e Adding midnam for Yamaha SY85 Synth Factory Banks 2024-02-17 19:04:33 +01:00
Robin Gareus 0bd1a10709
Allow Ardour to run in recent gdb, amend a44124937e 2024-02-17 15:46:09 +01:00
Paul Davis f7341b374e don't use dashes within comments in XML
It's legal but provokes a warning from some versions of libXML
2024-02-17 07:27:05 -07:00
Robin Gareus b6cfd4164b
Expose Lua bindings to Ardour's CoreSelection 2024-02-17 15:02:25 +01:00
Robin Gareus 00c76e785c
Add Lua binding to query current editor-mixer route
https://discourse.ardour.org/t/lua-editor-mixer-strip/109886
2024-02-17 15:01:58 +01:00
Robin Gareus 35686baa2b
Potential fix for taglib v2.0 crashes when exporting wav
Note that taglib's documentation states that ID3v2Tag()
always returns a valid pointer regardless of whether or not
the file on disk has an ID3v2 tag.
2024-02-17 00:50:54 +01:00
Robin Gareus f5789852de
Fix sensitivity of macOS global menu at application start
Various actions are set as insensitive during editor c'tor.
When the macOS global menu is created those were marker as
sensitive, while GTK's internal state (private_data->sensitive)
was set to false. This lead to to inconsistencies.
2024-02-16 16:20:02 +01:00
Robin Gareus 20d813cd17
Enable SurroundSend Mute point when loading old sessions 2024-02-16 00:04:23 +01:00
jean-emmanuel d79a852207
no-op: clean 2024-02-15 14:58:57 +01:00
jean-emmanuel c28080d44c
ui: mixer: remove duplicate handler that causes a bug where the "Add Track" dialog pops up upon double clickin anywhere on a vca strip 2024-02-15 14:58:54 +01:00
jean-emmanuel ba279e2e67
ui: mixer: the formely broken rename dialog on vertical button's double click may actually become an unexpected annoyance, better disable it 2024-02-15 14:58:52 +01:00
jean-emmanuel 8a4f852ff2
ui: mixer: same as 313b0b2ddd but with label button 2024-02-15 14:58:46 +01:00
jean-emmanuel 313b0b2ddd
ui: mixer: clear strip selection when clicking on foldback bus number label, otherwise changing the bus' color will also affect whatever strip is currently selected (this is a more general issue however and should probabaly be addressed globally) 2024-02-15 14:56:22 +01:00
jean-emmanuel ef160dd24e
mixer: ui: consistent interaction with foldback bus number label (context menu on press instead of release) 2024-02-15 14:56:21 +01:00
jean-emmanuel 33a9664748
ui: mixer: vca: consistent interaction with number_label button (context menu on press instead of release, add missing color edit on double click) 2024-02-15 14:56:21 +01:00
jean-emmanuel 2f29483ac2
ui: mixer: vca: bring vertical button context menu on button press instead of release (like everywhere else), this also fixe renaming on double click 2024-02-15 14:56:21 +01:00
jean-emmanuel 097bdc13f9
ui: mixer: fix vca buttons not visually releasing (inner stroke not cleared upon mouse release) 2024-02-15 14:56:21 +01:00