Commit Graph

13014 Commits

Author SHA1 Message Date
Ben Loftis
ed5ec7cb3f Tweak the tooltip for PDC button 2020-01-13 17:12:55 -06:00
Robin Gareus
8112d6472e Drop references held by any GUI Lua script after execution 2020-01-13 20:25:00 +01:00
Robin Gareus
fa2c935581 Fix re-packing of toolbar meter
This fixes a gtk-warning when loading a session from a
running instance:
IA__gtk_table_attach: assertion 'child->parent == NULL' failed"
2020-01-13 20:17:58 +01:00
Ben Loftis
868d752b4f Processor list should use the same bg color as other lists 2020-01-12 18:13:57 -06:00
Ben Loftis
6d62352673 Add missing theme elements, and fix some thinkos 2020-01-12 18:13:52 -06:00
Ben Loftis
30553a2675 Apply some missing widget names 2020-01-12 18:13:47 -06:00
Robin Gareus
66e24f3333 Fix preference pane to access for external-sync 2020-01-12 18:05:16 +01:00
Robin Gareus
6487d6c62b Fix external timecode GUI display
Only show mis/matching TC if FPS has been detected and
timecode master is locked.
2020-01-12 18:04:12 +01:00
Paul Davis
03c4335c1e fix drawing of zero-length notes
Note that the result is too narrow to be manipulated, though it can be moved
2020-01-11 10:57:21 -07:00
Paul Davis
929bd7c8ac use Note::end_time() == numeric_limits<Beats>::max() as the indicator that a note is in-process w.r.t. recording
We used to use length() == 0, but this clashes with actual zero-length notes
2020-01-11 10:57:21 -07:00
Carl Hetherington
1f14a9d9a5 Scale the port matrix with the GUI/font-scaling setting. 2020-01-11 01:17:42 +01:00
Robin Gareus
a883afbd64 Clarify insert-time option 2020-01-10 18:59:09 +01:00
Robin Gareus
abc6f24d10 Stop engine for new session creation
This restores Ardour5 behavior and works around a missing "OK"
button in the engine-dialog.
2020-01-10 18:11:42 +01:00
Robin Gareus
afe52fbff5 Special case JACK, sample-rate cannot be changed for new sessions 2020-01-10 02:14:30 +01:00
Robin Gareus
242774eada Allow to configure sample-rate of new sessions
When creating a session from the Editor (after Session > Close,
or directly via Session > New) the engine-dialog needs to be displayed
to allow configuring the sample-rate.

This also consolidates scripted session setup: meta_session_setup()
is now called from build_session(), instead of all callers.
2020-01-09 23:53:07 +01:00
Robin Gareus
0771717dd5 Remove unused variable 2020-01-09 18:21:48 +01:00
Paul Davis
2ae327fa8f prevent MIDI note starts being drawn earlier than their region start 2020-01-08 10:22:08 -07:00
Robin Gareus
c59c46a70a Mini-timeline, use explicit cairo-group to consolidate rendering 2020-01-08 04:24:51 +01:00
Robin Gareus
c6493aa81b Fix samples_as_time_string formatting 2020-01-08 00:41:08 +01:00
Robin Gareus
f15297e24c Amend 8a5cbb8: fix variable-names and comments 2020-01-07 01:14:42 +01:00
Nikolaus Gullotta
8a5cbb8510 Reenable the correct sort column and type when redisplaying regions 2020-01-06 16:08:55 -06:00
Robin Gareus
7570b9a594 Add Lua bindings for UIConfiguration variables 2020-01-06 01:30:19 +01:00
Robin Gareus
dba7421153 Allow public access to the editor-mixer-strip
This is currently used by Mixbus to sync visibility of switches on
the editor-mixer-strip with the main mixer.
2020-01-05 19:22:55 +01:00
Robin Gareus
dce09c6136 Pixel-pushing: editor-meter size and alignment
Previously the "reset peaks" button expanded to incredible height
when the GUI was scaled. Now the meter fills available space instead.
2020-01-04 23:36:17 +01:00
Robin Gareus
96316cb6b2 Unconditionally save instant.xml on session-close
This forces saving session-specific GUI settings (Playhead
position, zoom/scroll with stationary PH, window and pane
positions, etc.

While many GUI operations immediately cause an instant.xml
save, changing the playhead-pos in particular does not, nor
mark the session as modified.

This fixes an issue:
 1. open session
 2. move playhead
 3. close session
 4. re-open session, expect playhead at position from (2)
2020-01-02 19:08:26 +01:00
Robin Gareus
c07e13b7ac Fix crash when X11 is not available for VST UIs
This should not happen -- VST gui_event_loop is only
started if LXVST_XDisplay is not NULL.
However the eventloop itself checks if LXVST_XDisplay is set,
so this might happen with headless builds that still have
access to a display, or due to some async event.
2020-01-01 21:56:12 +01:00
Robin Gareus
f427e38c31 Bump (C) year: the year of Ardour 2020-01-01 13:47:22 +01:00
Paul Davis
b8460441fb restore early-return from fixup_bundle_environment() on macOS if not running from a bundle
Mistakenly removed while getting stdout/stderr logging to work
2019-12-30 10:36:04 -07:00
Robin Gareus
2f167e6163 Fix formatting samplecnt_t (aka int64_t aka long long int) 2019-12-30 16:05:25 +01:00
Paul Davis
354995289d move Transport Masters prefs tab under Transport, with LTC and MTC as subtabs 2019-12-29 19:38:04 -07:00
Robin Gareus
49df7abd0b NO-OP: whitespace 2019-12-27 19:35:03 +01:00
Robin Gareus
26cc05a1bf Consolidate mini-timeline rendering 2019-12-27 19:35:02 +01:00
Robin Gareus
1809818c94 Preferences/Config changes for image-surface settings 2019-12-27 19:35:02 +01:00
Robin Gareus
b942eecc9c Vkeybd: force release notes on panic
If key(s) are still being pressed, a key-repeat will re-trigger
the most recently pressed note (depending on keyboard settings).
2019-12-26 12:17:20 +01:00
Robin Gareus
b228dce1c1 Use weak-ptr for source added/removed signals (2/2) 2019-12-25 18:00:57 +01:00
Robin Gareus
24b46d1f75 Vkeybd: improve velocity dropdown usability
Limit velocity dropdown to a subset of most used values, but
allow to select any value using mouse-wheel
2019-12-25 13:15:32 +01:00
Robin Gareus
bc776eac97 Vkeybd: use ArdourWidgets for all GUI elements
Remove Gtk widgets and improve look&feel consistency.
2019-12-24 18:15:09 +01:00
Paul Davis
799ec6a8f1 use new method in MidiPatchManager to use MIDNAM data when setting a MidiTimeAxisView 2019-12-23 10:27:00 -07:00
Robin Gareus
ecdbd1df92 Vkeybd: numeric only spinboxes for octave and velocity
based on a patch by Alex Mitchell
2019-12-19 23:02:19 +01:00
Robin Gareus
d0668721d5 Vkeybd simplification
* remove Y-axis dependent velocity (difference between
  black/white keys made this not very usable
* remove Bank/Patch selector (there are already three other
  Bank/Patch UIs
* move keyboard-layout selection into Preferences > MIDI
2019-12-19 18:57:40 +01:00
Robin Gareus
01291f3e0f Vkeybd: re-layout, prepare config & patch pane removal 2019-12-19 18:45:49 +01:00
Robin Gareus
89ca6e151a Vkeybd: add a mod-wheel 2019-12-19 18:45:49 +01:00
Robin Gareus
0aa3c58705 Remove VST plugin discovery option from first-start wizard
Because (a) it makes the startup seem "very long and complicated",
and (b) sometimes fails or crashes weirdly,
or (c) a plugin dialog gets hidden behind the main window, or ...

Overall the first impression of the program may be horrible when
the first step includes discovering VST plugins.
2019-12-18 15:04:41 +01:00
Robin Gareus
a9f6484816 Fix DSP load sorting with inactive plugins 2019-12-18 00:54:11 +01:00
Robin Gareus
9c6d9324bd VKeybd: exponential pitch-wheel/bend interpolation 2019-12-17 16:47:46 +01:00
Robin Gareus
7fe9fb1f4e Indicate current Disk-I/O setting 2019-12-17 01:53:33 +01:00
Nikolaus Gullotta
ce54e342ed Add additional roll check in transport_record
Previously there was no check for roll in case Session::Enabled this
can cause issues with "latched-record-enable" and "transport-roll"
2019-12-16 13:06:04 -06:00
Robin Gareus
9ddc4fcce9 Vkeybd: fix octave up/down direction, speed up pitch-bend 2019-12-16 15:42:42 +01:00
Robin Gareus
322e6e08c4 Vkeybd: grab all key-events and use timer instead of key-repeat
This fixes an issue with arrow-keys (up/down, left/right). Those
were previously only handled when the Virtual Keyboard window itself
had focus.

Also key-repeat for pitch-bend is now ignored and a dedicated timer
is used to queue events. This fixes an issue with the first repeat
taking longer than successive ones, and makes this feature independent
of any desktop user settings.
2019-12-16 15:02:39 +01:00
Robin Gareus
2add730263 Vkeybd: Experiment with key-repeat for pitch-bend 2019-12-16 02:30:42 +01:00