13
0
Commit Graph

28071 Commits

Author SHA1 Message Date
46bbe83400
Changing active-state needs no color lookup
Colors and patterns are cached, independent of active-state.
This didn't used to be the case in the distant ArdourButton past.
2019-09-01 16:52:24 +02:00
244df67800
Fix mixer-side-bar show/hide actions
Changes need to be propagated to the Stripable's PresentationInfo.
So far this was not done for batch-changes using the mixer's left
side-bar "Show all", "Hide all" actions. They remained local
to the mixer and were not persistent.
2019-08-30 22:57:57 +02:00
Nikolaus Gullotta
f44a436f70
Move StripSilenceDialog XML to dedicated function
This moves the Session::add_extra_xml() call out of editor_ops.cc and
moves it to its own class method StripSilenceDialog::finished()
2019-08-30 14:44:50 -05:00
Nikolaus Gullotta
d5988b232c Add settings retention to StripSilenceDialog
StripSilenceDialog will now retain its threshold, minimum length, and
fade length values from run to run.

This is done via Session::add_extra_xml() and recalled during the
construction of StripSilenceDialog via Session::extra_xml()
2019-08-30 12:40:28 -05:00
dab29eb8ad
Fix Lua-doc doxygen declaration extraction 2019-08-29 21:40:54 +02:00
08644d8f2a
No-OP: move doxygen doc into header files 2019-08-29 17:57:22 +02:00
7496a856c7
Tweak Lua-doc processing:
Separate PHP based post-processing, used for manual creation.
php-cli may not be available on build host.
2019-08-29 05:43:02 +02:00
0840bc0c76 Replaced foldback select button with previous and next buttons 2019-08-28 16:23:46 -07:00
3588712174 properly remove foldback strip so it can be created again 2019-08-28 13:23:10 -07:00
Nikolaus Gullotta
1d4cf8a28c Merge branch 'master' of git.ardour.org:ardour/ardour 2019-08-28 14:19:43 -05:00
Nikolaus Gullotta
f127eebff0 time span column should actually sort by location start time 2019-08-28 14:19:26 -05:00
d39abd8dc1 Removed unused includes 2019-08-28 11:21:06 -07:00
adf48ac63f Ensure monitor section is always leftmost in mixer window 2019-08-28 11:21:06 -07:00
85f8387f54
Lua: allow to build SelectionLists
This partially reverts 4538bcc7 to allow Editor:set_selection()
2019-08-28 18:40:08 +02:00
Nikolaus Gullotta
96f55e8184 add sortable length, span, and name columns to ExportTimespanSelectorMultiple and ExportTimespanSelectorSingle 2019-08-28 11:27:40 -05:00
Nikolaus Gullotta
4b5391b7be add .vscode editor data to gitignore 2019-08-28 10:07:41 -05:00
5d652dd9c4 removed axis view from foldback strip 2019-08-27 10:16:48 -07:00
8cc1f8f8cb
Update icon render tool
* add "grid" mode
* re-build libwidgets as needed
* add a convenient `make show` target
2019-08-27 18:03:57 +02:00
7f2bfa362f
Cont'd icon tweaks
* unify line-width calculation
* thin line-width, approximate thickness of
  glyph stroke width at same UI scale
* don't use outlines (except main tool buttons)
  This fixes issues of generic buttons with bright-theme
* pixel align some lines
2019-08-27 18:03:57 +02:00
db831db1a5 Add/remove source(s) in our MSVC project (gtk2_ardour) 2019-08-27 15:10:00 +01:00
79ac8215e9
Update Plugin-Tag policy
* Don't store tags from plugin's own metadata
  Those are set during plugin-scan every time
* Save user-tags even if they're not new
* Reset tags to factory-file tag (if any)

Old user tag files (prior to this commit) are interpreted
as "factory-file". This will auto-correct after the
first save_tags().
2019-08-27 13:43:09 +02:00
37caa11b52
NO-OP: whitespace 2019-08-27 13:22:53 +02:00
5a7659fbdb
Resetting a tag implies changing it 2019-08-27 12:18:44 +02:00
79b23a893d
Update "By Tags" menu when Plugin-tags change -- #7800 2019-08-27 12:18:44 +02:00
191dea0248
Use latency-icon instead of text 2019-08-27 12:18:44 +02:00
64fd7a7511 Foldback bus should not appear in editor 2019-08-26 19:01:19 -07:00
fa94741f2c Monitor new signal to rebuild sendlist
remove debug lines, remove last FB bus works
2019-08-26 17:48:22 -07:00
220fa45d35 Add signal for foldback send add or remove 2019-08-26 17:48:22 -07:00
a2de8bd881 Add send controls to foldback GUI 2019-08-26 17:48:22 -07:00
fe1442dec9 Fix processor box for no crash on click 2019-08-26 17:48:22 -07:00
5414728c18 Start adding processor box 2019-08-26 17:48:22 -07:00
5bdfe4dc4c fix last foldback commit. 2019-08-26 17:48:22 -07:00
4f22bcea24 Add strip GUI first try for foldback bus 2019-08-26 17:48:22 -07:00
b01f6ead8b
Reduce girth of "plus" icon 2019-08-27 00:00:29 +02:00
b4addaaa0a
Tweak icon_strip_width icon lines to align to pixels 2019-08-26 23:34:20 +02:00
2dbeaaffa6
Add sample-rate as float option parameter for LV2 plugins and UIs 2019-08-26 23:30:21 +02:00
5e46108e95
Fix LV2 option size 2019-08-26 23:12:46 +02:00
646aded4f2
Add some scaleable "Latency" icon 2019-08-26 22:44:11 +02:00
cfc8a2c263
Push UI theme to backend, LV2 plugin options 2019-08-26 18:58:34 +02:00
80e30ea0d1
LV2 options for UI theme
Inform plugins about host theme (fg, bg colors) and UI scale-factor.
The latter follows an implementation already present in Carla and DPF.
These extension use proposed official URLs.
2019-08-26 18:57:47 +02:00
e286cce399
Borderless plugin UIs
This removes a border painted in the host's UI theme color around
any plugin UI.
This results in a much nicer look/feel for plugin-UIs that have their
own theme
2019-08-26 16:28:03 +02:00
09a71b4392
Allow Icon + Text on ArdourButton
Allow placing an icon left of some text in Ardour-button.
This also tweaks some spacing and alignment of Icons when
a LED toggle indicator is used.
2019-08-26 16:04:22 +02:00
e6e407f573
Tweak icon line widths
Scale line-width of all icons, some were left at 1px regardless
of scaling factor.
2019-08-26 16:01:19 +02:00
4538bcc7f4
Add/fix some TimeAxisView Lua bindings 2019-08-24 21:44:27 +02:00
1f05baa881
Tweak deletion, emit CatchDeletion() only once
Parent class d'tor runs after derived class d'tor. By the time
~TimeAxisView() is called, the actual object has already been
deleted and dyanamic_cast<RouteTimeAxisView*> or
dynamic_cast<AutomationTimeAxisView*> will fail.

CatchDeletion() needs to be emitted from the actual d'tor of the object.

There are currently three non-virtual TAVs:
 * RouteTimeAxisView
 * AutomationTimeAxisView
 * VCATimeAxisView

The first two already directly emit CatchDeletion(), there's no need to
call it again from ~TimeAxisView().
2019-08-24 18:42:51 +02:00
7859340191
Consolidate code, skip editor/mixer update check 2019-08-24 18:37:28 +02:00
629289dc4a
Fix crash when selected automation-lane is removed
When a plugin is deleted, automation-lanes of the given plugin
are removed, but previously a pointed to the deleted lane remained
in the selection.

This caused crashes later when the track selection is used. e.g.
during sensitize_the_right_region_actions()

Note that ~TimeAxisView() also emits CatchDeletion (this);
however "this" fails to be dynamic_cast<AutomationTimeAxisView*>
because that d'tor has already been completed.
2019-08-24 18:24:21 +02:00
9ce5184993
NO-OP: comment 2019-08-24 17:11:22 +02:00
3f19db4180
Mitigate issues of expensive plugin analysis -- #7795
Plugin analysis uses a GUI thread instance of a given plugin to
perform a IR analysis.

Some plugins can be rather CPU expensive to analyze.
e.g. a-hi/lo-filter when interpolating is recalculating biquad
coefficients every 64samples during the 8k IR analysis. This can take
a significant amount of time on older CPUs.

Furthermore live-signal collection happens in the rt-thread,
using cross-thread signals. Signal collection is  periodically initiated
from the same timeout signal as analysis.

Analysis is was done using default thread priority, which is higher
than the GUI redraw priority (PRIORITY_HIGH_IDLE).

So it was possible to contiguously initiate analysis, loading the CPU
and preventing redraws.
2019-08-24 17:11:10 +02:00
ab62c8a926
Towards fixing luadoc, manual page creation 2019-08-24 03:32:47 +02:00