Paul Davis
969dcaa8a6
update all location markers during tempo/meter drags
2023-10-02 16:52:34 -06:00
Paul Davis
dd8f5c477f
remove debug output
2023-10-02 16:52:34 -06:00
Ben Loftis
4d8a0b3535
add a descriptive tooltip to the Timebase selector (needs translations)
2023-10-02 16:02:06 -05:00
Ben Loftis
f53ff625d1
commit to BeatTime as the most likely desired session timebase
2023-10-02 14:48:44 -05:00
Paul Davis
e7ced9b855
mergeable line: check callbacks are non-null before calling them
2023-10-02 13:23:52 -06:00
Paul Davis
764ed125a4
region gain line freehand draw: ensure drawn line is above waveform
2023-10-02 12:04:57 -06:00
Alexandre Prokoudine
cda1f12845
Update Russian translation
2023-10-02 11:00:05 +02:00
Robin Gareus
a1fc671a23
Tweak marker rename dialog title
2023-10-02 03:45:21 +02:00
Robin Gareus
dfd44c2ebf
Fix 3-point edit undo/redo #9464
...
Playlist::split can result in removal of a region
(adding two others instead). In this case the state
of the removed region (if modified) is not saved.
2023-10-02 03:13:31 +02:00
Robin Gareus
afa295d4af
Unset playlist's TimeDomain Parent when deleting Track
...
This fixes a heap-use-after-free, when deleting a Track
and then doing a 3-point edit which iterates over all
playlists.
2023-10-02 01:57:07 +02:00
Paul Davis
1455619e7d
revert change in 4bed642d71
that made build_session_from_dialog() do nothing at all
2023-10-01 15:06:29 -06:00
Paul Davis
f6d60abda8
remove debug output
2023-10-01 13:26:53 -06:00
Ben Loftis
0709c20adb
add a note why preffered-time-domain is NOT editable from rc_option_editor
2023-10-01 14:01:11 -05:00
Ben Loftis
2f4838db68
if user changes session:property:time-domain, switch the rulers
...
* if the user has explicitly made any ruler settings, they will be found
and this will not take effect
2023-10-01 13:59:30 -05:00
Ben Loftis
df479bf8cd
pre-load the session timebase selector with the user pref
2023-10-01 13:58:45 -05:00
Ben Loftis
6c68817b26
add a user config var for preferred time domain (libardour part)
...
(as opposed to default_time_domain which is the per-session default)
2023-10-01 13:57:28 -05:00
Paul Davis
460b9a24ff
add missing file
2023-09-30 12:22:54 -06:00
Paul Davis
18819a48a9
region gain and MIDI CC freehand line drawing
...
This involved a significant change in event handling for automation region views,
but it brings it into line with how it works for other things. On button press
we initiate a drag, then if no motion occurs, the Drag returns false during
finalization, and only then do we continue through Editor::button_release_handler()
to eventually end up in ::add_automation_event().
Although it is a substantial change, the fact that it now works the same
way for audio regions, automation regions and automation tracks seems
like a definite plus.
2023-09-30 11:09:58 -06:00
Paul Davis
6b64ebdb27
NOOP: do not wrap lines for small screens
2023-09-30 11:09:58 -06:00
Paul Davis
b2bb8e9bac
move (empty) Drag destructor into source file and add DEBUG_TRACE
2023-09-30 11:09:58 -06:00
Paul Davis
cd99fed7cd
canvas: add PolyItem::clear()
2023-09-30 11:09:58 -06:00
Paul Davis
ff021b83d3
libardour: add Region::absolute_time_to_source_time()
2023-09-30 11:09:58 -06:00
Paul Davis
b89dd73324
NOOP: no need for virtual keyword here
2023-09-30 11:09:58 -06:00
Paul Davis
944fcf251d
initial refactoring of freehand line drawing
...
This sets the state to use it with MIDI CC and region gain.
class names LineMerger and MergeableLine need revisiting
2023-09-30 11:09:58 -06:00
Paul Davis
2b2112e303
NO-OP: fix line/whitespace
2023-09-30 11:09:58 -06:00
Ben Loftis
8681d46fbc
fix the case where the grid-tool stopped working when you vertically scroll the canvas
...
there is no need to calculate the size of the grid_zone, just make it "huge"
2023-09-30 07:41:49 -05:00
Paul Davis
f504eba0fe
velocity regions should never be opaque, even when the region is selected
2023-09-29 08:49:40 -06:00
Paul Davis
c72a94250c
update to aca5d7d988
to fix lollipop position
...
As noted in the commit message for that earlier commit, the radius
adjustment should not be required
2023-09-29 08:45:14 -06:00
Paul Davis
243f40e10d
fix unset-looping-because-monitoring-input ( #9458 )
2023-09-28 16:52:35 -06:00
Ben Loftis
3af055e0c0
tempo-marker start bpm text was not being updated during+after a mouse drag
2023-09-28 09:09:37 -05:00
Krzysztof Gajdemski
3a6a70c240
Update Polish translation
2023-09-28 01:20:46 +02:00
Robin Gareus
bed041cf96
Set DnD time's time-domain
...
Drag::_raw_grab_time is set to the correct time-domain. However
during ::motion() and other operations the adjusted time was
always AudioTime.
Most notably this caused editor->selection->time to have
different time-domains for start and end.
2023-09-28 00:41:17 +02:00
Robin Gareus
c4f6385d22
Fix playlist partitioning when mixing time domains
2023-09-27 22:15:25 +02:00
Ben Loftis
9651a2c2e2
region groups: more fixes for Duplicate operations
2023-09-27 11:06:40 -05:00
Ben Loftis
72761734e8
region groups: more fixes for drag-copy and range-paste operations
2023-09-27 11:06:40 -05:00
Robin Gareus
40a9ba746e
Freeze plugin cache version
...
This allows to copy existing VST2/3 cache files to
a new major version
2023-09-27 17:28:20 +02:00
John Emmas
ea8742b030
#include <sys/utime.h> when building with MSVC
2023-09-27 09:36:26 +01:00
Robin Gareus
0be8456d0d
Add support for MacOS 14 (Sonoma)
2023-09-27 04:15:41 +02:00
Robin Gareus
947e6c7815
I/O Plugins: fix a heap-use-after-free
...
I/O plugin Controls are destroyed with ~IOPlug, however
Session::destroy()'s call to drop_references() still
triggers AutomationControl::session_going_away() on the
binding proxy.
This is even properly documented in session_object.h:
> A named object associated with a Session. Objects derived
> from this class are expected to be destroyed before the
> session calls drop_references().
2023-09-27 02:22:22 +02:00
Robin Gareus
e79ca8f9ba
Copy plugin cache with old config
2023-09-27 02:22:22 +02:00
Robin Gareus
6494214622
Add option to prefer file timestamps with recursive copy
2023-09-27 02:22:22 +02:00
Robin Gareus
7f453cab9e
Allow to query cache-dir by major version
...
Luckily "cachename" parameter was unused, so this API
can be changed.
2023-09-27 02:22:22 +02:00
Alexandre Prokoudine
73991c4190
Clean up the Korean translation from dupes
2023-09-26 21:41:57 +02:00
Paul Davis
3166ca7ffd
only UI scale the scroomer itself, not the kbd header
2023-09-26 11:33:48 -06:00
Robin Gareus
201b9574a2
In Draw mode, do not allow to grab lines.
...
see also 3cf1227421
and c578695a64
2023-09-26 17:03:09 +02:00
Alexandre Prokoudine
1f937fa0b1
Update Russian translation, Part 3
2023-09-26 14:07:03 +02:00
Robin Gareus
611452df35
Retain Change Dialog settings when MIDNAM model changes
2023-09-26 05:32:57 +02:00
Robin Gareus
245aac887b
Fix saving patch-change channel undo/redo commands
2023-09-26 05:32:57 +02:00
Robin Gareus
3c5ea74aca
Fix patch-change dialog channel switch
...
* Correctly show initial patch when switching channels
prefer plugin's information, if available
* Retain channel and bank when MIDNAM is updated
2023-09-26 05:32:57 +02:00
Paul Davis
70c3142c2c
small visual and peformance tweaks for midistreamview bg draw
2023-09-25 20:03:04 -06:00