ardour.git
10 years agomerge with master, with minor conflict fixes
Paul Davis [Sat, 8 Feb 2014 00:00:44 +0000 (19:00 -0500)]
merge with master, with minor conflict fixes

10 years agoequivalent change to realpath() error return as was done in master rev 60a9213035d3c
Paul Davis [Fri, 7 Feb 2014 23:49:51 +0000 (18:49 -0500)]
equivalent change to realpath() error return as was done in master rev 60a9213035d3c

10 years agowhen cleaning up sources, do not remove "stub" sources from the source list, even...
Paul Davis [Fri, 7 Feb 2014 22:38:42 +0000 (17:38 -0500)]
when cleaning up sources, do not remove "stub" sources from the source list, even though they do not exist on disk yet; remove some debug output

10 years agoadd FileSource::is_stub() declaration
Paul Davis [Fri, 7 Feb 2014 22:30:34 +0000 (17:30 -0500)]
add FileSource::is_stub() declaration

10 years agoFix egregious logic bug in FileSource::removable() and introduce FileSource::is_stub...
Paul Davis [Fri, 7 Feb 2014 22:16:13 +0000 (17:16 -0500)]
Fix egregious logic bug in FileSource::removable() and introduce FileSource::is_stub() to hide logic for deciding if a source (file) is a stub

10 years agomake backtrace symbols work again inside gtk2_ardour (-rdynamic is a link-time flag...
Paul Davis [Fri, 7 Feb 2014 20:25:18 +0000 (15:25 -0500)]
make backtrace symbols work again inside gtk2_ardour (-rdynamic is a link-time flag, not compile-time

10 years agofix utter confusion about session _path in new sessions.
Paul Davis [Fri, 7 Feb 2014 18:38:15 +0000 (13:38 -0500)]
fix utter confusion about session _path in new sessions.

Yikes!

10 years agodon't add a [shared] panner for the sends to monitoing section
Robin Gareus [Fri, 7 Feb 2014 18:30:43 +0000 (19:30 +0100)]
don't add a [shared] panner for the sends to monitoing section

fixes issue with 'stuck' mono panners (when using a stereo
monitoring section and auto-connect): the send to monitor
section is added after the main panner. At this point the
channel-count is different, but the send shared panner() with
the main route.

Here: mono-panner on track, stereo-panner; and they shared control
settings. since stereo-panner's width is 1, the position cannot be
changed.

10 years agofix stereo-panner GUI edge case (panshel changes, send|listen)
Robin Gareus [Fri, 7 Feb 2014 18:21:30 +0000 (19:21 +0100)]
fix stereo-panner GUI edge case (panshel changes, send|listen)

10 years agopanner UI: check URI and #of channels on re-configuration
Robin Gareus [Fri, 7 Feb 2014 17:05:47 +0000 (18:05 +0100)]
panner UI: check URI and #of channels on re-configuration

10 years agoupdate available panners when panshell changes
Robin Gareus [Fri, 7 Feb 2014 16:55:46 +0000 (17:55 +0100)]
update available panners when panshell changes

Fixes issue when adding splitting plugin

10 years agoadd debug-message to track down missing Sources
Robin Gareus [Wed, 5 Feb 2014 17:49:32 +0000 (18:49 +0100)]
add debug-message to track down missing Sources

10 years agomerge (w/fix) with master
Paul Davis [Tue, 4 Feb 2014 19:21:35 +0000 (14:21 -0500)]
merge (w/fix) with master

10 years agofix typo ndef, NDEBUG
Robin Gareus [Mon, 3 Feb 2014 19:25:05 +0000 (20:25 +0100)]
fix typo ndef, NDEBUG

10 years agoVBAP nomenclature s/Direction/Azimuth/
Robin Gareus [Mon, 3 Feb 2014 18:12:29 +0000 (19:12 +0100)]
VBAP nomenclature s/Direction/Azimuth/

10 years agodon't display debug message in no-debug builds
Robin Gareus [Mon, 3 Feb 2014 15:54:07 +0000 (16:54 +0100)]
don't display debug message in no-debug builds

10 years agoupdate audio-buffer assert, take offset into account
Robin Gareus [Mon, 3 Feb 2014 15:52:36 +0000 (16:52 +0100)]
update audio-buffer assert, take offset into account

10 years agoremove cruft - unused _size in audio-buffers
Robin Gareus [Mon, 3 Feb 2014 15:59:51 +0000 (16:59 +0100)]
remove cruft - unused _size in audio-buffers

10 years agofix stem-export buffer-size check
Robin Gareus [Mon, 3 Feb 2014 15:51:08 +0000 (16:51 +0100)]
fix stem-export buffer-size check

10 years agofix processor_lock
Robin Gareus [Mon, 3 Feb 2014 14:09:17 +0000 (15:09 +0100)]
fix processor_lock

Only WriterLock requires to hold process_lock() as well
otherwise Route::process_output_buffers() may deadlock

10 years agoforward port lv2_evbuf update (from jalv)
Robin Gareus [Sat, 1 Feb 2014 22:06:24 +0000 (23:06 +0100)]
forward port lv2_evbuf update (from jalv)

10 years agomake -fvisibility=hidden be controlled by ./waf configure --exports-hidden
Paul Davis [Fri, 31 Jan 2014 15:25:51 +0000 (10:25 -0500)]
make -fvisibility=hidden be controlled by ./waf configure --exports-hidden

10 years agocurrent mingw actually calls libpthread libpthread
Paul Davis [Fri, 31 Jan 2014 06:26:17 +0000 (01:26 -0500)]
current mingw actually calls libpthread libpthread

10 years agoUse round() instead of rintf() when building with MSVC
John Emmas [Thu, 30 Jan 2014 18:37:36 +0000 (18:37 +0000)]
Use round() instead of rintf() when building with MSVC

10 years agoOops - the previous namespace qualifier was also needed in gtk2_ardour/processor_box.cc
John Emmas [Thu, 30 Jan 2014 18:28:12 +0000 (18:28 +0000)]
Oops - the previous namespace qualifier was also needed in gtk2_ardour/processor_box.cc

10 years agoEnforce const correctness for a couple of iterators
John Emmas [Thu, 30 Jan 2014 16:29:37 +0000 (16:29 +0000)]
Enforce const correctness for a couple of iterators

10 years agoAdd namespace qualifiers for some occurrences of 'Gtk::CheckMenuItem' (Windows alread...
John Emmas [Thu, 30 Jan 2014 16:27:46 +0000 (16:27 +0000)]
Add namespace qualifiers for some occurrences of 'Gtk::CheckMenuItem' (Windows already has a function called 'CheckMenuItem')

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Thu, 30 Jan 2014 16:19:22 +0000 (11:19 -0500)]
Merge branch 'master' into cairocanvas

10 years agoeven though man alloca says to include <alloca.h>, it apparently isn't necessary...
Paul Davis [Thu, 30 Jan 2014 16:18:58 +0000 (11:18 -0500)]
even though man alloca says to include <alloca.h>, it apparently isn't necessary and no such header exists in the msvc world

10 years agoMerge branch 'master' into cairocanvas
Paul Davis [Wed, 29 Jan 2014 21:08:52 +0000 (16:08 -0500)]
Merge branch 'master' into cairocanvas

10 years agomove check for n_speakers so that we avoid needless work
Paul Davis [Wed, 29 Jan 2014 20:50:17 +0000 (15:50 -0500)]
move check for n_speakers so that we avoid needless work

10 years agofix vbap-speaker calculations to work with alloca()
Robin Gareus [Wed, 29 Jan 2014 20:45:13 +0000 (21:45 +0100)]
fix vbap-speaker calculations to work with alloca()

10 years agofix thinko. custom panner URL is remembered for later when port-count/panner changes
Robin Gareus [Tue, 28 Jan 2014 12:50:41 +0000 (13:50 +0100)]
fix thinko. custom panner URL is remembered for later when port-count/panner changes

10 years agovarious work to make loop/punch display work better (including fixes for bugs present...
Paul Davis [Tue, 28 Jan 2014 02:27:13 +0000 (21:27 -0500)]
various work to make loop/punch display work better (including fixes for bugs present in master also)

10 years agofix up the abomination caused by moving from variable length (multidimensional) array...
Paul Davis [Tue, 28 Jan 2014 01:37:17 +0000 (20:37 -0500)]
fix up the abomination caused by moving from variable length (multidimensional) arrays to alloca'ed arrays, specifically access to arr[a][b].

This needs checking by an actual VBAP+multispeaker user.

10 years agoprevent a strange crash while iterating over tracks (now, and maybe in the future)
Paul Davis [Tue, 28 Jan 2014 01:36:09 +0000 (20:36 -0500)]
prevent a strange crash while iterating over tracks (now, and maybe in the future)

10 years agoadd new folders to linux vst search path to help out AVLinux and some other specializ...
Paul Davis [Mon, 27 Jan 2014 19:55:58 +0000 (14:55 -0500)]
add new folders to linux vst search path to help out AVLinux and some other specialized distros

10 years agoreplace standards-wobbling variable-length-arrays with alloca()
Paul Davis [Mon, 27 Jan 2014 18:53:15 +0000 (13:53 -0500)]
replace standards-wobbling variable-length-arrays with alloca()

10 years agocomment unused function argument
Paul Davis [Mon, 27 Jan 2014 18:52:48 +0000 (13:52 -0500)]
comment unused function argument

10 years agorationalize, consolidate and make work dbl-click editing for regions and markers...
Paul Davis [Mon, 27 Jan 2014 15:09:58 +0000 (10:09 -0500)]
rationalize, consolidate and make work dbl-click editing for regions and markers, as part of the Drag model rather than discretely

10 years agocorrectly (?) indicate muted status of audio regions
Paul Davis [Sun, 26 Jan 2014 21:03:04 +0000 (16:03 -0500)]
correctly (?) indicate muted status of audio regions

10 years agoremove unused _wave_color member from waveview canvas item; use outline color for...
Paul Davis [Sun, 26 Jan 2014 21:02:38 +0000 (16:02 -0500)]
remove unused _wave_color member from waveview canvas item; use outline color for edge dots of waveforms instead of hardcoding black

10 years agofix visibility of punch and loop rects.
Paul Davis [Sun, 26 Jan 2014 19:04:23 +0000 (14:04 -0500)]
fix visibility of punch and loop rects.

They used to be in the time_line_group but this is regularly cleared of all its members (which were assumed to be time lines).

10 years agofix #5840 ; redefinition of typedef 'VstTimeInfo'
Robin Gareus [Sun, 26 Jan 2014 18:11:54 +0000 (19:11 +0100)]
fix #5840 ; redefinition of typedef 'VstTimeInfo'

10 years agofix routing display for mono synths and midi-tracks w/o synth
Robin Gareus [Sun, 26 Jan 2014 00:21:28 +0000 (01:21 +0100)]
fix routing display for mono synths and midi-tracks w/o synth

10 years agofix crash when removing synth from midi-track
Robin Gareus [Sat, 25 Jan 2014 23:46:39 +0000 (00:46 +0100)]
fix crash when removing synth from midi-track

(and there are bypassed audio-plugins after said synth)

10 years agotry to get export/visibility and build conditionals right for surfaces/, once more
Paul Davis [Sat, 25 Jan 2014 18:57:28 +0000 (13:57 -0500)]
try to get export/visibility and build conditionals right for surfaces/, once more

10 years agofix merge conflict with master
Paul Davis [Thu, 23 Jan 2014 18:41:20 +0000 (13:41 -0500)]
fix merge conflict with master

10 years agoalter surfaces build wscript to use "children" idea (like top level wscript)
Paul Davis [Thu, 23 Jan 2014 18:39:43 +0000 (13:39 -0500)]
alter surfaces build wscript to use "children" idea (like top level wscript)

Still not clear why this file requires the global keyword to make children global, but the toplevel wscript does not.

10 years agofix up obj.defines for generic MIDI wscript
Paul Davis [Thu, 23 Jan 2014 18:38:45 +0000 (13:38 -0500)]
fix up obj.defines for generic MIDI wscript

10 years agomackie code does not use poll(2) and so does not need poll.h
Paul Davis [Thu, 23 Jan 2014 18:38:23 +0000 (13:38 -0500)]
mackie code does not use poll(2) and so does not need poll.h

10 years agouse correct export/visibility macros
Paul Davis [Thu, 23 Jan 2014 18:37:28 +0000 (13:37 -0500)]
use correct export/visibility macros

10 years agochange VBAP visual parameter name again :) 3.5.308
Robin Gareus [Thu, 23 Jan 2014 14:32:26 +0000 (15:32 +0100)]
change VBAP visual parameter name again :)

10 years agoVBAP change visual parameter name. Diffusion -> Spread
Robin Gareus [Thu, 23 Jan 2014 13:57:19 +0000 (14:57 +0100)]
VBAP change visual parameter name. Diffusion -> Spread

10 years agoLV2 plugin save/delete -- fixes 5835
Robin Gareus [Thu, 23 Jan 2014 12:14:25 +0000 (13:14 +0100)]
LV2 plugin save/delete -- fixes 5835

10 years agomidi-audition: make "no synth" selection work.
Robin Gareus [Wed, 22 Jan 2014 23:22:02 +0000 (00:22 +0100)]
midi-audition: make "no synth" selection work.

10 years agoconfigurable midi audition synth
Robin Gareus [Wed, 22 Jan 2014 22:59:24 +0000 (23:59 +0100)]
configurable midi audition synth

10 years agoUpdate Russian translation
Alexandre Prokoudine [Sun, 19 Jan 2014 19:05:26 +0000 (23:05 +0400)]
Update Russian translation

Resync some terminology with proposed changes in the translation
of Mixbus (session, snapping, monitoring).

10 years agoattenuate master volume
Robin Gareus [Wed, 22 Jan 2014 17:10:44 +0000 (18:10 +0100)]
attenuate master volume

10 years agofix crash -- midi tracker reset when seeking audio
Robin Gareus [Wed, 22 Jan 2014 16:38:59 +0000 (17:38 +0100)]
fix crash -- midi tracker reset when seeking audio

10 years agoprepare midi-audition synth plugin config, incl no plugin external synth
Robin Gareus [Tue, 21 Jan 2014 17:20:17 +0000 (18:20 +0100)]
prepare midi-audition synth plugin config, incl no plugin external synth

10 years agotweak reasonable synth:
Robin Gareus [Mon, 20 Jan 2014 20:42:47 +0000 (21:42 +0100)]
tweak reasonable synth:

* prevent denormals / cut low volume
* reduce default amplitude of fundamental

10 years agoreset midi synth (panic) when seeking or re-starting audition
Robin Gareus [Mon, 20 Jan 2014 20:40:08 +0000 (21:40 +0100)]
reset midi synth (panic) when seeking or re-starting audition

10 years agoprepare GUI for auditioning midi files
Robin Gareus [Wed, 22 Jan 2014 14:26:23 +0000 (15:26 +0100)]
prepare GUI for auditioning midi files

10 years agoremove cruft
Robin Gareus [Mon, 20 Jan 2014 13:14:20 +0000 (14:14 +0100)]
remove cruft

10 years agobackend for auditioning midi-files:
Robin Gareus [Wed, 22 Jan 2014 14:25:39 +0000 (15:25 +0100)]
backend for auditioning midi-files:

* "downgrade" auditioner from AudioTrack to Track.
* add relevant methods from both AudioTrack and MidiTrack.

10 years agotake all tracks inside a midi-file into account when loading model
Robin Gareus [Mon, 20 Jan 2014 12:44:31 +0000 (13:44 +0100)]
take all tracks inside a midi-file into account when loading model

* fixes [region] length calculation,
* prepare for auditioning midi files (one track plays it all)

10 years agoopen external [read-only] midi-files on construction
Robin Gareus [Mon, 20 Jan 2014 12:38:28 +0000 (13:38 +0100)]
open external [read-only] midi-files on construction

10 years agofix midi source factory -- load_model() uses shared_from_this()
Robin Gareus [Wed, 22 Jan 2014 14:30:04 +0000 (15:30 +0100)]
fix midi source factory -- load_model() uses shared_from_this()

10 years agofix evoral assignment operator (copy buffer)
Robin Gareus [Mon, 20 Jan 2014 12:35:31 +0000 (13:35 +0100)]
fix evoral assignment operator (copy buffer)

10 years agofix bitslot already in use warning
Robin Gareus [Wed, 22 Jan 2014 12:06:58 +0000 (13:06 +0100)]
fix bitslot already in use warning

in e45151b89c64 route.cc was changed to create internal sends
directly with role = Delivery::Aux; and not Delivery::Role (0).
This change was motivated to initialize the panner for Aux-sends
in the Delivery.

Role(0) was used to override bitslot numbering during initial
construction of the object when the state is loaded from XML after
construction.

This patch adds an explicit flag for that.
(The previous Role(0) approach only worked for Aux-Sends
but not Sends, anyway.)

10 years agoditto for clock in session properties dialog
Robin Gareus [Tue, 21 Jan 2014 22:24:58 +0000 (23:24 +0100)]
ditto for clock in session properties dialog

10 years agosfdb's clock-states are not part of the session-state, use transient clock
Robin Gareus [Tue, 21 Jan 2014 21:20:44 +0000 (22:20 +0100)]
sfdb's clock-states are not part of the session-state, use transient clock

fixes issue with 'show import dialog' marking session as modified.

10 years agoMerge branch 'windows+cc' into cairocanvas
John Emmas [Mon, 20 Jan 2014 18:18:21 +0000 (18:18 +0000)]
Merge branch 'windows+cc' into cairocanvas

10 years agoI thought I'd committed these changes to 'windows+cc' but I must have forgot....
John Emmas [Mon, 20 Jan 2014 17:51:53 +0000 (17:51 +0000)]
I thought I'd committed these changes to 'windows+cc' but I must have forgot....

10 years ago'libs/gtkmm2ext' - DLL visibility stuff and associated changes needed for building...
John Emmas [Mon, 20 Jan 2014 17:01:58 +0000 (17:01 +0000)]
'libs/gtkmm2ext' - DLL visibility stuff and associated changes needed for building with MSVC. Currently includes debugging information and things that are just commented out until we have known compatibility with the other platforms (i.e. contains stuff to be removed at a later date)

10 years agoremove unused static member from MouseButton
Paul Davis [Mon, 20 Jan 2014 16:33:28 +0000 (11:33 -0500)]
remove unused static member from MouseButton

10 years agoa better, more general fix for the previous Canvas::item_going_away() issue. There...
Paul Davis [Mon, 20 Jan 2014 15:59:44 +0000 (10:59 -0500)]
a better, more general fix for the previous Canvas::item_going_away() issue. There is no need to repick the current item if the item going away is NOT the current item

10 years agoWhen removing an item which is event-insensitive, there is no need to repick the...
Paul Davis [Mon, 20 Jan 2014 15:53:58 +0000 (10:53 -0500)]
When removing an item which is event-insensitive, there is no need to repick the current item, since it can never have been used as the current item.

This fixes crashes associated with ghost notes in midi regions.

10 years agoprevent a compiler warning
Paul Davis [Mon, 20 Jan 2014 15:52:59 +0000 (10:52 -0500)]
prevent a compiler warning

10 years agomove construction point
Paul Davis [Mon, 20 Jan 2014 15:52:45 +0000 (10:52 -0500)]
move construction point

10 years agoslight code replacement
Paul Davis [Mon, 20 Jan 2014 15:52:27 +0000 (10:52 -0500)]
slight code replacement

10 years agoadd required virtual method for SrcFileSource
Paul Davis [Mon, 20 Jan 2014 14:25:13 +0000 (09:25 -0500)]
add required virtual method for SrcFileSource

10 years agoone less Conditional jump or move depends on uninitialised value(s)
Robin Gareus [Mon, 20 Jan 2014 01:07:50 +0000 (02:07 +0100)]
one less Conditional jump or move depends on uninitialised value(s)

10 years agovisibility macros and flush() added to SrcFileSource; merge with master
Paul Davis [Sun, 19 Jan 2014 22:54:47 +0000 (17:54 -0500)]
visibility macros and flush() added to SrcFileSource; merge with master

10 years agolock source list when destroying it.
Robin Gareus [Sun, 19 Jan 2014 21:37:01 +0000 (22:37 +0100)]
lock source list when destroying it.

10 years agoremove cruft
Robin Gareus [Sun, 19 Jan 2014 21:18:40 +0000 (22:18 +0100)]
remove cruft

10 years agoaudition: resampler use same quality as import
Robin Gareus [Sat, 18 Jan 2014 23:45:08 +0000 (00:45 +0100)]
audition: resampler use same quality as import

10 years agoreintroduce --lv2dir option and LV2DIR value to determine where to install builtin...
Paul Davis [Sat, 18 Jan 2014 23:21:33 +0000 (18:21 -0500)]
reintroduce --lv2dir option and LV2DIR value to determine where to install builtin LV2 plugins

10 years agofix XML parser error:
Robin Gareus [Sat, 18 Jan 2014 21:15:59 +0000 (22:15 +0100)]
fix XML parser error:

XML declaration allowed only at the start of the document

10 years agofix typo in VST flags
Robin Gareus [Sat, 18 Jan 2014 12:50:33 +0000 (13:50 +0100)]
fix typo in VST flags

10 years agoadd meter-peak (display&reset) button to gain-meters by default
Robin Gareus [Sat, 18 Jan 2014 12:50:23 +0000 (13:50 +0100)]
add meter-peak (display&reset) button to gain-meters by default

10 years agomark session dirty when panner-bypass is toggled
Robin Gareus [Sat, 18 Jan 2014 12:19:14 +0000 (13:19 +0100)]
mark session dirty when panner-bypass is toggled

10 years agotowards a SRC source + resampling during audition
Robin Gareus [Sat, 18 Jan 2014 11:31:25 +0000 (12:31 +0100)]
towards a SRC source + resampling during audition

10 years agoFix crash when instrument plugins fail to instantiate.
David Robillard [Sat, 18 Jan 2014 00:34:51 +0000 (19:34 -0500)]
Fix crash when instrument plugins fail to instantiate.

10 years agouse "portable" approach to forcing visible symbols in third party libs (qm-dsp, vamp...
Paul Davis [Fri, 17 Jan 2014 18:10:41 +0000 (13:10 -0500)]
use "portable" approach to forcing visible symbols in third party libs (qm-dsp, vamp-plugins, appleutility, clearlooks)

10 years agoadd ensure_visible_symbols() to autowaf, to hide compiler-dependent details; also...
Paul Davis [Fri, 17 Jan 2014 18:09:54 +0000 (13:09 -0500)]
add ensure_visible_symbols() to autowaf, to hide compiler-dependent details; also remove unused (mostly LV2-related) stuff from autowaf

10 years agooverride -fvisibility=hidden for the LV2plugin descriptor
Robin Gareus [Fri, 17 Jan 2014 15:10:03 +0000 (16:10 +0100)]
override -fvisibility=hidden for the LV2plugin descriptor

10 years agoremove cruft
Robin Gareus [Fri, 17 Jan 2014 14:59:51 +0000 (15:59 +0100)]
remove cruft

10 years agooverride visibility default for Apple's "appleutility" library, which was written...
Paul Davis [Fri, 17 Jan 2014 14:52:13 +0000 (09:52 -0500)]
override visibility default for Apple's "appleutility" library, which was written without symbol export control