John Emmas [Tue, 4 Nov 2014 13:02:27 +0000 (13:02 +0000)]
Remove an unneeded icon when building the VST scanner app with MSVC
John Emmas [Tue, 4 Nov 2014 12:41:04 +0000 (12:41 +0000)]
When running an (MSVC built) VST scanner app, make sure we can utilise debuggable versions if we need to
John Emmas [Tue, 4 Nov 2014 12:36:50 +0000 (12:36 +0000)]
Add some new modules, needed for building the VST scanner app with MSVC
John Emmas [Tue, 4 Nov 2014 12:30:07 +0000 (12:30 +0000)]
(gtk2_ardour) Remove the reliance on libfst, which we no longer build
(fst's functionality has now mostly been moved into libardour)
Paul Davis [Tue, 4 Nov 2014 02:48:02 +0000 (21:48 -0500)]
use ArdourCanvas::TimeRectangle for regions, notes, markers
Paul Davis [Tue, 4 Nov 2014 02:33:54 +0000 (21:33 -0500)]
add new TimeRectangle to ArdourCanvas
Paul Davis [Tue, 4 Nov 2014 02:33:27 +0000 (21:33 -0500)]
move start of a time axis view back to 0.0 on the x-axis, not 1.0
David Robillard [Tue, 4 Nov 2014 01:52:14 +0000 (20:52 -0500)]
Use format string even for units we understand (print Hz units).
David Robillard [Mon, 3 Nov 2014 23:41:57 +0000 (18:41 -0500)]
Check whether frequency controls are audible or low and provide appropriate controls.
Always clamp set value to controller range.
David Robillard [Mon, 3 Nov 2014 23:40:17 +0000 (18:40 -0500)]
Fix parameter descriptors for one control leaking into another.
David Robillard [Mon, 3 Nov 2014 22:29:11 +0000 (17:29 -0500)]
Add menu to set frequency controls in beats, and half or double current value.
Test with e.g. fomp:cs_phaser1_lfo LFO frequency.
David Robillard [Mon, 3 Nov 2014 21:37:19 +0000 (16:37 -0500)]
Note selector dialog for note controls.
David Robillard [Mon, 3 Nov 2014 18:40:50 +0000 (13:40 -0500)]
Reduce coupling between Plugin and PluginInsert.
David Robillard [Mon, 3 Nov 2014 16:54:35 +0000 (11:54 -0500)]
Fix compilation with old LV2. Maybe.
David Robillard [Sun, 2 Nov 2014 23:47:22 +0000 (18:47 -0500)]
Show 3 decimal digits when printing values.
David Robillard [Sun, 2 Nov 2014 18:02:54 +0000 (13:02 -0500)]
Fix crash when showing UI for plugins with output control ports.
Paul Davis [Sun, 2 Nov 2014 16:25:31 +0000 (11:25 -0500)]
repropagate button press event outside of FloatingTextEntry so that the click is still effective, as well as terminating the edit
Paul Davis [Sun, 2 Nov 2014 13:54:51 +0000 (08:54 -0500)]
use modal grab and event_is_inside_widget_window() to provide "expected" behaviour when editing in a FloatingTextEntry
Paul Davis [Sun, 2 Nov 2014 13:54:12 +0000 (08:54 -0500)]
slightly increased debugging output for -D accelerators
Paul Davis [Sun, 2 Nov 2014 13:53:29 +0000 (08:53 -0500)]
add Gtkmm2ext::event_inside_widget_window()
David Robillard [Sun, 2 Nov 2014 06:59:18 +0000 (01:59 -0500)]
Support pretty display of arbitrary plugin parameter units.
Try e.g. fomp:cs_chorus1 which has Hz and ms controls.
David Robillard [Sun, 2 Nov 2014 06:29:33 +0000 (01:29 -0500)]
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.
David Robillard [Sun, 2 Nov 2014 03:29:10 +0000 (23:29 -0400)]
Automation of LV2 plugin properties.
Work towards ParameterDescriptor being used more universally to describe control characteristics.
David Robillard [Sat, 1 Nov 2014 03:48:27 +0000 (23:48 -0400)]
Move ParameterDescriptor from Plugin to its own header.
This fixes circular dependency issues that arise when using ParameterDescriptor more widely.
David Robillard [Sat, 1 Nov 2014 02:20:24 +0000 (22:20 -0400)]
Decouple ControlUI from port index.
David Robillard [Sat, 1 Nov 2014 02:17:30 +0000 (22:17 -0400)]
Don't complain about properties with plugins that do not support them.
Robin Gareus [Sun, 2 Nov 2014 01:50:28 +0000 (02:50 +0100)]
properly initialize variable (amend
cffd18d2d84)
Robin Gareus [Sat, 1 Nov 2014 20:05:43 +0000 (21:05 +0100)]
one off by one off - red-selection outline
This mitigates issues introduced with
3.5-3406-g90872c2
but is not a final solution. The x-axis is still broken.
see #5589 comment0015955
Robin Gareus [Sat, 1 Nov 2014 17:24:47 +0000 (18:24 +0100)]
NOOP, just whitespace/indenting
Robin Gareus [Sat, 1 Nov 2014 17:24:31 +0000 (18:24 +0100)]
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".
Robin Gareus [Sat, 1 Nov 2014 17:22:29 +0000 (18:22 +0100)]
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)
Robin Gareus [Sat, 1 Nov 2014 15:48:22 +0000 (16:48 +0100)]
retain selection on track-height change
John Emmas [Sat, 1 Nov 2014 13:54:39 +0000 (13:54 +0000)]
Add some newly introduced source files to our MSVC project (gtk2_ardour)
John Emmas [Sat, 1 Nov 2014 13:53:55 +0000 (13:53 +0000)]
Add a newly introduced header file to our MSVC project (libardour)
Robin Gareus [Sat, 1 Nov 2014 06:27:16 +0000 (07:27 +0100)]
don't print error when announcing property values for plugins that have none
Robin Gareus [Sat, 1 Nov 2014 06:26:25 +0000 (07:26 +0100)]
increase fine grained control (Ctrl+Alt+[drag|scroll])
Robin Gareus [Sat, 1 Nov 2014 06:25:47 +0000 (07:25 +0100)]
convert interface <> internal values for all automation
fixes Send-Fader, Gain-Automation and various Plugin-Slider ranges
David Robillard [Sat, 1 Nov 2014 01:03:12 +0000 (21:03 -0400)]
Fix compilation against older LV2.
David Robillard [Sat, 1 Nov 2014 00:44:02 +0000 (20:44 -0400)]
More generic RT-safe implementation of LV2 properties.
David Robillard [Sat, 1 Nov 2014 00:22:57 +0000 (20:22 -0400)]
Use precise define names for LV2 version configure checks.
David Robillard [Fri, 31 Oct 2014 07:29:26 +0000 (03:29 -0400)]
Fix spelling error.
David Robillard [Fri, 31 Oct 2014 07:27:34 +0000 (03:27 -0400)]
Remove unused variable.
Robin Gareus [Fri, 31 Oct 2014 21:51:47 +0000 (22:51 +0100)]
fix Dummy DSP load on win32 & low-pass filter load
g_get_monotonic_time() has millisecond granularity,
use performance Counter if available
Robin Gareus [Fri, 31 Oct 2014 18:41:58 +0000 (19:41 +0100)]
LV2 patch amends:
* fix Label (user readable key)
* check if patch range is a file Path
* free some lilv-nodes (plug small mem leak)
Paul Davis [Fri, 31 Oct 2014 16:26:57 +0000 (12:26 -0400)]
add new floating text entry class (ported from Tracks)
Paul Davis [Fri, 31 Oct 2014 14:56:03 +0000 (10:56 -0400)]
more changes for rectangle outlining
Paul Davis [Thu, 30 Oct 2014 13:05:27 +0000 (09:05 -0400)]
comment fix and expansion re: Canvas::Rectangle outline
Robin Gareus [Fri, 31 Oct 2014 05:02:32 +0000 (06:02 +0100)]
plug memory leak
Robin Gareus [Fri, 31 Oct 2014 02:26:47 +0000 (03:26 +0100)]
prototype [LV2]patch-change support for generic plugin UIs.
Robin Gareus [Wed, 29 Oct 2014 22:05:46 +0000 (23:05 +0100)]
fix "Session Setup" dialog obscures "File Open" dlg on windows.
John Emmas [Wed, 29 Oct 2014 17:33:56 +0000 (17:33 +0000)]
Add support for USE_CAIRO_IMAGE_SURFACE when building with MSVC
(new preprocessor directive - greatly improves CPU loading)
Robin Gareus [Wed, 29 Oct 2014 17:31:13 +0000 (18:31 +0100)]
fix typo in
58fec98a
the documentation was correct: “GTK+ uses G_PRIORITY_HIGH_IDLE + 10
for resizing operations, and G_PRIORITY_HIGH_IDLE + 20 for redrawing
operations.” but the priority for the idle visual changer was wrong.
fixes, follow-playhead and zoom/scrolling under load (no idle)
Robin Gareus [Wed, 29 Oct 2014 15:07:13 +0000 (16:07 +0100)]
redraw summary when theme preference changes & consolidate code.
Robin Gareus [Wed, 29 Oct 2014 05:37:20 +0000 (06:37 +0100)]
Kind of Blue
Robin Gareus [Wed, 29 Oct 2014 05:35:55 +0000 (06:35 +0100)]
fix vertical canvas scrolling
* properly account for hidden tracks
* allow to scroll to last track
Robin Gareus [Wed, 29 Oct 2014 04:43:38 +0000 (05:43 +0100)]
fix summary display (offset on-canvas rulers)
Robin Gareus [Wed, 29 Oct 2014 04:41:58 +0000 (05:41 +0100)]
fix summary re-size
w/USE_CAIRO_IMAGE_SURFACE
Paul Davis [Wed, 29 Oct 2014 00:30:57 +0000 (20:30 -0400)]
ugly hacks to make the peak display widget not act like a text entry widget. This should die.
Paul Davis [Tue, 28 Oct 2014 14:12:01 +0000 (10:12 -0400)]
Revert "change the peak display widget from Gtkmm2ext::FocusEntry to ArdourButton, since it is absolutely not editable."
This reverts commit
58f7d02bf21776f7537ac16ae41646859dbca0b1.
Conflicts:
gtk2_ardour/default_ui_config.in
gtk2_ardour/gain_meter.cc
Robin Gareus [Tue, 28 Oct 2014 15:43:45 +0000 (16:43 +0100)]
don't show x-fade menu when right-clicking on frame handles
Fix crash with midi-regions (they have a frame-handle but no x-fade).
fixes 2nd part of #5992 (backtrace
20141021-B)
This is nicer in one way: When the cursor is "trim" the x-fade
context menu is no longer accessible.
And a bit worse: The x-fade context menu is only accessible on the
small fade-handles (boxes) and on the x-fade itself.
Robin Gareus [Tue, 28 Oct 2014 01:40:04 +0000 (02:40 +0100)]
add win IRC channel
Robin Gareus [Tue, 28 Oct 2014 01:18:46 +0000 (02:18 +0100)]
turn pixfader into a cairowidget
Robin Gareus [Tue, 28 Oct 2014 01:15:10 +0000 (02:15 +0100)]
allow to use cairo-image/software surface for canvas & cairowidgets
Robin Gareus [Tue, 28 Oct 2014 00:27:14 +0000 (01:27 +0100)]
remove unused old API
Robin Gareus [Mon, 27 Oct 2014 20:15:39 +0000 (21:15 +0100)]
fix potential crash at session close (when port-matrix is visible)
remove_aux_or_listen() -> PortMatrix::route_processors_changed()
-> setup_global_ports() -> PortGroupList::gather() -> crash
if some session ports were already removed.
Robin Gareus [Sun, 26 Oct 2014 02:10:53 +0000 (03:10 +0100)]
file binary compat is for windows in general (not msvc)
Fixes crash with MIDI file save/load.
Robin Gareus [Sun, 26 Oct 2014 01:24:35 +0000 (02:24 +0100)]
update GPL (formatting and update FSF address)
Verbatim copy of https://www.gnu.org/licenses/gpl-2.0.txt
Also remove the "How to apply" section below "End of Terms",
this allows to use this file 1:1 as License in Installer.
Robin Gareus [Sat, 25 Oct 2014 20:00:47 +0000 (22:00 +0200)]
fix gcc/C++11
Robin Gareus [Sat, 25 Oct 2014 17:21:15 +0000 (19:21 +0200)]
combine short periodic timeout functions for windows.
Fixes excessive CPU usage (spinlock instead of sleep/WaitForSingleObject)
MS Windows has a scheduler time-slice of 15ms.
Ardour has two fast timeout functions: The FPS timeout (20-60Hz, clock
video-monitor) and a fast-screen-update (25Hz, meters etc).
They are loosely coupled (async) and scheduled from the main application
thread (gtk main).
Since they're async, gtk schedules them as needed. Even though the actual
period of the separate timeouts is larger. The effective period between
all timeout callbacks is <15ms and the main application thread never idles.
Robin Gareus [Sat, 25 Oct 2014 14:15:54 +0000 (16:15 +0200)]
skip meter re-draw when no pixels are changed.
Robin Gareus [Sat, 25 Oct 2014 14:12:38 +0000 (16:12 +0200)]
proper solution for variable-args jack_client_open()
John Emmas [Fri, 24 Oct 2014 17:38:09 +0000 (18:38 +0100)]
Add some newly introduced source files to our MSVC project (gtkmm2ext)
John Emmas [Fri, 24 Oct 2014 17:37:24 +0000 (18:37 +0100)]
Add some newly introduced source files to our MSVC project (jack_audiobackend)
John Emmas [Fri, 24 Oct 2014 17:34:01 +0000 (18:34 +0100)]
Some minor bits of casting to keep MSVC happy when building 'backends/jack/weak_libjack.c'
Paul Davis [Fri, 24 Oct 2014 16:18:40 +0000 (12:18 -0400)]
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.
Paul Davis [Fri, 24 Oct 2014 16:16:55 +0000 (12:16 -0400)]
avoid const cast warning
Paul Davis [Fri, 24 Oct 2014 14:40:52 +0000 (10:40 -0400)]
add #include that had gone unnoticed before
Robin Gareus [Fri, 24 Oct 2014 15:19:28 +0000 (17:19 +0200)]
fix screwup in prev commit-diff
Robin Gareus [Fri, 24 Oct 2014 15:15:03 +0000 (17:15 +0200)]
add explicit construction (for MSVC) and some debug messages
Robin Gareus [Fri, 24 Oct 2014 14:19:44 +0000 (16:19 +0200)]
fix jack transport return value
Robin Gareus [Fri, 24 Oct 2014 13:18:38 +0000 (15:18 +0200)]
use x-macros to simplify weak-jack implementation
Robin Gareus [Fri, 24 Oct 2014 12:36:04 +0000 (14:36 +0200)]
fix libjack names
Robin Gareus [Thu, 23 Oct 2014 18:34:44 +0000 (20:34 +0200)]
fix 64bit compile with old gcc
Paul Davis [Thu, 23 Oct 2014 17:17:27 +0000 (13:17 -0400)]
add new Gtk2mmext::EmScale class for measuring font-based sizing
Robin Gareus [Thu, 23 Oct 2014 11:02:09 +0000 (13:02 +0200)]
skip unavailable backends early on.
Robin Gareus [Thu, 23 Oct 2014 11:02:02 +0000 (13:02 +0200)]
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.
Robin Gareus [Thu, 23 Oct 2014 11:01:45 +0000 (13:01 +0200)]
weak/runtime jack linking: load libjack dynamically at runtime
Robin Gareus [Thu, 23 Oct 2014 12:45:14 +0000 (14:45 +0200)]
show meter-bridge context-menu on mouse-down
Robin Gareus [Thu, 23 Oct 2014 12:25:05 +0000 (14:25 +0200)]
Don't show meter-type menu for MIDI-only meters
Robin Gareus [Thu, 23 Oct 2014 03:11:10 +0000 (05:11 +0200)]
another round of compiler warning fixes
Robin Gareus [Thu, 23 Oct 2014 01:40:44 +0000 (03:40 +0200)]
avoid name conflict with Note (gtk2_ardour/note.h)
Robin Gareus [Thu, 23 Oct 2014 01:32:14 +0000 (03:32 +0200)]
small round of compiler warning fixes
Robin Gareus [Thu, 23 Oct 2014 00:59:47 +0000 (02:59 +0200)]
silence clang ‘unused include file/compiler flag’ warnings
Robin Gareus [Wed, 22 Oct 2014 21:58:57 +0000 (23:58 +0200)]
windows installer: add option to use zlib (a lot faster)
Robin Gareus [Wed, 22 Oct 2014 21:57:55 +0000 (23:57 +0200)]
fix jack/mingw compilation
Paul Davis [Wed, 22 Oct 2014 21:06:53 +0000 (17:06 -0400)]
fix delivery of MMC events under split process cycle conditions
Paul Davis [Wed, 22 Oct 2014 21:06:33 +0000 (17:06 -0400)]
require a timestamp on MIDI::MachineControl::send()
Paul Davis [Wed, 22 Oct 2014 21:05:58 +0000 (17:05 -0400)]
fix timestamps for immediate MIDI events to deal with split process cycle conditions
Paul Davis [Wed, 22 Oct 2014 21:04:12 +0000 (17:04 -0400)]
error/debug output when dropping MIDI event due to timing now shows MIDI bytes
Paul Davis [Wed, 22 Oct 2014 21:02:38 +0000 (17:02 -0400)]
remove unused code