Paul Davis [Fri, 10 Jan 2014 16:54:05 +0000 (11:54 -0500)]
fix up thinko in recent raise_to_top/lower_to_bottom optimization
Paul Davis [Fri, 10 Jan 2014 16:02:34 +0000 (11:02 -0500)]
slightly expand CanvasRender debug output
Paul Davis [Fri, 10 Jan 2014 16:02:05 +0000 (11:02 -0500)]
don't go through ::deliver_enter_leave() unnecessarily
Paul Davis [Fri, 10 Jan 2014 15:57:33 +0000 (10:57 -0500)]
fix height issue with canvas-based rulers/bars, and use enums for outline specs
Paul Davis [Fri, 10 Jan 2014 15:55:43 +0000 (10:55 -0500)]
coding style
Paul Davis [Thu, 9 Jan 2014 16:54:01 +0000 (11:54 -0500)]
a few coding style cleanups
Paul Davis [Thu, 9 Jan 2014 16:53:03 +0000 (11:53 -0500)]
reorder members to allow different initialization order
We want to be able to use _name when initializing _view.
Paul Davis [Wed, 8 Jan 2014 23:20:19 +0000 (18:20 -0500)]
prevent Rect::expand() from generating negative coordinates where there were none before
Paul Davis [Wed, 8 Jan 2014 15:42:14 +0000 (10:42 -0500)]
tweak rectangle bounding box computation
Paul Davis [Wed, 8 Jan 2014 15:31:39 +0000 (10:31 -0500)]
remove unused code
Paul Davis [Wed, 8 Jan 2014 15:31:14 +0000 (10:31 -0500)]
change rounding used for convert Rect from canvas to window coordinates
Paul Davis [Wed, 8 Jan 2014 15:29:03 +0000 (10:29 -0500)]
Revert "remove unused code"
This reverts commit
2d283c17e17940c356af0cc1366b714e0d7b76be.
Paul Davis [Wed, 8 Jan 2014 15:28:46 +0000 (10:28 -0500)]
remove unused code
Paul Davis [Wed, 8 Jan 2014 03:51:41 +0000 (22:51 -0500)]
avoid 1 pixel overlap of end xfade
Paul Davis [Wed, 8 Jan 2014 03:51:18 +0000 (22:51 -0500)]
shrink waveview zero line to single pixel
Paul Davis [Wed, 8 Jan 2014 02:37:48 +0000 (21:37 -0500)]
Merge branch 'master' into cairocanvas
Robin Gareus [Wed, 8 Jan 2014 02:29:06 +0000 (03:29 +0100)]
fix issue with editor-mixer:
* width+processor box display:
- show editor-mixer
- hide editor-mixer
- select a different track or bus
- show editor mixer
-> width is wrong, processor may be displayed w/1px height
* no routes on initial display -> possible segfault
Paul Davis [Wed, 8 Jan 2014 01:56:36 +0000 (20:56 -0500)]
mostly fix conceptual error in how canvas rectangle frames are drawn
Paul Davis [Wed, 8 Jan 2014 01:56:03 +0000 (20:56 -0500)]
for now, hide ugly circle thing in drag handles
Paul Davis [Wed, 8 Jan 2014 01:55:26 +0000 (20:55 -0500)]
fill control points
Paul Davis [Wed, 8 Jan 2014 01:55:04 +0000 (20:55 -0500)]
fix a whole set of errors in the placement of xfade visual elements (not 100% finished)
Paul Davis [Tue, 7 Jan 2014 16:31:47 +0000 (11:31 -0500)]
outline width of 0.5 is stupid and meaningless, and was just hiding other issues with outlines
Paul Davis [Tue, 7 Jan 2014 01:45:23 +0000 (20:45 -0500)]
add missing iterator increment to poly item renders.
Paul Davis [Fri, 3 Jan 2014 19:05:05 +0000 (14:05 -0500)]
small optimization to curve rendering
Robin Gareus [Tue, 7 Jan 2014 01:17:25 +0000 (02:17 +0100)]
make LV2 presets immediately available
Robin Gareus [Tue, 7 Jan 2014 00:45:20 +0000 (01:45 +0100)]
remove inadvertently commited debug/devel code
Robin Gareus [Mon, 6 Jan 2014 22:00:11 +0000 (23:00 +0100)]
fix processor-box wire-display in editor-mixer -- work around gtk_show_all()
David Robillard [Mon, 6 Jan 2014 18:49:09 +0000 (13:49 -0500)]
Document controller values for Moog Minitaur.
David Robillard [Mon, 6 Jan 2014 18:31:54 +0000 (13:31 -0500)]
Add midnam files for Moog MF-104M and MF-108M.
Robin Gareus [Mon, 6 Jan 2014 04:03:39 +0000 (05:03 +0100)]
remove cruft
Paul Davis [Mon, 6 Jan 2014 16:35:46 +0000 (11:35 -0500)]
add M-Audio 2496 as a recognized card for the mudita24 control panel/app.
(Yes, this hard coding thing is awful)
Sakari Bergen [Mon, 6 Jan 2014 15:03:46 +0000 (17:03 +0200)]
Add config option for address sanitizer
Robin Gareus [Sun, 5 Jan 2014 23:01:24 +0000 (00:01 +0100)]
fix plugin log-sliders for ranges [0..]
Robin Gareus [Sun, 5 Jan 2014 20:05:48 +0000 (21:05 +0100)]
processor-box: remove label-cruft and properly label 'Send' & 'Return'
Robin Gareus [Sun, 5 Jan 2014 15:02:40 +0000 (16:02 +0100)]
processor-box: remove cruft
Robin Gareus [Sun, 5 Jan 2014 14:50:13 +0000 (15:50 +0100)]
more processor-routing tweaks: compact view
* hide 'input' ports if mapping matches
-> display half circles
* show ports for top-most processor (allos insertion point)
* reduce line-size to 1.0 and routing-box height to 7 (cairo .5 px align)
Robin Gareus [Sun, 5 Jan 2014 13:04:33 +0000 (14:04 +0100)]
processor-box wiring - re-use colors from ingen/patchage
Robin Gareus [Sun, 5 Jan 2014 12:13:28 +0000 (13:13 +0100)]
update processor control toggle button style
Robin Gareus [Sun, 5 Jan 2014 12:09:08 +0000 (13:09 +0100)]
fix fader default-value line position
Robin Gareus [Sun, 5 Jan 2014 12:07:31 +0000 (13:07 +0100)]
update slider rendering & set style for faders
* render background -- outside of rounded corners
* visually align unity-location with fader at 0.
* sharp lines (no more AA blur) x/y offset, radius
Robin Gareus [Sat, 4 Jan 2014 18:28:15 +0000 (19:28 +0100)]
fix detection of aubio library - aubio-0.4 breaks API and ABI.
ideally we'll want atleast_version='0.3.2', max_version='0.3.9'
(or anything before 0.4.0) for the time being.
but waf/autowaf don't seem to allow that.
aubio-0.3.2 was the previous minimum requirement and is
also the last release of audio-0.3.X, so we're good with
exact_version for now.
Robin Gareus [Sat, 4 Jan 2014 18:03:47 +0000 (19:03 +0100)]
add padding to in-line plugin controls
Robin Gareus [Sat, 4 Jan 2014 17:48:28 +0000 (18:48 +0100)]
fix tooltip on processor button widget
Robin Gareus [Sat, 4 Jan 2014 15:28:00 +0000 (16:28 +0100)]
fix dragging playhead using time rulers
Robin Gareus [Sat, 4 Jan 2014 14:05:45 +0000 (15:05 +0100)]
fix ardour-button text bleed
Robin Gareus [Sat, 4 Jan 2014 04:54:20 +0000 (05:54 +0100)]
continued work on processor-routing visualization
major re-design.
* change splitting-icon into routing-icon
* add it to all processors (not only plugin-inserts)
* subscribe to ChanCount configuration changes
* add 'wiring' to BlankProcessorEntry pre-fader placeholder
* visualize routing for non-matching port-counts
currently still wire+color design with #if'ed debug messages
and optional #ifdef wires for matching connections.
Robin Gareus [Sat, 4 Jan 2014 04:43:20 +0000 (05:43 +0100)]
processor drag box only
Robin Gareus [Sat, 4 Jan 2014 04:29:06 +0000 (05:29 +0100)]
fix PixFader size allocation
previously faders in the processor box were only sized correctly
after the 2nd iteration: allocate -> request -> allocate
Robin Gareus [Fri, 3 Jan 2014 19:24:23 +0000 (20:24 +0100)]
pre-select reasonable-synth as Instrument
Robin Gareus [Fri, 3 Jan 2014 17:36:00 +0000 (18:36 +0100)]
don't split process cycle at end
Keep in mind: While this is the correct thing to do,
it hides another another bug under the hood, related to
_global_port_buffer_offset in MidiPort::flush_buffers.
For debugging the latter issue, revert this.
Paul Davis [Fri, 3 Jan 2014 17:19:18 +0000 (12:19 -0500)]
improve clarity of logic parentheses
Paul Davis [Fri, 3 Jan 2014 17:18:36 +0000 (12:18 -0500)]
Merge branch 'master' of https://github.com/derAbgang/ardour
Nils Philippsen [Thu, 2 Jan 2014 14:27:15 +0000 (15:27 +0100)]
don't declare hilight variable twice
Nils Philippsen [Thu, 2 Jan 2014 13:15:18 +0000 (14:15 +0100)]
get rid of const warnings
derAbgang [Thu, 2 Jan 2014 22:13:14 +0000 (17:13 -0500)]
Paul Davis [Thu, 2 Jan 2014 21:50:00 +0000 (16:50 -0500)]
use new DragHandle canvas object
Paul Davis [Thu, 2 Jan 2014 21:49:42 +0000 (16:49 -0500)]
make raise_to_top() and lower_to_bottom() no-ops if item is already in the right place
Paul Davis [Thu, 2 Jan 2014 21:49:11 +0000 (16:49 -0500)]
add drag handle source to wscript
Paul Davis [Thu, 2 Jan 2014 21:48:44 +0000 (16:48 -0500)]
basic, prototypical drag handle implementation
Paul Davis [Thu, 2 Jan 2014 19:29:07 +0000 (14:29 -0500)]
tweak design of time axis view item name text handling
Paul Davis [Thu, 2 Jan 2014 18:44:57 +0000 (13:44 -0500)]
remove debug output, try a new approach to name text placement
Paul Davis [Thu, 2 Jan 2014 15:02:28 +0000 (10:02 -0500)]
debug output for time axis item name font handling
Paul Davis [Thu, 2 Jan 2014 14:53:53 +0000 (09:53 -0500)]
change min dimension of rubberband rect to 2 pixels
Paul Davis [Thu, 2 Jan 2014 14:44:15 +0000 (09:44 -0500)]
enforce a minimum 5x5 pixel size for the rubber band rect
Paul Davis [Thu, 2 Jan 2014 14:16:28 +0000 (09:16 -0500)]
Merge branch 'master' into cairocanvas
Julien de Kozak [Thu, 2 Jan 2014 08:01:30 +0000 (09:01 +0100)]
Fix tests compilation after Control API changes
Paul Davis [Thu, 26 Dec 2013 16:29:26 +0000 (11:29 -0500)]
avoid GTK packing warning when using >1 backend
Robin Gareus [Wed, 1 Jan 2014 14:34:06 +0000 (15:34 +0100)]
visualize port connections in mixer/processor when in < out
Paul Davis [Tue, 31 Dec 2013 20:19:39 +0000 (15:19 -0500)]
reduce the maximum horizontal zoom to 1 day @ 48kHz == 1600 pixels, to try to stop memory allocation issues when zoomed out further
Paul Davis [Tue, 31 Dec 2013 18:28:20 +0000 (13:28 -0500)]
fix up visibility control for automation lines
Paul Davis [Tue, 31 Dec 2013 16:55:30 +0000 (11:55 -0500)]
just use show() and hide() to manage control point visibility in automation lines
No need for the wierd old set_visible()/property_draw() stuff that was a hangover from gnomecanvas.
Paul Davis [Tue, 31 Dec 2013 16:54:38 +0000 (11:54 -0500)]
remove use of canvas property_foo() since it did nothing (and has now been removed)
Paul Davis [Tue, 31 Dec 2013 16:54:05 +0000 (11:54 -0500)]
remove legacy CANVAS_COMPATIBILITY property_foo() stuff (related to gnomecanvas API) from libcanvas
Robin Gareus [Tue, 31 Dec 2013 10:44:19 +0000 (11:44 +0100)]
debug message: print uint8 channel as integer not char
Paul Davis [Mon, 30 Dec 2013 22:21:36 +0000 (17:21 -0500)]
add preferences slider for waveview clip level (not working just right yet)
Paul Davis [Mon, 30 Dec 2013 22:21:15 +0000 (17:21 -0500)]
fix an errant visibility macro
Paul Davis [Mon, 30 Dec 2013 22:20:54 +0000 (17:20 -0500)]
change clip level variable units to dB (conversion likely not complete yet)
Paul Davis [Mon, 30 Dec 2013 20:55:38 +0000 (15:55 -0500)]
add new configurable parameter for waveview clip level
Paul Davis [Mon, 30 Dec 2013 20:54:09 +0000 (15:54 -0500)]
define signal associated with configurable clipping level to Canvas::WaveView
Paul Davis [Mon, 30 Dec 2013 20:46:44 +0000 (15:46 -0500)]
add configurable clipping level to Canvas::WaveView
Paul Davis [Mon, 30 Dec 2013 19:02:43 +0000 (14:02 -0500)]
ignore invisible items when picking the current item
Also left behind some commented debug out that probably deserves a new PBD::Debug bit.
Paul Davis [Mon, 30 Dec 2013 19:01:56 +0000 (14:01 -0500)]
add (debug) names to various items
Robin Gareus [Mon, 30 Dec 2013 15:58:46 +0000 (16:58 +0100)]
improve debug message
Robin Gareus [Mon, 30 Dec 2013 15:58:28 +0000 (16:58 +0100)]
remove cruft
Robin Gareus [Mon, 30 Dec 2013 15:24:27 +0000 (16:24 +0100)]
fix assert for non-existing MIDI patch-names
typename boost::detail::sp_member_access<T>::type boost::shared_ptr<T>::operator->() const [with T = MIDI::Name::ChannelNameSet; typename boost::detail::sp_member_access<T>::type = MIDI::Name::ChannelNameSet*]: Assertion `px != 0' failed.
Robin Gareus [Mon, 30 Dec 2013 14:55:17 +0000 (15:55 +0100)]
visualize # of channels in processor-box splitting icon
Robin Gareus [Mon, 30 Dec 2013 13:26:09 +0000 (14:26 +0100)]
optimize peak calculation of silent buffers
Robin Gareus [Mon, 30 Dec 2013 13:21:09 +0000 (14:21 +0100)]
NOOP. remove trailing whitespace
Robin Gareus [Mon, 30 Dec 2013 13:20:02 +0000 (14:20 +0100)]
make meters request constant buffers
Paul Davis [Mon, 30 Dec 2013 04:10:54 +0000 (23:10 -0500)]
try to rationalize logic for displaying/hiding regionview (time axis view item) name highlights and text
Robin Gareus [Sun, 29 Dec 2013 20:48:14 +0000 (21:48 +0100)]
use buffer APIs instead of raw memcpy, fix plugin bypass
Paul Davis [Sun, 29 Dec 2013 18:59:37 +0000 (13:59 -0500)]
add proper namespace to PBD::demangle for systems without execinfo
Robin Gareus [Sat, 28 Dec 2013 20:12:57 +0000 (21:12 +0100)]
fix replicate_missing_region_channels option
Paul Davis [Sat, 28 Dec 2013 19:00:20 +0000 (14:00 -0500)]
Merge branch 'master' into cairocanvas
Paul Davis [Sat, 28 Dec 2013 18:52:46 +0000 (13:52 -0500)]
convert automation line from Canvas::Curve to Canvas::PolyLine (note: this means there is no actual use of Canvas::Curve now)
Paul Davis [Sat, 28 Dec 2013 18:52:08 +0000 (13:52 -0500)]
slight optimization of PolyItem::render_path()
Robin Gareus [Sat, 28 Dec 2013 15:15:00 +0000 (16:15 +0100)]
prevent 0-pointer dereference in editor_routes.cc - fixes #5794
Robin Gareus [Sat, 28 Dec 2013 12:37:09 +0000 (13:37 +0100)]
remove unused API to explicitly set/unset buffer silent flag
Robin Gareus [Sat, 28 Dec 2013 12:43:44 +0000 (13:43 +0100)]
centralize buffer silent-flag
fixes possible x-talk 1 in, >= 2 out tracks:
Previously, only the first route-buffer of the input buffers
were marked as non-silent in Route::process_output_buffers().
Other buffers in the set (e.g. post-panner) would
contain audio but not marked as non-silent.
Paul Davis [Fri, 27 Dec 2013 21:24:58 +0000 (16:24 -0500)]
add visibility/export control to libcanvas