1bc04ae351
failsafe AU scanning part one:
...
Don’t scan for AU plugins unless users explicitly starts a
plugin scan. Disable automatic scanning if Ardour crashes
during AU plugin discovery.
2014-11-12 04:58:53 +01:00
9254e80c39
refactor MIDISceneChange color property addition by moving it into SceneChange to anticipate other types of SceneChange objects (e.g. OSC)
2014-11-10 23:17:27 -05:00
e27651d315
when creating a new MIDI scene change, check existing scene changes for equality and reuse their color (which may or may not be set)
2014-11-10 23:17:19 -05:00
0f243d5f7c
serialize/deserialize MIDISceneChange color; put out of bounds color into static const
2014-11-10 23:17:08 -05:00
70960a5a00
add color property to MIDISceneChange
2014-11-10 23:16:59 -05:00
3d0efb8bf7
add operator== to ARDOUR::MidiSceneChange
2014-11-10 23:16:53 -05:00
12b715e6fa
tweak canvas on_expose_event() handler to avoid unnecessary save/paint/restore
2014-11-10 20:34:20 -05:00
fdcb792358
further work on new color manipulation code
2014-11-10 20:33:54 -05:00
929d3fe6ed
fix signed/unsigned compiler warning
2014-11-10 22:21:39 +01:00
a37ffd1f0c
improve random seed (for dummy generators)
2014-11-10 22:20:36 +01:00
1317b57221
add required header for compilation
2014-11-10 11:46:17 -05:00
ef56948d4a
add background color property to Canvas::Canvas ; rearrange expose handling and include background fill
...
Conflicts:
libs/canvas/canvas.cc
libs/canvas/canvas/canvas.h
2014-11-10 10:43:25 -05:00
9cf5b23392
Modifications needed to build ReasonableSynth with MSVC
2014-11-09 08:11:46 +00:00
373caeede8
Add some newly introduced source files to our MSVC project (cairocanvas)
2014-11-08 10:48:26 +00:00
bb12c750bb
Just rename problematic Variant::VOID type.
2014-11-07 17:21:43 -05:00
4260d0ca0e
use new canvas colors header as necessary
2014-11-07 14:24:27 -05:00
69fd25f6f4
move canvas colors code into its own file(s)
2014-11-07 14:24:13 -05:00
a441de1a18
when drawing only part of a Canvas::Rectangle outline, we only need to do the cairo-pixel alignment math for the axis perpendicular to the edge
2014-11-07 12:58:56 -05:00
87cd481a7d
VOID is a windows define (not MSVC specific)
2014-11-07 17:04:11 +01:00
0fedfab593
tentative fix for canvas background/image surface
2014-11-07 16:50:21 +01:00
159cb4d2f9
another hack for windows timers, DSP load calculation
2014-11-07 12:17:15 +01:00
7670e463cc
add API to extract color from ArdourCanvas::Text and tidy up member declarations
...
Conflicts:
libs/canvas/canvas/text.h
2014-11-06 20:38:02 -05:00
787f9748b6
changing the clamp_width of an ArdourCanvas::Text needs to potentially provoke an entire redraw
...
This fixes missing range marker text in sessions where the initial zoom value causes an initial clamp_width of zero
2014-11-06 20:38:02 -05:00
6cda13fad4
possible fix for DSP load calculation on windows
2014-11-06 17:29:35 +01:00
c9c4a5c29d
raising/lowering canvas items should trigger a redraw
2014-11-06 10:58:37 -05:00
ecd618c343
correct the rendering of Rectangle outlines, and the computation of their bounding box
2014-11-05 19:45:23 -05:00
857719f2e1
add Rect::shrink(Distance) even though it arguably should be handled by Rect::expand()
2014-11-05 19:45:23 -05:00
f3d349bc9a
add some more outline enums to ArdourCanvas::Rectangle
2014-11-05 19:45:23 -05:00
589e59d7a1
allow derived classes to access Item::{scroll,position}_offset(), mostly for debugging purposes
2014-11-05 19:45:23 -05:00
98b66b9f3d
catch up with waves/tracks version of MIDI scene changer code
2014-11-05 19:45:23 -05:00
b02ea3d435
alter implementation of ArdourCanvas::contrasting_text_color() to use gamma-adjusted luminance values rather than simple contrast
2014-11-05 11:13:28 -05:00
70e95f951d
add ArdourCanvas::Fill::set_pattern() to allow any filled canvas item to be filled using an arbitrary Cairo Pattern
2014-11-05 11:13:09 -05:00
4eac2a76da
fix insane design for Location::next_available_name() so that it has no effective limit (other than UINT32_MAX)
2014-11-05 07:41:43 -05:00
f018f3d37a
Add some newly introduced header files to our MSVC project (libs/ardour)
2014-11-04 15:44:27 +00:00
227732d15b
When building with MSVC undef type VOID if we're declaring an enum called VOID
2014-11-04 15:42:04 +00:00
04bda495c2
When building with MSVC, guard a declaration of 'strdup()' which conflicts slightly with the MSVC declaration
...
(maybe we should just #include <string.h> ?)
2014-11-04 13:23:15 +00:00
5e8c39ff47
When running an (MSVC built) VST scanner app, make sure we can utilise debuggable versions if we need to
2014-11-04 13:23:14 +00:00
f1e6b28ab7
use ArdourCanvas::TimeRectangle for regions, notes, markers
2014-11-03 21:48:08 -05:00
56994e785e
add new TimeRectangle to ArdourCanvas
2014-11-03 21:48:08 -05:00
a54f8141dc
Use format string even for units we understand (print Hz units).
2014-11-03 20:52:14 -05:00
9f3f017736
Check whether frequency controls are audible or low and provide appropriate controls.
...
Always clamp set value to controller range.
2014-11-03 18:41:57 -05:00
ef16fdcd89
Fix parameter descriptors for one control leaking into another.
2014-11-03 18:40:17 -05:00
6e16f69c26
Add menu to set frequency controls in beats, and half or double current value.
...
Test with e.g. fomp:cs_phaser1_lfo LFO frequency.
2014-11-03 17:29:11 -05:00
7204702c3f
Reduce coupling between Plugin and PluginInsert.
2014-11-03 13:40:50 -05:00
68507badd9
Fix compilation with old LV2. Maybe.
2014-11-03 11:54:35 -05:00
6e8e3856cb
Show 3 decimal digits when printing values.
2014-11-02 18:47:22 -05:00
bb4e3a2916
add Gtkmm2ext::event_inside_widget_window()
2014-11-02 08:57:47 -05:00
d02d8337a9
Support pretty display of arbitrary plugin parameter units.
...
Try e.g. fomp:cs_chorus1 which has Hz and ms controls.
2014-11-02 02:10:24 -05:00
47c4929bc2
Display gain and midiNote plugin parameters/properties nicely.
...
Show fancy values on generic GUI controls, automation lane controls, and automation lane verbose cursor.
Fix text display of midiNote values.
Make bigstep of midiNote parameters 12 (one octave).
Add ARDOUR::value_as_string() as a stateless one-stop-shop for value printing.
2014-11-02 02:10:24 -05:00
8a128b33d3
Automation of LV2 plugin properties.
...
Work towards ParameterDescriptor being used more universally to describe control characteristics.
2014-11-02 02:10:24 -05:00
6dfb11c2d0
Move ParameterDescriptor from Plugin to its own header.
...
This fixes circular dependency issues that arise when using ParameterDescriptor more widely.
2014-11-02 02:10:24 -05:00
bd6ba1717e
Decouple ControlUI from port index.
2014-11-02 02:10:24 -05:00
b6d8805961
properly initialize variable (amend cffd18d2d8
)
2014-11-02 02:50:28 +01:00
cffd18d2d8
implement spin-button internal<>interface bridge
...
Widgets were written to use "[User] Interface" values, but the
spinbutton in a Bar-controller should allow to directly access
the "Internal Value".
2014-11-01 18:24:31 +01:00
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
d948e4cc91
Add a newly introduced header file to our MSVC project (libardour)
2014-11-01 13:53:55 +00:00
660e8c4425
don't print error when announcing property values for plugins that have none
2014-11-01 07:27:36 +01:00
002ebcc4ea
increase fine grained control (Ctrl+Alt+[drag|scroll])
2014-11-01 07:27:35 +01:00
c855d17e09
Fix compilation against older LV2.
2014-10-31 21:03:12 -04:00
5de6c21ec1
More generic RT-safe implementation of LV2 properties.
2014-10-31 20:46:43 -04:00
324ab35abc
Use precise define names for LV2 version configure checks.
2014-10-31 20:46:09 -04:00
0a60077a61
Fix spelling error.
2014-10-31 20:46:09 -04:00
8d4cbc4cc1
fix Dummy DSP load on win32 & low-pass filter load
...
g_get_monotonic_time() has millisecond granularity,
use performance Counter if available
2014-10-31 22:51:47 +01:00
f02610b47c
LV2 patch amends:
...
* fix Label (user readable key)
* check if patch range is a file Path
* free some lilv-nodes (plug small mem leak)
2014-10-31 19:42:28 +01:00
90872c2b31
more changes for rectangle outlining
2014-10-31 10:56:08 -04:00
a942493565
comment fix and expansion re: Canvas::Rectangle outline
2014-10-31 10:56:08 -04:00
b8cea19b95
prototype [LV2]patch-change support for generic plugin UIs.
2014-10-31 03:26:47 +01:00
973d40e3ac
Add support for USE_CAIRO_IMAGE_SURFACE when building with MSVC
...
(new preprocessor directive - greatly improves CPU loading)
2014-10-29 17:36:30 +00:00
dc39448a22
turn pixfader into a cairowidget
2014-10-28 02:18:46 +01:00
b04414d170
allow to use cairo-image/software surface for canvas & cairowidgets
2014-10-28 02:15:10 +01:00
6dc3a4bf61
remove unused old API
2014-10-28 01:27:14 +01:00
e02efddb21
skip meter re-draw when no pixels are changed.
2014-10-25 17:28:14 +02:00
a6ceff61dd
proper solution for variable-args jack_client_open()
2014-10-25 17:28:13 +02:00
9239a49a32
Add some newly introduced source files to our MSVC project (gtkmm2ext)
2014-10-24 18:45:53 +01:00
85eda0a5f3
Add some newly introduced source files to our MSVC project (jack_audiobackend)
2014-10-24 18:45:52 +01:00
3d39689769
Some minor bits of casting to keep MSVC happy when building 'backends/jack/weak_libjack.c'
2014-10-24 18:45:51 +01:00
f900711136
port changes to ARDOUR::Location and ARDOUR::Locations APIs from Tracks to Ardour.
...
Fixes deadlocks caused by mutex on Locations list, and clarifies the purposes and uses of the class-level and
object-level change-related signals.
2014-10-24 12:18:46 -04:00
2f4a8cf693
avoid const cast warning
2014-10-24 12:18:46 -04:00
65036cf3eb
add #include that had gone unnoticed before
2014-10-24 12:18:46 -04:00
b52304661f
fix screwup in prev commit-diff
2014-10-24 17:19:28 +02:00
5e7f935a27
add explicit construction (for MSVC) and some debug messages
2014-10-24 17:15:03 +02:00
25a6aa57a3
fix jack transport return value
2014-10-24 16:19:44 +02:00
e025cc008c
use x-macros to simplify weak-jack implementation
2014-10-24 15:18:38 +02:00
ad09be8c78
fix libjack names
2014-10-24 14:36:04 +02:00
1e357b5109
fix 64bit compile with old gcc
2014-10-23 20:42:02 +02:00
2bc3ec6ab3
add new Gtk2mmext::EmScale class for measuring font-based sizing
2014-10-23 13:21:04 -04:00
9a60bb58b2
skip unavailable backends early on.
2014-10-23 16:53:14 +02:00
d991bb10ca
add 'available' interface to the AudioBackendInfo
...
If a backend can be loaded, it does not mean that it can be used;
e.g. weak-linked jack-backend if libjack is not available.
2014-10-23 16:53:14 +02:00
f3ff1b9669
weak/runtime jack linking: load libjack dynamically at runtime
2014-10-23 16:53:13 +02:00
730e09ce65
another round of compiler warning fixes
2014-10-23 05:31:40 +02:00
c6a3d6bc48
small round of compiler warning fixes
2014-10-23 03:43:04 +02:00
f7211ff8f7
fix jack/mingw compilation
2014-10-22 23:57:55 +02:00
679356c5ee
fix delivery of MMC events under split process cycle conditions
2014-10-22 17:07:11 -04:00
e32a8e8260
require a timestamp on MIDI::MachineControl::send()
2014-10-22 17:07:11 -04:00
a289947b4f
fix timestamps for immediate MIDI events to deal with split process cycle conditions
2014-10-22 17:07:11 -04:00
bd97450ef8
error/debug output when dropping MIDI event due to timing now shows MIDI bytes
2014-10-22 17:07:11 -04:00
aafd1d77e9
remove unused code
2014-10-22 17:07:11 -04:00
68458cde69
fix all 4 backends' failure to include the main "backend" thread when computing ::in_process_thread()
2014-10-22 17:07:11 -04:00
aa0effb4cb
ignore negative value locates and MMC locate commands
2014-10-22 17:07:11 -04:00
3ddd797e46
remove obsolete jack includes in libardour
2014-10-22 16:56:12 +02:00