ardour.git
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 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 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

10 years agomerge exportvis branch into cairocanvas, to reduce the number of "floating" branches.
Paul Davis [Fri, 27 Dec 2013 19:29:06 +0000 (14:29 -0500)]
merge exportvis branch into cairocanvas, to reduce the number of "floating" branches.

Still need to add API export/visibility macros for the canvas library.

10 years agoRevert "switch fade in/out lines to ArdourCanvas::Curve rather than ArdourCanvas...
Paul Davis [Fri, 27 Dec 2013 16:24:56 +0000 (11:24 -0500)]
Revert "switch fade in/out lines to ArdourCanvas::Curve rather than ArdourCanvas::PolyLine, though for no apparent benefit"

This reverts commit e169f5c17f5acdefc53b5c1373b64113cdd64ac8.

10 years agoadd support for old compilers w/o implicit stdbool
Robin Gareus [Fri, 27 Dec 2013 13:53:30 +0000 (14:53 +0100)]
add support for old compilers w/o implicit stdbool

10 years agoinitialize some uninitialized variables
Robin Gareus [Fri, 27 Dec 2013 13:04:49 +0000 (14:04 +0100)]
initialize some uninitialized variables

10 years agofix redrawing of canvas with an optimized build
Paul Davis [Mon, 23 Dec 2013 20:35:49 +0000 (15:35 -0500)]
fix redrawing of canvas with an optimized build

Best guess right now is that optimization does something bad when ceil() is called twice on a very large dbl-precision number,
which results in a zero (empty) redraw area. Without the removal of the redundant ceil & floor functions, no expose events
would be delivered to the canvas in an optimized build during drags (and maybe more).

10 years agoFix export format dialog tagging state inconsistency
Sakari Bergen [Mon, 23 Dec 2013 18:47:37 +0000 (20:47 +0200)]
Fix export format dialog tagging state inconsistency

The state of a checkbox was used before the UI was properly initialized.
This always unset the tagging option in the format object.

10 years agoRe-enable export file tagging. No idea why this code has dropped out at some stage...
Sakari Bergen [Mon, 23 Dec 2013 18:26:51 +0000 (20:26 +0200)]
Re-enable export file tagging. No idea why this code has dropped out at some stage...

10 years agovtl: do not lock audio [to video] when extracting audio-only.
Robin Gareus [Mon, 23 Dec 2013 09:28:32 +0000 (10:28 +0100)]
vtl: do not lock audio [to video] when extracting audio-only.

10 years agobetter, probably working fix for windows-vst-on-linux build 3.5.143
Paul Davis [Sun, 22 Dec 2013 18:39:57 +0000 (13:39 -0500)]
better, probably working fix for windows-vst-on-linux build

10 years agoattempt to fix build with --windows-vst due to a bad merge of the external libs changes
Paul Davis [Sun, 22 Dec 2013 18:13:47 +0000 (13:13 -0500)]
attempt to fix build with --windows-vst due to a bad merge of the external libs changes

10 years agoadd K12/RMS meter type
Robin Gareus [Sun, 22 Dec 2013 08:25:33 +0000 (09:25 +0100)]
add K12/RMS meter type

10 years agofix up OSC support to conform to new CP API and pay attention to feedback setting...
Paul Davis [Sat, 21 Dec 2013 20:31:08 +0000 (15:31 -0500)]
fix up OSC support to conform to new CP API and pay attention to feedback setting, even though feedback does nothing right now

10 years agoconform to new CP API
Paul Davis [Sat, 21 Dec 2013 20:30:43 +0000 (15:30 -0500)]
conform to new CP API

10 years agoconform to new CP API
Paul Davis [Sat, 21 Dec 2013 20:30:34 +0000 (15:30 -0500)]
conform to new CP API

10 years agonew CP API and fix several egregious bugs with port handling when switching devices...
Paul Davis [Sat, 21 Dec 2013 20:30:07 +0000 (15:30 -0500)]
new CP API and fix several egregious bugs with port handling when switching devices, setting state etc.

10 years agoremove debug output
Paul Davis [Sat, 21 Dec 2013 20:29:30 +0000 (15:29 -0500)]
remove debug output

10 years agoconform to new CP API design
Paul Davis [Sat, 21 Dec 2013 20:28:47 +0000 (15:28 -0500)]
conform to new CP API design

10 years agoconform to new CP API design
Paul Davis [Sat, 21 Dec 2013 20:28:34 +0000 (15:28 -0500)]
conform to new CP API design

10 years agoclean up aspects of ControlProtocol API
Paul Davis [Sat, 21 Dec 2013 20:28:05 +0000 (15:28 -0500)]
clean up aspects of ControlProtocol API

10 years agoclean up aspects of ControlProtocol API
Paul Davis [Sat, 21 Dec 2013 20:27:57 +0000 (15:27 -0500)]
clean up aspects of ControlProtocol API

10 years agonew ControlProtocolManager API, and proper handling of view/model changes in the...
Paul Davis [Sat, 21 Dec 2013 20:26:35 +0000 (15:26 -0500)]
new ControlProtocolManager API, and proper handling of view/model changes in the RC options (prefs) editor

10 years agolonger text description
Paul Davis [Sat, 21 Dec 2013 20:25:27 +0000 (15:25 -0500)]
longer text description

10 years agomidi_clock_slave: fix bandwidth to 2/60 for best results
Hans Baier [Wed, 18 Dec 2013 22:42:52 +0000 (05:42 +0700)]
midi_clock_slave: fix bandwidth to 2/60 for best results

10 years agointerpolation_test: add some necessary assertions
Hans Baier [Wed, 18 Dec 2013 22:31:39 +0000 (05:31 +0700)]
interpolation_test: add some necessary assertions

10 years agomidi_clock_slave: fix wrong calculation of loop error
Hans Baier [Wed, 18 Dec 2013 02:55:15 +0000 (09:55 +0700)]
midi_clock_slave: fix wrong calculation of loop error

since transport_frame refers to cycle start, the should be position has
to account for position of the midi clock event.

10 years agomidi_clock_slave.cc: Better debug messages
Hans Baier [Wed, 18 Dec 2013 01:26:43 +0000 (08:26 +0700)]
midi_clock_slave.cc: Better debug messages

10 years agomidi clock slave: make bandwidth variable according to period size
Hans Baier [Tue, 17 Dec 2013 23:19:21 +0000 (06:19 +0700)]
midi clock slave: make bandwidth variable according to period size

10 years agomnemonic PDF: margin, URL, and (C)year updates
Robin Gareus [Sun, 15 Dec 2013 17:31:17 +0000 (18:31 +0100)]
mnemonic PDF: margin, URL, and (C)year updates

10 years agofix linux build script to include libcanvas rather than libgnomecanvas
Paul Davis [Sat, 14 Dec 2013 23:18:15 +0000 (18:18 -0500)]
fix linux build script to include libcanvas rather than libgnomecanvas

10 years agofix a crash caused by not checking if MackieControlProtocol::_surfaces_state exists
Paul Davis [Sat, 14 Dec 2013 15:35:18 +0000 (10:35 -0500)]
fix a crash caused by not checking if MackieControlProtocol::_surfaces_state exists

I forgot to add this check when i changed the member variable to a pointer.

10 years agorsynth.lv2: fix note off+on follow up:
Robin Gareus [Sat, 14 Dec 2013 03:28:14 +0000 (04:28 +0100)]
rsynth.lv2: fix note off+on follow up:

special case if the same note is turned off and on in the
same [internal] synth cycle (64samples). x-fade to ADSR attack.

10 years agochange Generic MIDI control so that it handles a SendFeedback request synchronously...
Paul Davis [Fri, 13 Dec 2013 21:56:34 +0000 (16:56 -0500)]
change Generic MIDI control so that it handles a SendFeedback request synchronously within a process callback

10 years agomake MIDI UI in libardour handle CallSlot requests like it used to (and like it should)
Paul Davis [Fri, 13 Dec 2013 21:55:57 +0000 (16:55 -0500)]
make MIDI UI in libardour handle CallSlot requests like it used to (and like it should)

10 years agoMackie Control support now saves & restores port connections for devices not using...
Paul Davis [Fri, 13 Dec 2013 21:00:08 +0000 (16:00 -0500)]
Mackie Control support now saves & restores port connections for devices not using ipMIDI (not required for ipMIDI anyway)

10 years agoremove some unused code from mackie support
Paul Davis [Fri, 13 Dec 2013 16:56:12 +0000 (11:56 -0500)]
remove some unused code from mackie support

10 years agofix reasonable synth octave
Robin Gareus [Fri, 13 Dec 2013 19:59:08 +0000 (20:59 +0100)]
fix reasonable synth octave

10 years agoxmas-egg
Robin Gareus [Fri, 13 Dec 2013 19:26:30 +0000 (20:26 +0100)]
xmas-egg

10 years agofix logic for display of transport bar meters
Paul Davis [Fri, 13 Dec 2013 15:52:15 +0000 (10:52 -0500)]
fix logic for display of transport bar meters

Always remove from parent (if there is one), then repack if necessary.

10 years agotweak for regionview enter/exit handling
Paul Davis [Fri, 13 Dec 2013 01:44:28 +0000 (20:44 -0500)]
tweak for regionview enter/exit handling

10 years agochange enter/exit event delivery to follow X Window model (inferior, ancestor, virtua...
Paul Davis [Fri, 13 Dec 2013 01:44:04 +0000 (20:44 -0500)]
change enter/exit event delivery to follow X Window model (inferior, ancestor, virtual, nonlinear)

10 years agofix merge conflicts from master
Paul Davis [Thu, 12 Dec 2013 15:06:59 +0000 (10:06 -0500)]
fix merge conflicts from master

10 years agochange event propagation to be based on parent/child lineage, not z-axis stacking...
Paul Davis [Thu, 12 Dec 2013 15:03:33 +0000 (10:03 -0500)]
change event propagation to be based on parent/child lineage, not z-axis stacking, plus some more alterations to try to get enter/leave working

10 years agoadjust LV2 ringbuffer size according to LV2:resize-port
Robin Gareus [Thu, 12 Dec 2013 13:40:45 +0000 (14:40 +0100)]
adjust LV2 ringbuffer size according to LV2:resize-port

The message-size itself is part of the message which
stored in the ringbuffer. If the rinbuffer overflows
the message is misinterpreted -> segfault.

Choose a more conservative ring-buffer size and take
the requested LV2 size into account.

10 years agofix const-ness of names array
Nils Philippsen [Tue, 10 Dec 2013 22:06:27 +0000 (23:06 +0100)]
fix const-ness of names array

10 years agocompare plugin/creator/category names UTF8-aware
Nils Philippsen [Tue, 10 Dec 2013 20:31:57 +0000 (21:31 +0100)]
compare plugin/creator/category names UTF8-aware

10 years agoadd cmp_nocase_utf8()
Nils Philippsen [Tue, 10 Dec 2013 20:29:24 +0000 (21:29 +0100)]
add cmp_nocase_utf8()

This is like cmp_nocase(), only that it doesn't use toupper(), tolower()
and therefore is agnostic of the current locale, and attempts to compare
strings in a UTF8-aware way (or falls back to ASCII if one of the
strings isn't UTF8-encoded).

10 years agodon't use deprecated g_strcasecmp()
Nils Philippsen [Tue, 10 Dec 2013 20:20:56 +0000 (21:20 +0100)]
don't use deprecated g_strcasecmp()

It's dependent on the current locale and deprecated, use
g_ascii_strcasecmp() instead.

10 years agocompare region names case-sensitively
Nils Philippsen [Tue, 10 Dec 2013 20:17:04 +0000 (21:17 +0100)]
compare region names case-sensitively

10 years agouse correct argument order with memset()
Nils Philippsen [Tue, 10 Dec 2013 15:52:37 +0000 (16:52 +0100)]
use correct argument order with memset()

10 years agouse std::fill_n to fill gain buffer with samples
Nils Philippsen [Tue, 10 Dec 2013 15:50:35 +0000 (16:50 +0100)]
use std::fill_n to fill gain buffer with samples

Using memset fills the buffer with whatever 1.0 as a double or float has
in its LSB.