ardour.git
8 years agoDon’t use invalid iterator during cleanup. fixes #6403
Robin Gareus [Thu, 2 Jul 2015 17:46:38 +0000 (19:46 +0200)]
Don’t use invalid iterator during cleanup. fixes #6403

8 years agodon’t compile tracks specific sources for ardour.
Robin Gareus [Thu, 2 Jul 2015 13:32:29 +0000 (15:32 +0200)]
don’t compile tracks specific sources for ardour.

8 years agopossible fix for stack overflow when parsing video info
Robin Gareus [Thu, 2 Jul 2015 12:46:46 +0000 (14:46 +0200)]
possible fix for stack overflow when parsing video info

8 years agostream of consciousness^Wtypos
Robin Gareus [Thu, 2 Jul 2015 09:23:24 +0000 (11:23 +0200)]
stream of consciousness^Wtypos

8 years agoseparate plugin & channel-strip installation
Robin Gareus [Thu, 2 Jul 2015 09:20:10 +0000 (11:20 +0200)]
separate plugin & channel-strip installation

8 years agoFifteen bytes in the harriman cache
Robin Gareus [Thu, 2 Jul 2015 08:35:44 +0000 (10:35 +0200)]
Fifteen bytes in the harriman cache

Yo ho ho and a bottle of zip.

8 years agofix another late night typo
Robin Gareus [Thu, 2 Jul 2015 08:16:02 +0000 (10:16 +0200)]
fix another late night typo

8 years agoindicate port-connections of non-track type
Robin Gareus [Thu, 2 Jul 2015 08:02:28 +0000 (10:02 +0200)]
indicate port-connections of non-track type

Previously a Midi-track with synth showed “-“ for the output
even if the audio output ports were connected. (only MIDI
connections are displayed on the button).

8 years agoMSVC doesn't like us calling 'sqrt()' with integers (it doesn't have a version which...
John Emmas [Thu, 2 Jul 2015 07:18:39 +0000 (08:18 +0100)]
MSVC doesn't like us calling 'sqrt()' with integers (it doesn't have a version which takes an int)

So let's specify which version we'd like it to use.

8 years agoMSVC doesn't have 'sleep()' (it uses 'Sleep()' with a capital 'S') so let's make...
John Emmas [Thu, 2 Jul 2015 07:16:44 +0000 (08:16 +0100)]
MSVC doesn't have 'sleep()' (it uses 'Sleep()' with a capital 'S') so let's make sure it'll still compile

(see the note about possibly using 'Glib::usleep()' ??)

8 years agoAdd some newly introduced sources to our MSVC project (gtkmm2ext)
John Emmas [Thu, 2 Jul 2015 07:13:01 +0000 (08:13 +0100)]
Add some newly introduced sources to our MSVC project (gtkmm2ext)

8 years agowhy does it have to be so hard to get all filenames right?!
Robin Gareus [Thu, 2 Jul 2015 03:21:50 +0000 (05:21 +0200)]
why does it have to be so hard to get all filenames right?!

8 years agomore early morning installer fixes
Robin Gareus [Thu, 2 Jul 2015 03:17:17 +0000 (05:17 +0200)]
more early morning installer fixes

8 years agolet’s call Mixbus “Mixbus”..
Robin Gareus [Thu, 2 Jul 2015 03:04:42 +0000 (05:04 +0200)]
let’s call Mixbus “Mixbus”..

8 years agonow with slashes.
Robin Gareus [Thu, 2 Jul 2015 02:43:56 +0000 (04:43 +0200)]
now with slashes.

8 years agosome more MB linux packaging fixes
Robin Gareus [Thu, 2 Jul 2015 02:26:53 +0000 (04:26 +0200)]
some more MB linux packaging fixes

8 years agofix another typo in MB/linux bundle
Robin Gareus [Wed, 1 Jul 2015 21:23:36 +0000 (23:23 +0200)]
fix another typo in MB/linux bundle

8 years agoget and deploy harrison binaries.
Robin Gareus [Wed, 1 Jul 2015 21:15:49 +0000 (23:15 +0200)]
get and deploy harrison binaries.

8 years agofix mixbus bundling
Robin Gareus [Wed, 1 Jul 2015 21:04:03 +0000 (23:04 +0200)]
fix mixbus bundling

8 years agoadd a raw CoreMidi data debug mode
Robin Gareus [Wed, 1 Jul 2015 20:14:30 +0000 (22:14 +0200)]
add a raw CoreMidi data debug mode

8 years agoconsolidate & document Coreaudio midi parser
Robin Gareus [Wed, 1 Jul 2015 16:14:48 +0000 (18:14 +0200)]
consolidate & document Coreaudio midi parser

8 years agoNOOP, reindent & whitespace
Robin Gareus [Tue, 30 Jun 2015 23:18:52 +0000 (01:18 +0200)]
NOOP, reindent & whitespace

8 years agoadd an explicit midi parser/chunker to CoreAudio
Robin Gareus [Tue, 30 Jun 2015 23:12:17 +0000 (01:12 +0200)]
add an explicit midi parser/chunker to CoreAudio

8 years agowhen seeking, completely refill buffers rather than just a partial refill
Paul Davis [Tue, 30 Jun 2015 14:47:02 +0000 (10:47 -0400)]
when seeking, completely refill buffers rather than just a partial refill

8 years agoset [new] draggable flag for draggable items with tooltips.
Robin Gareus [Tue, 30 Jun 2015 11:08:55 +0000 (13:08 +0200)]
set [new] draggable flag for draggable items with tooltips.

8 years agoprevent stuck & vanishing tooltips
Robin Gareus [Tue, 30 Jun 2015 11:08:22 +0000 (13:08 +0200)]
prevent stuck & vanishing tooltips

the window needs to be moved in place before presenting it.
Otherwise it is displayed at mouse-pos and moving it triggers enter/leave,
which in turn re-start the timeout..

8 years agostop PersistentTooltip flicker.
Robin Gareus [Tue, 30 Jun 2015 11:05:42 +0000 (13:05 +0200)]
stop PersistentTooltip flicker.

timeout is used for a *one-time* delayed display of the tooltip.

8 years agoUpdate Russian translation
Alexandre Prokoudine [Tue, 30 Jun 2015 08:25:36 +0000 (10:25 +0200)]
Update Russian translation

8 years agopthread_equal returns non-zero if equal. amend 5ab0288
Robin Gareus [Tue, 30 Jun 2015 07:17:43 +0000 (09:17 +0200)]
pthread_equal returns non-zero if equal. amend 5ab0288

8 years agoat least make it compile with mingw.
Robin Gareus [Tue, 30 Jun 2015 07:11:05 +0000 (09:11 +0200)]
at least make it compile with mingw.

8 years agofix headers for case-sensitive FS.
Robin Gareus [Tue, 30 Jun 2015 06:18:17 +0000 (08:18 +0200)]
fix headers for case-sensitive FS.

8 years agoRevert "fix previously cherry-picked commit to be Tracks-only, since Ardour/Mixbus...
Robin Gareus [Tue, 30 Jun 2015 06:08:13 +0000 (08:08 +0200)]
Revert "fix previously cherry-picked commit to be Tracks-only, since Ardour/Mixbus are not affected"

This reverts commit dddf76abf567a166c290c841894ee2b6b0917653.

it is relevant for Ardour/OSX, see 58fec98a and da43652

8 years agofix -Wabsolute-value
Robin Gareus [Mon, 29 Jun 2015 19:28:39 +0000 (21:28 +0200)]
fix -Wabsolute-value

8 years agoif a session cannot be loaded, dump the error stack to stderr
Paul Davis [Mon, 29 Jun 2015 20:28:04 +0000 (16:28 -0400)]
if a session cannot be loaded, dump the error stack to stderr

8 years agohandle libXML errors via our own error handling methods
Paul Davis [Mon, 29 Jun 2015 20:27:49 +0000 (16:27 -0400)]
handle libXML errors via our own error handling methods

8 years agostore all error/info/etc messages in a list inside Gtkmm2ext::UI, and provide a metho...
Paul Davis [Mon, 29 Jun 2015 20:27:03 +0000 (16:27 -0400)]
store all error/info/etc messages in a list inside Gtkmm2ext::UI, and provide a method to dump them all to a std::ostream

8 years agoremove debugging output
Paul Davis [Mon, 29 Jun 2015 17:59:40 +0000 (13:59 -0400)]
remove debugging output

8 years agopush seek-after-state-loaded into butler thread, to avoid multiple threads doing...
Paul Davis [Mon, 29 Jun 2015 17:59:26 +0000 (13:59 -0400)]
push seek-after-state-loaded into butler thread, to avoid multiple threads doing disk i/o related stuff

8 years agoimplement Ardour-only version of playhead priority, which is basically auto-return...
Paul Davis [Thu, 25 Jun 2015 17:12:47 +0000 (13:12 -0400)]
implement Ardour-only version of playhead priority, which is basically auto-return to last roll location or nothing

8 years agoRevert "start work on auto return target dropdown rather than button"
Paul Davis [Thu, 25 Jun 2015 16:47:29 +0000 (12:47 -0400)]
Revert "start work on auto return target dropdown rather than button"

This reverts commit d1cbb3fb0e36b068dbf516d21891c998266f22a2.

8 years agoRevert "properly track, update, maintain and set auto return state"
Paul Davis [Thu, 25 Jun 2015 16:47:22 +0000 (12:47 -0400)]
Revert "properly track, update, maintain and set auto return state"

This reverts commit 07d0539526239d895f22123d88411c0d4ee773a4.

8 years agovolatile should not be used to describe non-hardware lvalues, and fix const cast...
Paul Davis [Wed, 24 Jun 2015 17:09:29 +0000 (13:09 -0400)]
volatile should not be used to describe non-hardware lvalues, and fix const cast warning (which removes need for mutable)

8 years agofix unused but usable variable warning
Paul Davis [Wed, 24 Jun 2015 17:08:55 +0000 (13:08 -0400)]
fix unused but usable variable warning

8 years agofix const-cast warnings
Paul Davis [Wed, 24 Jun 2015 17:08:36 +0000 (13:08 -0400)]
fix const-cast warnings

8 years agoremove const warning in SMF C code by changing function parameter argument qualifier
Paul Davis [Wed, 24 Jun 2015 15:55:41 +0000 (11:55 -0400)]
remove const warning in SMF C code by changing function parameter argument qualifier

8 years agocomment unused but potentially usable variables
Paul Davis [Wed, 24 Jun 2015 15:49:26 +0000 (11:49 -0400)]
comment unused but potentially usable variables

8 years agocomment unused but potentially usable variables
Paul Davis [Wed, 24 Jun 2015 15:49:15 +0000 (11:49 -0400)]
comment unused but potentially usable variables

8 years agotry using threaded waveviews in tracks also
Paul Davis [Wed, 24 Jun 2015 13:30:05 +0000 (09:30 -0400)]
try using threaded waveviews in tracks also

8 years agoFixed incomplete merge for audioengine.cc
GZharun [Tue, 23 Jun 2015 10:15:32 +0000 (13:15 +0300)]
Fixed incomplete merge for audioengine.cc
[To be reviewed by] Paul Davis

8 years agonever use threaded waveview rendering for Tracks
Paul Davis [Tue, 23 Jun 2015 02:05:46 +0000 (22:05 -0400)]
never use threaded waveview rendering for Tracks

8 years agocomment out two verbose debugging outputs
Paul Davis [Thu, 18 Jun 2015 15:10:20 +0000 (11:10 -0400)]
comment out two verbose debugging outputs

8 years agoclip level is adjusted only by region amplitude (which is audible), not by _amplitude...
Paul Davis [Thu, 18 Jun 2015 13:02:31 +0000 (09:02 -0400)]
clip level is adjusted only by region amplitude (which is audible), not by _amplitude_above_axis

8 years agoattempt to correctly respond to changes in _amplitude_above_axis in ArdourCanvas...
Paul Davis [Thu, 18 Jun 2015 13:00:15 +0000 (09:00 -0400)]
attempt to correctly respond to changes in _amplitude_above_axis in ArdourCanvas::WaveView

8 years agoincrease debug bitset size to accomodate additional debug bits imported from Tracks
Paul Davis [Thu, 18 Jun 2015 12:59:49 +0000 (08:59 -0400)]
increase debug bitset size to accomodate additional debug bits imported from Tracks

8 years agoupdate waves' fader implementation, clean up whitespace, indentation, variable initia...
Paul Davis [Thu, 18 Jun 2015 12:16:43 +0000 (08:16 -0400)]
update waves' fader implementation, clean up whitespace, indentation, variable initialization and remove unused members

8 years agono-op: fix whitespace/indentation
Paul Davis [Wed, 17 Jun 2015 12:32:10 +0000 (08:32 -0400)]
no-op: fix whitespace/indentation

8 years agoFixed use case when session is being replaced with new session with the same name.
GZharun [Wed, 17 Jun 2015 12:11:07 +0000 (15:11 +0300)]
Fixed use case when session is being replaced with new session with the same name.
We should check session state file (*.ardour) presence to determine if the session is new for TracksLive as TracksLive has a use case which gives user a possibility to replace existing session by clicking on it's state file when new session is being created.
[To be Reviewed by] Paul Davis

8 years ago[Summary] This action is duplicated. To make TRX features work correctly this flag...
GZharun [Wed, 17 Jun 2015 10:32:40 +0000 (13:32 +0300)]
[Summary] This action is duplicated. To make TRX features work correctly this flag should be dropped later.
[To be Reviewed by] Paul Davis

8 years agoRevert "remove unused variables". They are used on OS X.
Paul Davis [Tue, 16 Jun 2015 15:47:35 +0000 (11:47 -0400)]
Revert "remove unused variables". They are used on OS X.

This reverts commit 0fba19e9e6e6c519c89ce63149581b8f24b38c8c.

8 years agoremove unused variables
Paul Davis [Tue, 16 Jun 2015 15:22:30 +0000 (11:22 -0400)]
remove unused variables

8 years agofix whitespace/indentation and compiler warnings
Paul Davis [Tue, 16 Jun 2015 15:22:10 +0000 (11:22 -0400)]
fix whitespace/indentation and compiler warnings

8 years agoremove compilation warning (-Wunused-but-set-variable)
Paul Davis [Tue, 16 Jun 2015 15:11:57 +0000 (11:11 -0400)]
remove compilation warning (-Wunused-but-set-variable)

8 years agonew PBD::DEBUG API changes for Waves backend
Paul Davis [Tue, 16 Jun 2015 14:06:27 +0000 (10:06 -0400)]
new PBD::DEBUG API changes for Waves backend

8 years agoRevert "replace two more instances of !! with implicit use of operator bool()"
Paul Davis [Wed, 20 May 2015 14:29:20 +0000 (10:29 -0400)]
Revert "replace two more instances of !! with implicit use of operator bool()"

This reverts commit e8eff9fb9c2fa6fc518404c2f9b731f8c28d3a23.

OS X compiler gets confused by this change.

8 years agoreplace two more instances of !! with implicit use of operator bool()
Paul Davis [Wed, 20 May 2015 12:22:36 +0000 (08:22 -0400)]
replace two more instances of !! with implicit use of operator bool()

8 years agosome more information output to log during save-as, for debugging
Paul Davis [Wed, 27 May 2015 14:57:40 +0000 (10:57 -0400)]
some more information output to log during save-as, for debugging

8 years agotwo required changes to default values for Tracks
Paul Davis [Thu, 28 May 2015 12:56:55 +0000 (08:56 -0400)]
two required changes to default values for Tracks

8 years agoTracks doesn't know how to handle Engine (JACK) sync
Paul Davis [Wed, 27 May 2015 13:58:03 +0000 (09:58 -0400)]
Tracks doesn't know how to handle Engine (JACK) sync

8 years agofix API version SNAFU caused by re-copying EngineStateController out of Tracks
Paul Davis [Tue, 26 May 2015 15:37:44 +0000 (11:37 -0400)]
fix API version SNAFU caused by re-copying EngineStateController out of Tracks

8 years ago(re)implement Yevgeny's LTC branch changes in the context of ardour-merge-from-tracks...
Paul Davis [Tue, 26 May 2015 00:56:03 +0000 (20:56 -0400)]
(re)implement Yevgeny's LTC branch changes in the context of ardour-merge-from-tracks (just the libs/* section)

8 years agofix indentation and style guide issues in new EngineStateController code
Paul Davis [Tue, 26 May 2015 00:22:55 +0000 (20:22 -0400)]
fix indentation and style guide issues in new EngineStateController code

8 years agocopy current EngineStateController from Tracks to import Yevgeny's LTC (re)connection...
GZharun [Thu, 7 May 2015 11:55:00 +0000 (14:55 +0300)]
copy current EngineStateController from Tracks to import Yevgeny's LTC (re)connection related changes

8 years agofix previously cherry-picked commit to be Tracks-only, since Ardour/Mixbus are not...
Paul Davis [Mon, 25 May 2015 22:28:45 +0000 (18:28 -0400)]
fix previously cherry-picked commit to be Tracks-only, since Ardour/Mixbus are not affected

8 years ago[Summary] Mac OS specific bug fix: Increased priority of the top menu bar events
Nikolay [Wed, 13 May 2015 14:05:36 +0000 (17:05 +0300)]
[Summary] Mac OS specific bug fix: Increased priority of the top menu bar events

[Details] g_idle_add () which was used for this purpose used G_PRIORITY_DEFAULT_IDLE>=200 which was too low for correct main menu requests processing, like showing Mixer or Big Clock Window.

The priority was increased to G_PRIORITY_HIGH_IDLE = 100.
According to GTK manual (https://developer.gnome.org/glib/stable/glib-The-Main-Event-Loop.html#G-PRIORITY-HIGH-IDLE:CAPS)
GTK+ uses G_PRIORITY_HIGH_IDLE + 10 = 110 for resizing operations, and G_PRIORITY_HIGH_IDLE + 20 = 120 for redrawing operations.

I assume that during record or playback on tracks there are too many redraw request which didn't give any chance for main menu request to be processed in time with old priority value.

This change must be considered as a hot fix so far.
The issue might be deeper. Will be investigated with Paul.

[Feature reviewed] AMishyn
[Reviewed by] PDavis, GZharun

8 years agoRevert "experimentally remove some C++11 flags (likely to return)"
Paul Davis [Fri, 22 May 2015 22:33:01 +0000 (18:33 -0400)]
Revert "experimentally remove some C++11 flags (likely to return)"

This reverts commit a27ad61695053fc18a9630dd9e7c2418416ba915.

This was not a fix for the problem it was an attempt to fix.

8 years agonew file holding non-AVX stubs for AVX functions on linux
Paul Davis [Thu, 21 May 2015 17:48:53 +0000 (13:48 -0400)]
new file holding non-AVX stubs for AVX functions on linux

8 years agoexperimentally remove some C++11 flags (likely to return)
Paul Davis [Thu, 21 May 2015 15:25:43 +0000 (11:25 -0400)]
experimentally remove some C++11 flags (likely to return)

8 years agoensure that program version strings are not unicode
Paul Davis [Thu, 21 May 2015 15:24:05 +0000 (11:24 -0400)]
ensure that program version strings are not unicode

8 years agoFixed up types mismatch in AudioCallback and AudioCllbackData struct
GZharun [Thu, 21 May 2015 07:40:38 +0000 (10:40 +0300)]
Fixed up types mismatch in AudioCallback and AudioCllbackData struct

8 years agofix typo in wavesbackend code
Paul Davis [Wed, 20 May 2015 14:42:35 +0000 (10:42 -0400)]
fix typo in wavesbackend code

8 years agoRevert "add operator bool() to Evoral::Beats"
Paul Davis [Wed, 20 May 2015 14:30:10 +0000 (10:30 -0400)]
Revert "add operator bool() to Evoral::Beats"

This reverts commit f8b5263af5e4d5088f1d5551e999679515add432.

OS X compiler gets confused by this change.

8 years agoRevert "use newly added operator bool() for Evoral::Beats rather than double-negation...
Paul Davis [Wed, 20 May 2015 14:29:42 +0000 (10:29 -0400)]
Revert "use newly added operator bool() for Evoral::Beats rather than double-negation as boolean"

This reverts commit a19902b52f08bf33c54e60dfb49c44a1c154f4c9.

OS X compiler gets confused by this change.

8 years agoRevert "replace two more instances of !! with implicit use of operator bool()"
Paul Davis [Wed, 20 May 2015 14:29:20 +0000 (10:29 -0400)]
Revert "replace two more instances of !! with implicit use of operator bool()"

This reverts commit e8eff9fb9c2fa6fc518404c2f9b731f8c28d3a23.

OS X compiler gets confused by this change.

8 years agoreplace two more instances of !! with implicit use of operator bool()
Paul Davis [Wed, 20 May 2015 12:22:36 +0000 (08:22 -0400)]
replace two more instances of !! with implicit use of operator bool()

8 years agouse newly added operator bool() for Evoral::Beats rather than double-negation as...
Paul Davis [Wed, 20 May 2015 12:16:29 +0000 (08:16 -0400)]
use newly added operator bool() for Evoral::Beats rather than double-negation as boolean

8 years agoadd operator bool() to Evoral::Beats
Paul Davis [Wed, 20 May 2015 12:16:07 +0000 (08:16 -0400)]
add operator bool() to Evoral::Beats

8 years agouse consistent (large) size when calling to_ticks()
Paul Davis [Wed, 20 May 2015 12:07:35 +0000 (08:07 -0400)]
use consistent (large) size when calling to_ticks()

8 years agonew Session::default_track_name_pattern (DataType) method, based on an idea in Tracks
Paul Davis [Tue, 19 May 2015 19:54:52 +0000 (15:54 -0400)]
new Session::default_track_name_pattern (DataType) method, based on an idea in Tracks

8 years agoadd new Gtkmm2ext::pixel_size() to conveniently get width&height for a given font...
Paul Davis [Thu, 11 Sep 2014 20:56:49 +0000 (16:56 -0400)]
add new Gtkmm2ext::pixel_size() to conveniently get width&height for a given font + string

8 years agoFixed up the comment
GZharun [Tue, 19 May 2015 14:19:19 +0000 (17:19 +0300)]
Fixed up the comment

8 years agoadd additional check for playhead priority target when testing loop range, to match...
Paul Davis [Tue, 19 May 2015 13:40:04 +0000 (09:40 -0400)]
add additional check for playhead priority target when testing loop range, to match Tracks' logic

8 years agoadd Session::reconnection_in_progress(), used by Tracks
Paul Davis [Tue, 19 May 2015 13:29:39 +0000 (09:29 -0400)]
add Session::reconnection_in_progress(), used by Tracks

8 years agouse the frame/sample based inter-scene gap, not the msecs one (now removed)
Paul Davis [Tue, 19 May 2015 13:02:11 +0000 (09:02 -0400)]
use the frame/sample based inter-scene gap, not the msecs one (now removed)

8 years agoscene gap is measured in frames, not msecs.
Paul Davis [Tue, 19 May 2015 12:52:11 +0000 (08:52 -0400)]
scene gap is measured in frames, not msecs.

Could have used "samples" here but that can wait till we do a big rename
throughout the code base

8 years agoadd some session-scope configuration variables needed by Tracks.
Paul Davis [Tue, 19 May 2015 12:39:34 +0000 (08:39 -0400)]
add some session-scope configuration variables needed by Tracks.

Also add some comments regarding the presence of certain variables in this file

8 years agoadd more directory names to set managed via various APIs (automation, analysis, plugi...
Paul Davis [Fri, 15 May 2015 17:54:43 +0000 (13:54 -0400)]
add more directory names to set managed via various APIs (automation, analysis, plugins, externals)

8 years agoFixed a misprint in a comment
GZharun [Mon, 18 May 2015 12:40:49 +0000 (15:40 +0300)]
Fixed a misprint in a comment

8 years agoadd API for controlling and determining active status of a SceneChange
Paul Davis [Wed, 3 Dec 2014 14:15:10 +0000 (09:15 -0500)]
add API for controlling and determining active status of a SceneChange

Conflicts:
libs/ardour/ardour/scene_change.h

8 years agoWaves Backend MERGED from Tracks
GZharun [Thu, 14 May 2015 14:52:12 +0000 (17:52 +0300)]
Waves Backend MERGED from Tracks
[To be reviewed by] Paul Davis

8 years agoBackend MERGE:
GZharun [Thu, 14 May 2015 14:47:38 +0000 (17:47 +0300)]
Backend MERGE:
Paul Davis' change 3d12a4da82100466f1e5e286260759f07c2e657a
[To be reviewed by] Paul Davis