Commit graph

301 commits

Author SHA1 Message Date
Robin Gareus
4758de37cd allow creating plugin-presets by dragging a plugin to the sidebar 2015-12-28 04:11:45 +01:00
Robin Gareus
e762fe36be refactor Processor-Box plugin drag/drop: allow presets 2015-12-25 17:13:00 +01:00
Robin Gareus
80028d7c82 don't automatically open plugin-GUI when using drag/drop 2015-12-24 01:45:16 +01:00
Robin Gareus
a7b236561c ProcessorBox: allow to receive PluginInfoPtr drops 2015-12-22 04:24:20 +01:00
Robin Gareus
d5c275e78e update ProcessorBox API for new DnDVbox constructor. 2015-12-22 04:15:04 +01:00
Robin Gareus
0d9f15dd80 GUI part of monitor-section constraints. 2015-12-21 14:38:28 +01:00
Robin Gareus
4dca26a6e7 use new open-gui-after-adding-plugin config variable 2015-12-08 13:44:20 +01:00
Ben Loftis
602839ffea use platform-specific modifier name for tooltip 2015-11-20 15:24:47 -06:00
Robin Gareus
7923a0e679 immediately show plugin GUI if only one plugin is instantiated 2015-11-20 11:14:36 +01:00
André Nusser
83b5bdbe95 Ctrl+shift functionality (toggle all) for plugin leds.
The Fader led has special behavior and is only toggled when clicked
explicitly.
2015-10-19 14:36:06 -04:00
Robin Gareus
696b89b71a rework 8b80fe0, use std::string, not char* 2015-10-15 11:24:15 +02:00
Robin Gareus
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Paul Davis
4dc63966f0 globally remove all trailing whitespace from ardour code base.
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Robin Gareus
d25e1cb635 add a hidden option to show hidden processors
simplify debugging solo, monitor-processors, etc
2015-10-04 19:40:46 +02:00
Robin Gareus
cba31db6fe processor-box: explicitly check for "Amp" (Fader) 2015-09-21 13:14:29 +02:00
Tim Mayberry
1d42ed077e Use ARDOUR_UI_UTILS::set_tooltip rather than via ARDOUR_UI::set_tip
This removes the direct dependence on ARDOUR_UI/Gtk_UI for setting
tooltips. Removes inclusion of ardour_ui.h from 16 files.
2015-09-16 16:55:17 -04:00
Tim Mayberry
6b019a4953 Move UIConfiguration Singleton into UIConfiguration header
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
Tim Mayberry
45d487f16e Move ARDOUR_UI::ui_scale into UIConfiguration class 2015-09-16 16:55:17 -04:00
Robin Gareus
53d51ac406 fix processor paste location - fixes #6536 2015-08-25 01:09:41 +02:00
Robin Gareus
11f51497f3 provisional processor control-box tweaks - possible fix for #6519
ControlBoxes are created/destroyed regularly (plugin re-order,
track selection -> Editor Mixer,...).

Properly disconnect the timer signal in the dtor and skip updateing the
tooltip unnecessarily (duplicate calls, Changed & Timer).

This should really be undone, the timer needs to be removed and Changed() used throughout.
2015-08-19 14:27:14 +02:00
Robin Gareus
9f3bf09a7c rework processor box: handle n/a plugins 2015-08-16 00:03:39 +02:00
Robin Gareus
eddf50185b prepare UI for missing plugins 2015-08-15 23:29:53 +02:00
Robin Gareus
29b06768d5 handle some wire edge-cases & explanation 2015-08-09 08:37:28 +02:00
Robin Gareus
2e8e23fac3 update routing wires display 2015-08-04 18:42:27 +02:00
Robin Gareus
a021da9a9d oops. 2015-07-29 03:34:27 +02:00
Robin Gareus
36f6aa9356 work-around OSX loadlocale thread safety.
This is not a real fix; just a stop-gap for the worst offender.

iostream on OSX is not thread safe.
Sadly no crash report so far managed to catch the 2nd thread in action.
looks like the GUI thread is preempted, 2nd thread succeeds, and the 
crash occurs later).

see also https://discussions.apple.com/thread/3479591

crash in
   s << c->internal_to_user (c->get_value ());

ardour-4.1.335(5000,0x7fff777f5300) malloc: *** error for object 0x7fe2f3e06170: pointer being freed was not allocated
1   libsystem_c.dylib       abort + 129
2   libsystem_malloc.dylib  free + 428
3   libsystem_c.dylib       __numeric_load_locale + 544
4   libsystem_c.dylib       loadlocale + 216
5   libstdc++.6.dylib       std::__convert_from_v(int* const&, char*, int, char const*, ...) + 193
6   libstdc++.6.dylib       std::ostreambuf_iterator<char, std::char_traits<char> > std::num_put<char, std::ostreambuf_iterator<char, std::char_traits<char> > >::_M_insert_float<double>(std::ostreambuf_iterator<char, std::char_traits<char> >, std::ios_base&, char, char, double) const + 193
7   libstdc++.6.dylib       std::ostream& std::ostream::_M_insert<double>(double) + 221
8   ardour-4.1.335          ProcessorEntry::Control::set_tooltip() + 854 (processor_box.cc:578)
9   ardour-4.1.335          ProcessorEntry::Control::control_changed() + 446 (processor_box.cc:637)
10  ibpbd.dylib             PBD::StandardTimer::on_elapsed()
2015-07-28 20:54:43 +02:00
Robin Gareus
4c608b6e04 assign new IDs to plugin copies on paste.
when copying a plugin the state is transferred by serializing
XML and setting state from XML. This state includes the unique ID.

This ID needs to be identical at first in order to load
the state from <session-dir>/plugins/<ID>/*
2015-07-10 22:09:18 +02:00
Robin Gareus
03248249c8 remove LED from custom meter point processors
... since they can't be disabled. fixes 6333
2015-05-18 16:30:02 +02:00
John Emmas
8b5474b9e1 For MSVC builds, implement 'rint()' and 'rintf()' to supplement the ones that were already implemented 2015-04-24 19:11:10 +01:00
Robin Gareus
b38ab89d92 clean up GUI scaling 2015-04-22 21:40:43 +02:00
Robin Gareus
add248f0cb scale inline slider girth. 2015-04-22 21:40:42 +02:00
Robin Gareus
8731f9ed8f scaleable routing icons & wires 2015-04-22 21:40:42 +02:00
Paul Davis
aab777b490 add braces 2015-04-13 22:25:55 -04:00
Robin Gareus
9f25af7eec processor control: update control-element tooltip 2015-03-29 17:11:08 +02:00
Robin Gareus
b34f26a7d0 retain Send control visibility state, fixes #6210 2015-03-25 11:10:58 +01:00
Ben Loftis
b1f9b644fc desensitize redirect-menu Send and Control items when they are not applicable 2015-02-11 11:13:24 -06:00
Tim Mayberry
b5c9a92a58 Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers 2015-01-01 19:04:14 +07:00
Robin Gareus
52d97c8cfb update interface for processor-box faders step/page
see also 4d4c20b8c
2014-12-01 00:33:11 +01:00
Robin Gareus
58663db374 change ownership of processor window-proxy
fixes crashes:
* If the Editor-Mixer shows a channel with a plugin that
has been edited in the Mixer, double-clicking the plugin 
will try to bring up a 2nd instance of the plugin-UI.
* When closing Ardour both the Mixer and the Editor-Mixer try to delete the underlying plugin, resulting in a double free.
2014-11-29 10:06:25 +01:00
David Robillard
ea5876b836 Remove dead code. 2014-11-25 02:11:44 -05:00
Robin Gareus
049c11de58 Slider Controller API Change
Prepare to allow BarController (with Spinbutton) to translate
internal/interface values for the SpinBox.

(The change is irrelevant for the fader/slider itself which
always use the [user-]interface value)
2014-11-01 18:22:29 +01:00
Robin Gareus
52f44dc4da convert interface <> internal values for all automation
fixes Send-Fader, Gain-Automation and various Plugin-Slider ranges
2014-11-01 07:27:35 +01:00
Robin Gareus
aac3ca5521 initialize some uninitialized vars - closes #5974 2014-10-08 19:16:21 +02:00
Ben Loftis
ceff2e3a62 plugin widgets were written to use Internal values, so use that for now 2014-09-18 17:25:11 -05:00
Robin Gareus
a07dc44b4d remove pixel based Button LED diameter setting
Diameter is calculated depending on font-scaling.
Besides, all explicit calls simply set the default
value, anyway. If some API is needed in the future,
it should set the diameter in [em].
2014-09-06 02:08:59 +02:00
Robin Gareus
540a12119b prepare Slider API cleanup 2014-09-02 02:53:05 +02:00
Ben Loftis
39e2223fee yet another ArdourButton action tweak 2014-08-28 15:29:18 -05:00
Ben Loftis
7306568634 More fixes to ArdourButton actions.
Optionally allow events to fallthrough to parents, in particular for the DnDVBox case.
Also allow the number_label to operate as a track selector.
2014-08-28 14:25:19 -05:00
Ben Loftis
df2a8fccc7 disallow selection of the fader and meter processor entries 2014-07-28 10:08:26 -05:00
Ben Loftis
96171ebe83 several fixes to make processor selection and deletion feel right, for both mixer and editor-mixer strips 2014-07-24 22:49:47 -05:00