Commit graph

41818 commits

Author SHA1 Message Date
EZ4Stephen
cefbb6db32
Adjust fluidsynth cflags to compile with MSVC
Previously:
cl : Command line error D8021 : invalid numeric argument '/Wno-unused-function'

And after separating that:
cl : Command line warning D9002 : ignoring unknown option '-fvisibility=hidden'
cl : Command line warning D9002 : ignoring unknown option '-std=gnu99'
2025-12-13 16:05:09 +01:00
EZ4Stephen
98b9839e58
Replace DECLARE_DEFAULT_COMPARISONS 2025-12-13 16:05:05 +01:00
EZ4Stephen
783202d3ad
MSVC waf-build specific fixes
* Dodge ardourext/pthread.h when WAF_BUILD is defined
* add io.h for POSIX style read/close
* define timeval
2025-12-13 16:05:00 +01:00
EZ4Stephen
fb9be868f5
Add MSVC specific compiler flags to wscript 2025-12-13 16:01:03 +01:00
Paul Davis
de542e9d29 do not actually import newly-created SMF sources
TO-DO: ensure the empty sources are somehow removed
2025-12-11 18:20:17 -07:00
Paul Davis
ac83860032 SMF import: better handling of insane files
this really tries to do the right thing regarding meta-events we're interested in,
and channel events we're interested in, no matter how they are distributed across
different channels in the SMF.

it augments/extends the work started in 8a554f659c
2025-12-11 18:20:17 -07:00
Paul Davis
d61a4ba493 make it possible to do certain basic MIDI editing from a context menu in a pianoroll
Quantize, Legatize, Transform and Remove Overlaps (negative legatize) are all handy, and should be accessible
here. There may be other operations to add to this menu in the future
2025-12-11 18:20:17 -07:00
Paul Davis
78a59db334 tweak detection of correct MIDI patch change when removing the canvas item in a MidiView 2025-12-11 18:20:17 -07:00
Paul Davis
aca340b810 an initial fix for a crash occuring when deleting routes that lead to RouteGroup deletion
The RouteGroup containing the deleted routes emits the RouteRemoved signal; Session handles this
and if the RouteGroup is now empty, deletes the RouteGroup *while in the middle of the signal
emission process*. This deletes the Signal (since it was owned by the RouteGroup) which leads
to a crash inside the signal emission code, since that is now running "on" a deleted Signal
object.

This change simply makes that signal static, and so deleting the RouteGroup has no effect
on the Signal itself.

More changes to come related to better (shared_ptr<RouteGroup>) mgmt of RouteGroup lifetimes.
2025-12-11 18:20:17 -07:00
Paul Davis
e664fa5e63 Revert "avoid double-free of MIDI sys ex and patch change canvas items"
This reverts commit 0ddc050555.

It is not clear what this commit was really trying to do - when canvas items
are deleted they are removed from their parent, so just *not* deleting them
should not by itself fix an issue.

It turns out that not deleting the canvas item means that it remains in the
canvas scene graph to deliver events to, at which time it references its
now-deleted owner object, leading to a crash.

We need to keep an eye open for crashes resembling the double-free that this
reverted commit claimed to fix.
2025-12-11 18:20:17 -07:00
Paul Davis
856aad62da SMF import: attempt to find tempo-related metadata in any track 2025-12-11 18:20:17 -07:00
Robin Gareus
e84a3200ec
Use Shift+F to toggle Foldback visibility in the mixer 2025-12-11 22:42:13 +01:00
Robin Gareus
be93b1ee29
Sort strip at export, retain current order on import 2025-12-11 22:09:46 +01:00
Robin Gareus
f0a52eccc0
Fix MIDI audition 2025-12-11 06:08:29 +01:00
Robin Gareus
fca4083e12
Fix YASNAFU (amend fa319ffda2), midi audition/playback
The condition is NO playlist pending. This fixes MIDI audition
and perhaps a few other MIDI playback edge-cases.
2025-12-11 05:11:29 +01:00
Robin Gareus
634e97b1fd
Don't package xjadeo/harvid/ffmpeg with VBM 2025-12-11 03:28:47 +01:00
Robin Gareus
83cc97e101
Fix compilation w/o VST3_SUPPORT, remove redudant headers 2025-12-11 00:32:23 +01:00
Robin Gareus
a30a161288
VST3: directly use bundle-path on macOS
This fixes an issue with Info.plist indirection.
2025-12-10 22:53:12 +01:00
Robin Gareus
ecabfbec5a
Remove outdated mix-tools scripts (superseded by native feature) 2025-12-10 02:38:38 +01:00
Robin Gareus
ca04a320c4
Add curl trace support 2025-12-09 23:15:30 +01:00
Robin Gareus
b11ef7fee4
Fix curl 421 errors when disabling verify peer
```
== Info: WARNING: disabling hostname validation also disables SNI.
```
which leads to a "431 Misdirected Request" reply for servers
with shared hosting.
2025-12-09 23:05:29 +01:00
Robin Gareus
8a9f72ad88
Add support for strip-states to template manager 2025-12-09 20:53:01 +01:00
Robin Gareus
3c3712933c
Allow to replace/overwrite Route State (2/2) 2025-12-09 00:31:33 +01:00
Robin Gareus
bdaf96e3b6
Allow to replace/overwrite Route State (1/2) 2025-12-09 00:31:12 +01:00
Robin Gareus
4207b67b73
Clean template dir before overwriting existing template 2025-12-08 22:45:59 +01:00
Robin Gareus
d5464b39db
VST3: handle edge-case when user removes optional aux ports 2025-12-07 19:10:13 +01:00
Robin Gareus
8e051bb488
Fix strip state import and preset load for VST3 plugins 2025-12-07 19:00:27 +01:00
Robin Gareus
b9154359a3
I/O Plugin: only activate plugin after setting state
This fixes an issue with some VST3 plugins (notably NDI).
2025-12-06 18:07:59 +01:00
Robin Gareus
df1d1644b8
Show message when library manifest cannot be downloaded 2025-12-06 15:55:24 +01:00
Robin Gareus
605de3eef4
VST3: fix bus configuration/connections
This handles the case where only part of a bus' ports are
connected. This can happen when a given speaker configuration
is not directly accepted, and the plugin provides more I/O than
requested.
2025-12-05 23:11:20 +01:00
Robin Gareus
8943e28931
VST3: add debug message and code cleanup 2025-12-05 23:06:02 +01:00
Robin Gareus
f8d4197ce7
Add some missing more tooltips 2025-12-05 17:33:13 +01:00
Robin Gareus
728558e51c
Use compiler provided PTW_VERSION define for compatibility 2025-12-05 16:00:09 +01:00
Robin Gareus
b938daca95
Yet another unistd.h special case for 2025-12-05 14:46:05 +01:00
Robin Gareus
0f3760a8d1
Amend be445a8079, add missing symbol 2025-12-05 00:09:28 +01:00
Robin Gareus
a04e56f3a8 Fix builds with clang
chan_count.h:216:29: note: 'operator<<' should be declared prior to the call site or in namespace 'ARDOUR'
2025-12-04 23:55:37 +01:00
Robin Gareus
31ac7db2ed
Allow to reconfigure VST3 I/O pins 2025-12-04 23:39:54 +01:00
Robin Gareus
be445a8079
VST3: set VSTSpeakerArrangements to match track
This fixes some plugins that require a valid Bus/SpeakerArrangement
setting to set the available per bus I/O channel-count.
(e.g. Altiverb). Most other VST3s initially announce all
available channels.

TODO: check that this does not break plugins with optional
busses (sidechain in, multi-out instruments)
2025-12-04 23:39:54 +01:00
Aleksandr Prokudin
1190dd3a3e Add Juan Vardy to the list of Spanish translators 2025-12-04 23:23:49 +01:00
Robin Gareus
f8212aec53
Fix pesky follow-playhead button tooltip
ArdourButton uses the tooltip from the related action (if any).
2025-12-04 01:26:31 +01:00
John Emmas
8ca808346a Partially revert commit #d0109bed16 (it shouldn't have been affecting MacOS builds???) 2025-12-03 10:24:59 +00:00
Paul Davis
dddaffe3ac plugin selector: if neither name nor tag buttons are enabled, include creator in search fields 2025-12-02 17:45:14 -07:00
Robin Gareus
c08531f96e
Fix macOS builds (missing header)
implicit instantiation of undefined template 'std::array<..>'
2025-12-02 16:54:05 +01:00
Robin Gareus
d0109bed16
Move unistd.h detection to the correct wscript
This fixes macOS builds (getpid())
2025-12-02 16:38:42 +01:00
Robin Gareus
6ce8358709
Remove yet another irrelevant unistd.h 2025-12-02 14:00:59 +01:00
Robin Gareus
39370aff7b
Fix crash when selecting multiple regions
see also 7a5591121b, action was renamed.
2025-12-02 13:58:15 +01:00
Paul Davis
7a5591121b rationalize region "show properties" and "edit in separate window" menu items 2025-12-01 20:48:35 -07:00
Paul Davis
fd0e9e840e when opening a pianoroll for a new empty region, take the note mode from the track 2025-12-01 18:10:19 -07:00
Paul Davis
38368f4dd9 save and restore pianoroll note mode on a per-region basis 2025-12-01 18:10:19 -07:00
Paul Davis
54958f1e94 remove debug output 2025-12-01 18:10:19 -07:00