ardour.git
10 years agofix up thinko in recent raise_to_top/lower_to_bottom optimization
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

10 years agoslightly expand CanvasRender debug output
Paul Davis [Fri, 10 Jan 2014 16:02:34 +0000 (11:02 -0500)]
slightly expand CanvasRender debug output

10 years agodon't go through ::deliver_enter_leave() unnecessarily
Paul Davis [Fri, 10 Jan 2014 16:02:05 +0000 (11:02 -0500)]
don't go through ::deliver_enter_leave() unnecessarily

10 years agofix height issue with canvas-based rulers/bars, and use enums for outline specs
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

10 years agocoding style
Paul Davis [Fri, 10 Jan 2014 15:55:43 +0000 (10:55 -0500)]
coding style

10 years agoa few coding style cleanups
Paul Davis [Thu, 9 Jan 2014 16:54:01 +0000 (11:54 -0500)]
a few coding style cleanups

10 years agoreorder members to allow different initialization order
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.

10 years agoprevent Rect::expand() from generating negative coordinates where there were none...
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

10 years agotweak rectangle bounding box computation
Paul Davis [Wed, 8 Jan 2014 15:42:14 +0000 (10:42 -0500)]
tweak rectangle bounding box computation

10 years agoremove unused code
Paul Davis [Wed, 8 Jan 2014 15:31:39 +0000 (10:31 -0500)]
remove unused code

10 years agochange rounding used for convert Rect from canvas to window coordinates
Paul Davis [Wed, 8 Jan 2014 15:31:14 +0000 (10:31 -0500)]
change rounding used for convert Rect from canvas to window coordinates

10 years agoRevert "remove unused code"
Paul Davis [Wed, 8 Jan 2014 15:29:03 +0000 (10:29 -0500)]
Revert "remove unused code"

This reverts commit 2d283c17e17940c356af0cc1366b714e0d7b76be.

10 years agoremove unused code
Paul Davis [Wed, 8 Jan 2014 15:28:46 +0000 (10:28 -0500)]
remove unused code

10 years agoavoid 1 pixel overlap of end xfade
Paul Davis [Wed, 8 Jan 2014 03:51:41 +0000 (22:51 -0500)]
avoid 1 pixel overlap of end xfade

10 years agoshrink waveview zero line to single pixel
Paul Davis [Wed, 8 Jan 2014 03:51:18 +0000 (22:51 -0500)]
shrink waveview zero line to single pixel

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Wed, 8 Jan 2014 02:37:48 +0000 (21:37 -0500)]
Merge branch 'master' into cairocanvas

10 years agofix issue with editor-mixer:
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

10 years agomostly fix conceptual error in how canvas rectangle frames are drawn
Paul Davis [Wed, 8 Jan 2014 01:56:36 +0000 (20:56 -0500)]
mostly fix conceptual error in how canvas rectangle frames are drawn

10 years agofor now, hide ugly circle thing in drag handles
Paul Davis [Wed, 8 Jan 2014 01:56:03 +0000 (20:56 -0500)]
for now, hide ugly circle thing in drag handles

10 years agofill control points
Paul Davis [Wed, 8 Jan 2014 01:55:26 +0000 (20:55 -0500)]
fill control points

10 years agofix a whole set of errors in the placement of xfade visual elements (not 100% finished)
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)

10 years agooutline width of 0.5 is stupid and meaningless, and was just hiding other issues...
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

10 years agoadd missing iterator increment to poly item renders.
Paul Davis [Tue, 7 Jan 2014 01:45:23 +0000 (20:45 -0500)]
add missing iterator increment to poly item renders.

10 years agosmall optimization to curve rendering
Paul Davis [Fri, 3 Jan 2014 19:05:05 +0000 (14:05 -0500)]
small optimization to curve rendering

10 years agomake LV2 presets immediately available
Robin Gareus [Tue, 7 Jan 2014 01:17:25 +0000 (02:17 +0100)]
make LV2 presets immediately available

10 years agoremove inadvertently commited debug/devel code
Robin Gareus [Tue, 7 Jan 2014 00:45:20 +0000 (01:45 +0100)]
remove inadvertently commited debug/devel code

10 years agofix processor-box wire-display in editor-mixer -- work around gtk_show_all()
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()

10 years agoDocument controller values for Moog Minitaur.
David Robillard [Mon, 6 Jan 2014 18:49:09 +0000 (13:49 -0500)]
Document controller values for Moog Minitaur.

10 years agoAdd midnam files for Moog MF-104M and MF-108M.
David Robillard [Mon, 6 Jan 2014 18:31:54 +0000 (13:31 -0500)]
Add midnam files for Moog MF-104M and MF-108M.

10 years agoremove cruft
Robin Gareus [Mon, 6 Jan 2014 04:03:39 +0000 (05:03 +0100)]
remove cruft

10 years agoadd M-Audio 2496 as a recognized card for the mudita24 control panel/app.
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)

10 years agoAdd config option for address sanitizer
Sakari Bergen [Mon, 6 Jan 2014 15:03:46 +0000 (17:03 +0200)]
Add config option for address sanitizer

10 years agofix plugin log-sliders for ranges [0..]
Robin Gareus [Sun, 5 Jan 2014 23:01:24 +0000 (00:01 +0100)]
fix plugin log-sliders for ranges [0..]

10 years agoprocessor-box: remove label-cruft and properly label 'Send' & 'Return'
Robin Gareus [Sun, 5 Jan 2014 20:05:48 +0000 (21:05 +0100)]
processor-box: remove label-cruft and properly label 'Send' & 'Return'

10 years agoprocessor-box: remove cruft
Robin Gareus [Sun, 5 Jan 2014 15:02:40 +0000 (16:02 +0100)]
processor-box: remove cruft

10 years agomore processor-routing tweaks: compact view
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)

10 years agoprocessor-box wiring - re-use colors from ingen/patchage
Robin Gareus [Sun, 5 Jan 2014 13:04:33 +0000 (14:04 +0100)]
processor-box wiring - re-use colors from ingen/patchage

10 years agoupdate processor control toggle button style
Robin Gareus [Sun, 5 Jan 2014 12:13:28 +0000 (13:13 +0100)]
update processor control toggle button style

10 years agofix fader default-value line position
Robin Gareus [Sun, 5 Jan 2014 12:09:08 +0000 (13:09 +0100)]
fix fader default-value line position

10 years agoupdate slider rendering & set style for faders
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

10 years agofix detection of aubio library - aubio-0.4 breaks API and ABI.
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.

10 years agoadd padding to in-line plugin controls
Robin Gareus [Sat, 4 Jan 2014 18:03:47 +0000 (19:03 +0100)]
add padding to in-line plugin controls

10 years agofix tooltip on processor button widget
Robin Gareus [Sat, 4 Jan 2014 17:48:28 +0000 (18:48 +0100)]
fix tooltip on processor button widget

10 years agofix dragging playhead using time rulers
Robin Gareus [Sat, 4 Jan 2014 15:28:00 +0000 (16:28 +0100)]
fix dragging playhead using time rulers

10 years agofix ardour-button text bleed
Robin Gareus [Sat, 4 Jan 2014 14:05:45 +0000 (15:05 +0100)]
fix ardour-button text bleed

10 years agocontinued work on processor-routing visualization
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.

10 years agoprocessor drag box only
Robin Gareus [Sat, 4 Jan 2014 04:43:20 +0000 (05:43 +0100)]
processor drag box only

10 years agofix PixFader size allocation
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

10 years agopre-select reasonable-synth as Instrument
Robin Gareus [Fri, 3 Jan 2014 19:24:23 +0000 (20:24 +0100)]
pre-select reasonable-synth as Instrument

10 years agodon't split process cycle at end
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.

10 years agoimprove clarity of logic parentheses
Paul Davis [Fri, 3 Jan 2014 17:19:18 +0000 (12:19 -0500)]
improve clarity of logic parentheses

10 years agoMerge branch 'master' of https://github.com/derAbgang/ardour
Paul Davis [Fri, 3 Jan 2014 17:18:36 +0000 (12:18 -0500)]
Merge branch 'master' of https://github.com/derAbgang/ardour

10 years agodon't declare hilight variable twice
Nils Philippsen [Thu, 2 Jan 2014 14:27:15 +0000 (15:27 +0100)]
don't declare hilight variable twice

10 years agoget rid of const warnings
Nils Philippsen [Thu, 2 Jan 2014 13:15:18 +0000 (14:15 +0100)]
get rid of const warnings

10 years agomantis 0005805
derAbgang [Thu, 2 Jan 2014 22:13:14 +0000 (17:13 -0500)]
mantis 0005805

10 years agouse new DragHandle canvas object
Paul Davis [Thu, 2 Jan 2014 21:50:00 +0000 (16:50 -0500)]
use new DragHandle canvas object

10 years agomake raise_to_top() and lower_to_bottom() no-ops if item is already in the right...
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

10 years agoadd drag handle source to wscript
Paul Davis [Thu, 2 Jan 2014 21:49:11 +0000 (16:49 -0500)]
add drag handle source to wscript

10 years agobasic, prototypical drag handle implementation
Paul Davis [Thu, 2 Jan 2014 21:48:44 +0000 (16:48 -0500)]
basic, prototypical drag handle implementation

10 years agotweak design of time axis view item name text handling
Paul Davis [Thu, 2 Jan 2014 19:29:07 +0000 (14:29 -0500)]
tweak design of time axis view item name text handling

10 years agoremove debug output, try a new approach to name text placement
Paul Davis [Thu, 2 Jan 2014 18:44:57 +0000 (13:44 -0500)]
remove debug output, try a new approach to name text placement

10 years agodebug output for time axis item name font handling
Paul Davis [Thu, 2 Jan 2014 15:02:28 +0000 (10:02 -0500)]
debug output for time axis item name font handling

10 years agochange min dimension of rubberband rect to 2 pixels
Paul Davis [Thu, 2 Jan 2014 14:53:53 +0000 (09:53 -0500)]
change min dimension of rubberband rect to 2 pixels

10 years agoenforce a minimum 5x5 pixel size for the rubber band rect
Paul Davis [Thu, 2 Jan 2014 14:44:15 +0000 (09:44 -0500)]
enforce a minimum 5x5 pixel size for the rubber band rect

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Thu, 2 Jan 2014 14:16:28 +0000 (09:16 -0500)]
Merge branch 'master' into cairocanvas

10 years agoFix tests compilation after Control API changes
Julien de Kozak [Thu, 2 Jan 2014 08:01:30 +0000 (09:01 +0100)]
Fix tests compilation after Control API changes

10 years agoavoid GTK packing warning when using >1 backend
Paul Davis [Thu, 26 Dec 2013 16:29:26 +0000 (11:29 -0500)]
avoid GTK packing warning when using >1 backend

10 years agovisualize port connections in mixer/processor when in < out
Robin Gareus [Wed, 1 Jan 2014 14:34:06 +0000 (15:34 +0100)]
visualize port connections in mixer/processor when in < out

10 years agoreduce the maximum horizontal zoom to 1 day @ 48kHz == 1600 pixels, to try to stop...
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

10 years agofix up visibility control for automation lines
Paul Davis [Tue, 31 Dec 2013 18:28:20 +0000 (13:28 -0500)]
fix up visibility control for automation lines

10 years agojust use show() and hide() to manage control point visibility in 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.

10 years agoremove use of canvas property_foo() since it did nothing (and has now been removed)
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)

10 years agoremove legacy CANVAS_COMPATIBILITY property_foo() stuff (related to gnomecanvas API...
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

10 years agodebug message: print uint8 channel as integer not char
Robin Gareus [Tue, 31 Dec 2013 10:44:19 +0000 (11:44 +0100)]
debug message: print uint8 channel as integer not char

10 years agoadd preferences slider for waveview clip level (not working just right yet)
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)

10 years agofix an errant visibility macro
Paul Davis [Mon, 30 Dec 2013 22:21:15 +0000 (17:21 -0500)]
fix an errant visibility macro

10 years agochange clip level variable units to dB (conversion likely not complete yet)
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)

10 years agoadd new configurable parameter for waveview clip level
Paul Davis [Mon, 30 Dec 2013 20:55:38 +0000 (15:55 -0500)]
add new configurable parameter for waveview clip level

10 years agodefine signal associated with configurable clipping level to Canvas::WaveView
Paul Davis [Mon, 30 Dec 2013 20:54:09 +0000 (15:54 -0500)]
define signal associated with configurable clipping level to Canvas::WaveView

10 years agoadd 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

10 years agoignore invisible items when picking the current item
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.

10 years agoadd (debug) names to various items
Paul Davis [Mon, 30 Dec 2013 19:01:56 +0000 (14:01 -0500)]
add (debug) names to various items

10 years agoimprove debug message
Robin Gareus [Mon, 30 Dec 2013 15:58:46 +0000 (16:58 +0100)]
improve debug message

10 years agoremove cruft
Robin Gareus [Mon, 30 Dec 2013 15:58:28 +0000 (16:58 +0100)]
remove cruft

10 years agofix assert for non-existing MIDI patch-names
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.

10 years agovisualize # of channels in processor-box splitting icon
Robin Gareus [Mon, 30 Dec 2013 14:55:17 +0000 (15:55 +0100)]
visualize # of channels in processor-box splitting icon

10 years agooptimize peak calculation of silent buffers
Robin Gareus [Mon, 30 Dec 2013 13:26:09 +0000 (14:26 +0100)]
optimize peak calculation of silent buffers

10 years agoNOOP. remove trailing whitespace
Robin Gareus [Mon, 30 Dec 2013 13:21:09 +0000 (14:21 +0100)]
NOOP. remove trailing whitespace

10 years agomake meters request constant buffers
Robin Gareus [Mon, 30 Dec 2013 13:20:02 +0000 (14:20 +0100)]
make meters request constant buffers

10 years agotry to rationalize logic for displaying/hiding regionview (time axis view item) name...
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

10 years agouse buffer APIs instead of raw memcpy, fix plugin bypass
Robin Gareus [Sun, 29 Dec 2013 20:48:14 +0000 (21:48 +0100)]
use buffer APIs instead of raw memcpy, fix plugin bypass

10 years agoadd proper namespace to PBD::demangle for systems without execinfo
Paul Davis [Sun, 29 Dec 2013 18:59:37 +0000 (13:59 -0500)]
add proper namespace to PBD::demangle for systems without execinfo

10 years agofix replicate_missing_region_channels option
Robin Gareus [Sat, 28 Dec 2013 20:12:57 +0000 (21:12 +0100)]
fix replicate_missing_region_channels option

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Sat, 28 Dec 2013 19:00:20 +0000 (14:00 -0500)]
Merge branch 'master' into cairocanvas

10 years agoconvert automation line from Canvas::Curve to Canvas::PolyLine (note: this means...
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)

10 years agoslight optimization of PolyItem::render_path()
Paul Davis [Sat, 28 Dec 2013 18:52:08 +0000 (13:52 -0500)]
slight optimization of PolyItem::render_path()

10 years agoprevent 0-pointer dereference in editor_routes.cc - fixes #5794
Robin Gareus [Sat, 28 Dec 2013 15:15:00 +0000 (16:15 +0100)]
prevent 0-pointer dereference in editor_routes.cc - fixes #5794

10 years agoremove unused API to explicitly set/unset buffer silent flag
Robin Gareus [Sat, 28 Dec 2013 12:37:09 +0000 (13:37 +0100)]
remove unused API to explicitly set/unset buffer silent flag

10 years agocentralize 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.

10 years agoadd visibility/export control to libcanvas
Paul Davis [Fri, 27 Dec 2013 21:24:58 +0000 (16:24 -0500)]
add visibility/export control to libcanvas