Commit Graph

12924 Commits

Author SHA1 Message Date
Paul Davis
709a0c8d9b "revert" back to previous loop rect in editor color 2019-12-07 10:30:38 -07:00
Robin Gareus
e0f7514e82 Fix nested comments 2019-12-07 01:13:38 +01:00
Robin Gareus
c5e46ffd30 UI limitations for mp3 import 2019-12-06 18:19:01 +01:00
Robin Gareus
65b6f39e21 Undo habits of a Serif font lover 2019-12-05 23:33:27 +01:00
Robin Gareus
407c2bed63 VKeybd: grab and ignore some keys
With default QWERTY and QWERTZ layout some keys that are easily
accidentally pressed. Those triggered editor actions,
(e.g. "a" (audition), or "1" (edit-tool)) and are now ignored.
2019-12-05 22:13:34 +01:00
Robin Gareus
1b58cac046 Prefer wider/fatter Sans font
ArdourSans is now based on "Noto Sans"
https://fonts.google.com/specimen/Noto+Sans
(C) by Google - Apache License 2.0
2019-12-05 00:50:52 +01:00
Robin Gareus
f1f553a1b3 Reduce script button width
The default text is single digit hex number (0..c)
2019-12-05 00:45:23 +01:00
Robin Gareus
8f31f814b4 Allow using ArdourSans as optional default font 2019-12-04 22:59:51 +01:00
Robin Gareus
a46bbabdaf Load and register ArdourSans font at application start 2019-12-04 19:01:44 +01:00
Robin Gareus
72bfc67027 Bundle a common Sans Font
ArdourSans is based on Oxygen from https://fonts.google.com/
Copyright (c) 2012, vernon adams (vern@newtypography.co.uk)
This Font Software is licensed under the SIL Open Font License, Version 1.1.
2019-12-04 19:01:20 +01:00
Robin Gareus
1f73668756 New approach for Lua bindings to avoid LuaBridge_API in GUI code
Declare DoubleArray in GUI context so that runtime uses the symbol
from the .exe (not the .dll).

This is mainly for the benefit of MSVC, that does not allow to use
LuaBridge_API in .exe
2019-12-03 17:55:37 +01:00
Robin Gareus
bfcadff73c Amend 1caef183 (Windows Lua bindings) 2019-12-03 03:29:35 +01:00
Robin Gareus
1caef183bf Fix Windows builds
This fixes a missing symbol error due to the weird way how
Windows maps the same, identical symbols using different addresses
in .dll and .exe.  Here specifically for

int luabridge::CFunc::vectorToArray<double, std::vector<double, std::allocator<double> > >(lua_State*)

which was added in 5e1a73a28c resulting in

gtk2_ardour/luainstance.cc error: explicit instantiation of 'static const void* luabridge::ClassInfo<T>::getStaticKey() [with T = std::vector<double>]' but no definition available [-fpermissive]
gtk2_ardour/luainstance.cc error: explicit instantiation of 'static const void* luabridge::ClassInfo<T>::getClassKey() [with T = std::vector<double>]' but no definition available [-fpermissive]
gtk2_ardour/luainstance.cc error: explicit instantiation of 'static const void* luabridge::ClassInfo<T>::getConstKey() [with T = std::vector<double>]' but no definition available [-fpermissive]
2019-12-03 02:27:44 +01:00
Robin Gareus
5fb83da69c Use a detached window for Preferences at first run
Once a user explicitly attaches the Window as Tab, we
expect the user to know about tabbing, tab-cycling, related
window/tab actions, and relevant shortcuts.

Otherwise it can confusing:
https://discourse.ardour.org/t/cant-get-out-of-preferences/102147
2019-11-29 16:27:37 +01:00
Robin Gareus
ccefc64418 Reset paste-count, paste-offset on undo/redo
This fixes an workflow edge-case when undoing a paste in order
to paste at a different location on the same track or automation lane.
After undo, any accumulated paste-offset needs to be reset
2019-11-26 23:49:06 +01:00
Robin Gareus
1df47e9fb4 Remember Virtual-Keyboard window size and position 2019-11-24 18:20:49 +01:00
Paul Davis
1a2665e25f redesign of declicking and fades around loop boundaries 2019-11-22 23:41:56 -07:00
Robin Gareus
c456006f82 Enable some key release event forwarding
This is needed for the virtual MIDI keyboard to trigger note-off events
2019-11-22 22:12:48 +01:00
Robin Gareus
ceee42f7af Virtual MIDI keyboard, when visible, gets to handle keyboard input first 2019-11-22 22:11:55 +01:00
Robin Gareus
f7b3dffebe Inform LV2 plugins about main window ID 2019-11-22 20:05:04 +01:00
Robin Gareus
6ee21fb77e GUI: Use new boost::optional API
get_value_or() has been deprecated since boost 1.56
2019-11-21 17:49:20 +01:00
Paul Davis
78d5e6af28 add mixer actions for toggle disk & input monitoring; bind to d and i in mixer bindings 2019-11-20 09:37:33 -07:00
Robin Gareus
7aaf212a9b Fix Lua Pangolayout ellipsis width 2019-11-19 04:41:12 +01:00
Robin Gareus
7b733eb3f0 Consistent toolbar button height 2019-11-19 04:41:11 +01:00
Robin Gareus
605a87f402 Improve toolbar layout consistency
Directly pack Lua Script buttons into top-level table,
use same size-constraints.

Use consistent Lua Action button width, in particular for buttons 10..12.
prefer "a" instead of "10" for default numeric label
2019-11-19 04:41:06 +01:00
Paul Davis
457ab6d35f put JACK time master option back in the menus 2019-11-15 16:04:58 -07:00
Robin Gareus
a666429d12 Fix MIDNAM device list for plugin-provided names 2019-11-13 23:00:55 +01:00
Robin Gareus
9b3ebd82ab Tweak layout of Plugin-Preset dialog 2019-11-12 19:34:12 +01:00
Robin Gareus
39fa4103f7 Allow to override plugin-provided MIDNAM 2019-11-12 17:00:50 +01:00
Robin Gareus
a83c6badfe Skip custom MIDNAM files in generic MTAV list 2019-11-12 06:29:05 +01:00
Robin Gareus
5b86ece17a Indicate the numeric peak-hold is always digital-peak 2019-11-12 00:07:51 +01:00
Robin Gareus
383850d329 Prefs > Plugins > Scan should discover new plugins
First argument is `cache_only`. `false` means to discover news ones.
2019-11-10 22:33:46 +01:00
Robin Gareus
70442ae7e3 Ask xjadeo to use ArdourMono font for OSD 2019-11-09 06:34:31 +01:00
Robin Gareus
edf9478fda Fix endless loop when drag/copy locked region 2019-11-09 06:00:02 +01:00
Robin Gareus
a8f9ba4a5e Preview video frame when dragging 2019-11-09 06:00:01 +01:00
Robin Gareus
a701882e66 Add convenience methods to test for active drags 2019-11-09 05:59:55 +01:00
Paul Davis
3cecc3d26b fix crash if Splash::pop_back_for() is called without splash on-screen 2019-11-08 16:57:11 -07:00
Paul Davis
b79d47b1b5 fix crash caused by storing clock modes while loading a session
The store would delete any existing node of the same name,
which was the node being used to set the mode in the first
place.
2019-11-08 12:40:26 -07:00
Paul Davis
eda27cc3de move all responsibility for autostart into StartupFSM and out of engine dialog 2019-11-06 17:35:30 -07:00
Paul Davis
88c4158c03 remove unused API 2019-11-06 17:05:07 -07:00
Paul Davis
f13c8f3d07 implement intended auto-start logic for startupFSM 2019-11-06 16:51:03 -07:00
Paul Davis
d7b6d6e2c4 if user uses Ctrl/Cmd-w to close a dialog during startup, treat that as a request to exit 2019-11-06 16:32:46 -07:00
Len Ovens
7dd7488872 Session should not be accessed when not there. 2019-11-06 08:30:11 -08:00
Robin Gareus
5ec9e0fa5e Virtual-keyboard: momentary pedal (no toggle) 2019-11-03 17:50:25 +01:00
Robin Gareus
db08810164 Virtual-keyboard: "Tab" to sustain (still undocumented) 2019-11-02 23:56:40 +01:00
Paul Davis
3e443bc237 improve operation of ARDOUR_UI::toggle_roll() for loop mode (particularly when loop-is-mode) 2019-11-02 16:32:18 -06:00
Paul Davis
a855119bdd rename all Evoral source from .(hpp|cpp)$ to .(h|cc) 2019-11-02 16:32:18 -06:00
Paul Davis
b83ef09947 various adjustments so that a MidiPlaylist gets re-rendered whenever it changes.
This may still be missing a few changes (i.e. they do not cause re-rendering)
2019-11-02 16:32:18 -06:00
Paul Davis
0573e7cdf0 alter where note resolution happens when a re-rendering is scheduled for a MIDI track 2019-11-02 16:32:18 -06:00
Ben Loftis
cc949232fe Remove complicated panner theme logic. 2019-11-02 14:57:53 -05:00