ardour.git
8 years agofirst compilable version of tabbable design.
Paul Davis [Wed, 8 Jul 2015 02:12:21 +0000 (22:12 -0400)]
first compilable version of tabbable design.

I would have loved to split this apart, but there are just so many interrelated changes,
it makes little sense and would be a huge effort that would break future git bisect
use because so many intermediate commits would not compile

8 years agocompilable version of WindowProxy
Paul Davis [Fri, 3 Jul 2015 19:06:59 +0000 (15:06 -0400)]
compilable version of WindowProxy

8 years agoinitial versions of Tabbable object
Paul Davis [Fri, 3 Jul 2015 19:06:29 +0000 (15:06 -0400)]
initial versions of Tabbable object

8 years agofirst version of Gtkmm2ext::WindowProxy
Paul Davis [Wed, 1 Jul 2015 21:26:14 +0000 (17:26 -0400)]
first version of Gtkmm2ext::WindowProxy

8 years agothe basics of tabbed
Paul Davis [Tue, 21 Apr 2015 19:10:49 +0000 (15:10 -0400)]
the basics of tabbed

8 years agoprefer initialization to assignment for ARDOUR_UI
Paul Davis [Wed, 22 Apr 2015 20:09:02 +0000 (16:09 -0400)]
prefer initialization to assignment for ARDOUR_UI

8 years agothe basics of tabbed
Paul Davis [Tue, 21 Apr 2015 19:10:49 +0000 (15:10 -0400)]
the basics of tabbed

8 years agoinitialize uninitialized var - possible fix for #6400
Robin Gareus [Mon, 29 Jun 2015 18:03:36 +0000 (20:03 +0200)]
initialize uninitialized var - possible fix for #6400

8 years agoconsolidate code
Robin Gareus [Fri, 26 Jun 2015 22:56:07 +0000 (00:56 +0200)]
consolidate code

8 years agoupdate Window > Mixer accordingly
Robin Gareus [Fri, 26 Jun 2015 21:42:11 +0000 (23:42 +0200)]
update Window > Mixer accordingly

8 years agoprefer initialization to assignment for ARDOUR_UI
Paul Davis [Wed, 22 Apr 2015 20:09:02 +0000 (16:09 -0400)]
prefer initialization to assignment for ARDOUR_UI

8 years agothe basics of tabbed
Paul Davis [Tue, 21 Apr 2015 19:10:49 +0000 (15:10 -0400)]
the basics of tabbed

8 years agovolatile means hardware-volatile.
Paul Davis [Mon, 22 Feb 2016 20:25:28 +0000 (15:25 -0500)]
volatile means hardware-volatile.

8 years agoRevert "Fix compilation warnings. (gtk2_ardour part)"
Paul Davis [Mon, 22 Feb 2016 20:21:50 +0000 (15:21 -0500)]
Revert "Fix compilation warnings. (gtk2_ardour part)"

These fixes are wrong, not on their own, but because GtkPiano* should not be
using volatile. I'll fix that separately.

This reverts commit ad35ab78ebafdf5fe82ad05f31476d4fa23fcb77.

Conflicts:
gtk2_ardour/gtk_pianokeyboard.c

8 years agoSpelling correction patch from Debian
Adrian Knoth [Mon, 22 Feb 2016 20:01:23 +0000 (21:01 +0100)]
Spelling correction patch from Debian

Patch taken (and forward-ported to HEAD) from
<https://anonscm.debian.org/cgit/pkg-multimedia/ardour.git/plain/debian/patches/0100-fix-typos.patch>

8 years agodon't trip over missing `nm` tool
Nils Philippsen [Mon, 22 Feb 2016 12:41:44 +0000 (13:41 +0100)]
don't trip over missing `nm` tool

8 years agoRevert and additional change due to --strict warnings.
André Nusser [Sun, 21 Feb 2016 21:10:52 +0000 (22:10 +0100)]
Revert and additional change due to --strict warnings.

8 years agoFix compilation warnings. (gtk2_ardour part)
André Nusser [Sun, 21 Feb 2016 20:54:31 +0000 (21:54 +0100)]
Fix compilation warnings. (gtk2_ardour part)

8 years agoFix compilation warnings. (libs part)
André Nusser [Sun, 21 Feb 2016 20:54:19 +0000 (21:54 +0100)]
Fix compilation warnings. (libs part)

8 years agobetter system for managing kbd focus after cmd-w closing a dialog.
Paul Davis [Mon, 22 Feb 2016 19:03:55 +0000 (14:03 -0500)]
better system for managing kbd focus after cmd-w closing a dialog.

Key, Button and Focus In events in the editor+mixer windows cause the respective window to be noted
as the window to which focus should return after a dialog is closed with cmd/ctrl-w

8 years agomanually revert most of previous commit related to dialog/main window focus management
Paul Davis [Mon, 22 Feb 2016 18:55:31 +0000 (13:55 -0500)]
manually revert most of previous commit related to dialog/main window focus management

8 years agoos x: an initial attempt at fixing loss of keyboard focus after cmd-w to close dialog
Paul Davis [Mon, 22 Feb 2016 16:48:26 +0000 (11:48 -0500)]
os x: an initial attempt at fixing loss of keyboard focus after cmd-w to close dialog

8 years agoFix 6783, Using "Esc" key doesn't cancel creating new Track/Bus Group
Tim Mayberry [Mon, 22 Feb 2016 05:22:56 +0000 (15:22 +1000)]
Fix 6783, Using "Esc" key doesn't cancel creating new Track/Bus Group

Also fixes it for other sources of delete events like closing the dialog.

8 years agoprepare for gcc6 rint() precision degradation
Robin Gareus [Sun, 21 Feb 2016 23:07:21 +0000 (00:07 +0100)]
prepare for gcc6 rint() precision degradation

gcc6 returns a float for "rint ((float) val)"

8 years agoprevent some mess when automating control ports on midi synths
Robin Gareus [Sun, 21 Feb 2016 21:19:08 +0000 (22:19 +0100)]
prevent some mess when automating control ports on midi synths

8 years agoalsa: allow environment variable ARDOUR_ALSA_DEVICE to identify a single, arbitrary...
Paul Davis [Sun, 21 Feb 2016 17:44:54 +0000 (12:44 -0500)]
alsa: allow environment variable ARDOUR_ALSA_DEVICE to identify a single, arbitrary ALSA PCM name as the only available/allowed device

8 years agomake threaded waveview rendering a configure time option (enabled by default)
Paul Davis [Sun, 21 Feb 2016 17:34:10 +0000 (12:34 -0500)]
make threaded waveview rendering a configure time option (enabled by default)

8 years agoOS X: fix the handling of SUPER,HYPER,META (see code comment for more)
Paul Davis [Sun, 21 Feb 2016 15:40:28 +0000 (10:40 -0500)]
OS X: fix the handling of SUPER,HYPER,META (see code comment for more)

8 years agoprevent crash is VST does not implement effEditGetRect
Robin Gareus [Sun, 21 Feb 2016 12:24:20 +0000 (13:24 +0100)]
prevent crash is VST does not implement effEditGetRect

8 years agoadd an OOM check.
Robin Gareus [Sat, 20 Feb 2016 19:47:13 +0000 (20:47 +0100)]
add an OOM check.

8 years agohelp clang static analyzer
Robin Gareus [Sat, 20 Feb 2016 19:36:58 +0000 (20:36 +0100)]
help clang static analyzer

8 years agofix segfault in libardour unit-tests (possible crash in mackie sf)
Robin Gareus [Sat, 20 Feb 2016 19:24:03 +0000 (20:24 +0100)]
fix segfault in libardour unit-tests (possible crash in mackie sf)

8 years agoadd processor lookup by PBD::ID via session
Robin Gareus [Sat, 20 Feb 2016 19:22:40 +0000 (20:22 +0100)]
add processor lookup by PBD::ID via session

In preparation for Lua bindings this completes the basic set of
Session object lookup: route, source, controllable, region, processor

8 years agofix linux bundle installer
Robin Gareus [Sat, 20 Feb 2016 11:08:55 +0000 (12:08 +0100)]
fix linux bundle installer

8 years agothird time lucky
Robin Gareus [Fri, 19 Feb 2016 22:25:15 +0000 (23:25 +0100)]
third time lucky

8 years agoand now without typo
Robin Gareus [Fri, 19 Feb 2016 22:19:19 +0000 (23:19 +0100)]
and now without typo

8 years agofix Windows OSC support
Robin Gareus [Fri, 19 Feb 2016 22:16:38 +0000 (23:16 +0100)]
fix Windows OSC support

8 years agoRevert "disable threaded waveform rendering for 4.7"
Robin Gareus [Fri, 19 Feb 2016 20:13:29 +0000 (21:13 +0100)]
Revert "disable threaded waveform rendering for 4.7"

This reverts commit b0032adb4484eaa07188c46ce1d69a37c14878b6.

8 years agopossible fix for AVLinux VST bundles.
Robin Gareus [Fri, 19 Feb 2016 20:11:55 +0000 (21:11 +0100)]
possible fix for AVLinux VST bundles.

8 years agoadd MCP device file for Nucleus-via-platform MIDI 4.7
Paul Davis [Fri, 19 Feb 2016 01:28:56 +0000 (20:28 -0500)]
add MCP device file for Nucleus-via-platform MIDI

8 years agodisable threaded waveform rendering for 4.7
Paul Davis [Thu, 18 Feb 2016 23:56:05 +0000 (18:56 -0500)]
disable threaded waveform rendering for 4.7

8 years agoremove HYPER,SUPER,META modifier masks from Keyboard::RelevantModifierMask so that...
Paul Davis [Thu, 18 Feb 2016 14:44:50 +0000 (09:44 -0500)]
remove HYPER,SUPER,META modifier masks from Keyboard::RelevantModifierMask so that modifier_state_equals() works on OS X

GTK on OS X adds META when Command is pressed even though it also uses MOD2 to indicate COMMAND. So Cmd-w was actually META-MOD2-w and modifier_state_equals(MOD2)
would fail. This should have nothing but good side effects

8 years agoadd a static utility function (should really be in utils.cc and public) to show modif...
Paul Davis [Thu, 18 Feb 2016 14:43:03 +0000 (09:43 -0500)]
add a static utility function (should really be in utils.cc and public) to show modifier state in english; use said function

8 years agoAdd Pavel Potocek to authors
Tim Mayberry [Thu, 18 Feb 2016 00:52:35 +0000 (10:52 +1000)]
Add Pavel Potocek to authors

8 years agoChange the tap tempo estimator to least-squares regression
Pavel Potocek [Wed, 13 Jan 2016 14:04:29 +0000 (15:04 +0100)]
Change the tap tempo estimator to least-squares regression

8 years agonow with return value
Robin Gareus [Wed, 17 Feb 2016 16:03:14 +0000 (17:03 +0100)]
now with return value

8 years agoFix Post Export "Open Folder" button for OS X
Robin Gareus [Wed, 17 Feb 2016 15:29:58 +0000 (16:29 +0100)]
Fix Post Export "Open Folder" button for OS X

8 years agoallot to open OSX Finder with arbitrary paths
Robin Gareus [Wed, 17 Feb 2016 15:29:25 +0000 (16:29 +0100)]
allot to open OSX Finder with arbitrary paths

8 years agotranslatable missing plugin message
Robin Gareus [Wed, 17 Feb 2016 13:44:22 +0000 (14:44 +0100)]
translatable missing plugin message

8 years agoamend missing plugin message to hint that a plugin may be blacklisted
Robin Gareus [Wed, 17 Feb 2016 13:26:18 +0000 (14:26 +0100)]
amend missing plugin message to hint that a plugin may be blacklisted

8 years agoMake sure that MSVC knows which version of 'ceil()' we want
John Emmas [Wed, 17 Feb 2016 12:17:05 +0000 (12:17 +0000)]
Make sure that MSVC knows which version of 'ceil()' we want

(it doesn't have a version that understands 'framecnt_t')

8 years agoOSC: remove "/session/loaded" message altogether, for testing on Win.
Ben Loftis [Tue, 16 Feb 2016 22:06:39 +0000 (16:06 -0600)]
OSC: remove "/session/loaded" message altogether, for testing on Win.

8 years agoFill some more VST transport flags.
Ben Loftis [Tue, 16 Feb 2016 21:32:58 +0000 (15:32 -0600)]
Fill some more VST transport flags.

8 years agofix normalize + trim silence at end.
Robin Gareus [Tue, 16 Feb 2016 21:24:01 +0000 (22:24 +0100)]
fix normalize + trim silence at end.

8 years agoprepare threshold for silence trim
Robin Gareus [Tue, 16 Feb 2016 20:25:54 +0000 (21:25 +0100)]
prepare threshold for silence trim

8 years agowork-around case where metric is NULL in split cycles.
Robin Gareus [Tue, 16 Feb 2016 17:17:13 +0000 (18:17 +0100)]
work-around case where metric is NULL in split cycles.

This really needs to be fixed on a higher level.
e.g Pluin::connect_and_run() needs to be passed the current time identical to
PluginInsert::connect_and_run()

8 years agotry to catch https://github.com/rncbc/synthv1/issues/1#issuecomment-183041991
Robin Gareus [Tue, 16 Feb 2016 14:36:43 +0000 (15:36 +0100)]
try to catch https://github.com/rncbc/synthv1/issues/1#issuecomment-183041991

(n_samples = 64 but Ardour sends midi-buffer with an event at 960)

some guesses as to why:
 - split cycle for looping (nominal: 1024, cycle split:64)
 - plugin uses _session.transport_frame() directly :(
   (not latency compensated offset or looped position)
 - "offset" is not taken into account for midi buffers
 - tempo/metric change (metric iterator is wrong after loop)

8 years agoRevert "proper debug prints for Analyser"
Robin Gareus [Tue, 16 Feb 2016 14:13:12 +0000 (15:13 +0100)]
Revert "proper debug prints for Analyser"

This reverts commit 9a281963e143d1191d701f6f248a956bdaf9200d.

audiographer cannot use symbols from libardour (cyclic dependency)
(only headers only are ok)
"DebugBits ExportAnalysis" symbol break windows and unit-test builds.

8 years agore-bin analysis results to take silence striping into account.
Robin Gareus [Tue, 16 Feb 2016 14:09:31 +0000 (15:09 +0100)]
re-bin analysis results to take silence striping into account.

8 years agochunk data before analysis, prefer 8K
Robin Gareus [Tue, 16 Feb 2016 13:25:49 +0000 (14:25 +0100)]
chunk data before analysis, prefer 8K

* consistent spectrum display for all reports (same binsize)
* improved performance (power of two)

8 years agoAnalysis: 1 sample slack (for resampling rounding)
Robin Gareus [Tue, 16 Feb 2016 13:24:08 +0000 (14:24 +0100)]
Analysis: 1 sample slack (for resampling rounding)

8 years agofix Export SRC buffer report:
Robin Gareus [Tue, 16 Feb 2016 13:00:31 +0000 (14:00 +0100)]
fix Export SRC buffer report:

the resampler is always fed with N channels, it won't output half channels

8 years agoFix Analysis duration for added silence
Robin Gareus [Tue, 16 Feb 2016 12:22:12 +0000 (13:22 +0100)]
Fix Analysis duration for added silence

8 years agodon't re-use variable names
Robin Gareus [Tue, 16 Feb 2016 12:21:45 +0000 (13:21 +0100)]
don't re-use variable names

8 years agoproper debug prints for Analyser
Robin Gareus [Tue, 16 Feb 2016 12:21:28 +0000 (13:21 +0100)]
proper debug prints for Analyser

8 years agoExport Analysis GUI: clarify signal-distribution axis labels
Robin Gareus [Tue, 16 Feb 2016 01:58:41 +0000 (02:58 +0100)]
Export Analysis GUI: clarify signal-distribution axis labels

8 years agomove "Normalization Gain" display to the left box & colorize it.
Robin Gareus [Tue, 16 Feb 2016 00:43:30 +0000 (01:43 +0100)]
move "Normalization Gain" display to the left box & colorize it.

8 years agoOSX build - ignore order of options (and fix indent on the way)
Robin Gareus [Mon, 15 Feb 2016 23:05:26 +0000 (00:05 +0100)]
OSX build - ignore order of options (and fix indent on the way)

We call the script with "--nls --public" and not "--public --nls"
--public did unset "WITH_NLS"

8 years agofix typo in previous commit
Ben Loftis [Mon, 15 Feb 2016 23:29:54 +0000 (17:29 -0600)]
fix typo in previous commit

8 years agoDefer session_loaded until AFTER lo_server_new.
Ben Loftis [Mon, 15 Feb 2016 22:55:21 +0000 (16:55 -0600)]
Defer session_loaded until AFTER lo_server_new.
This seems like the right thing to do, and -might- fix OSC on Windows.

8 years agomore Export Report GUI tweaks:
Robin Gareus [Mon, 15 Feb 2016 18:12:46 +0000 (19:12 +0100)]
more Export Report GUI tweaks:

* properly indent y-axis labels
* show N/A if EBU-R128 is not available (mono/stereo only)

8 years agoupdate Export Report GUI for extended spect. range
Robin Gareus [Mon, 15 Feb 2016 17:55:24 +0000 (18:55 +0100)]
update Export Report GUI for extended spect. range

8 years agoextend analysis spectral range to -120dB
Robin Gareus [Mon, 15 Feb 2016 17:55:04 +0000 (18:55 +0100)]
extend analysis spectral range to -120dB

8 years agorefine ExportReport:
Robin Gareus [Mon, 15 Feb 2016 16:37:51 +0000 (17:37 +0100)]
refine ExportReport:

* combined Logscale/Rectified buttons
* use "Lg", "Rf" labels for now
* fix some layout bugs

8 years agoupdate Export Report GUI
Robin Gareus [Mon, 15 Feb 2016 15:34:16 +0000 (16:34 +0100)]
update Export Report GUI

* show normalization gain
* add annotation for spectrum
* log-scale / rectified waveform

8 years agoAdd normalization gain factor to Export Analysis
Robin Gareus [Mon, 15 Feb 2016 14:46:49 +0000 (15:46 +0100)]
Add normalization gain factor to Export Analysis

8 years agoMove Export Audition Buttons to the bottom
Robin Gareus [Sun, 14 Feb 2016 16:08:15 +0000 (17:08 +0100)]
Move Export Audition Buttons to the bottom

8 years agotweak spectrum color schema
Robin Gareus [Sun, 14 Feb 2016 14:14:06 +0000 (15:14 +0100)]
tweak spectrum color schema

8 years agoshow playhead on all export report widgets
Robin Gareus [Sun, 14 Feb 2016 13:02:46 +0000 (14:02 +0100)]
show playhead on all export report widgets

8 years agoEnsure export starts with a clean state
Robin Gareus [Sun, 14 Feb 2016 12:23:45 +0000 (13:23 +0100)]
Ensure export starts with a clean state

8 years agoadd missing space
Robin Gareus [Sun, 14 Feb 2016 11:55:20 +0000 (12:55 +0100)]
add missing space

8 years agoFix issue related to bug #6609, text selection not visible in track name entry
Tim Mayberry [Sun, 14 Feb 2016 01:11:26 +0000 (11:11 +1000)]
Fix issue related to bug #6609, text selection not visible in track name entry

patch submitted by Julien Roger

8 years agofix rare livelock in std::map thread_buffer_requests
Robin Gareus [Sun, 14 Feb 2016 01:13:04 +0000 (02:13 +0100)]
fix rare livelock in std::map thread_buffer_requests

During initial session load it's possible that two threads call
PBD::notify_event_loops_about_thread_creation() simultaneously
(in particular the process threads). This can lead to an
endless loop in stl_tree.h when assigning thread_buffer_requests[key]

Now we only have WriteLocks.. unless some better solution comes up a
Mutex will do.

8 years agoExport Audition: don't rely on audition-progress 100% for "end"
Robin Gareus [Sun, 14 Feb 2016 00:24:00 +0000 (01:24 +0100)]
Export Audition: don't rely on audition-progress 100% for "end"

8 years agoand another typo in d442190b
Robin Gareus [Sat, 13 Feb 2016 23:10:41 +0000 (00:10 +0100)]
and another typo in d442190b

8 years agofix typos in d442190b
Robin Gareus [Sat, 13 Feb 2016 23:02:00 +0000 (00:02 +0100)]
fix typos in d442190b

8 years agoremove C++11'isms from libptformat. back to C++98 compat.
Robin Gareus [Sat, 13 Feb 2016 22:15:47 +0000 (23:15 +0100)]
remove C++11'isms from libptformat. back to C++98 compat.

8 years agoslightly improved windows post-export hook support.
Robin Gareus [Sat, 13 Feb 2016 22:12:50 +0000 (23:12 +0100)]
slightly improved windows post-export hook support.

8 years agosome half-baked support for windows command-arg substitutions
Robin Gareus [Sat, 13 Feb 2016 16:04:11 +0000 (17:04 +0100)]
some half-baked support for windows command-arg substitutions

8 years agoadd post-export audition seeking
Robin Gareus [Sat, 13 Feb 2016 12:51:10 +0000 (13:51 +0100)]
add post-export audition seeking

8 years agoAdd preliminary PTX support for Protools 10 and 11
Damien Zammit [Thu, 4 Feb 2016 08:39:11 +0000 (19:39 +1100)]
Add preliminary PTX support for Protools 10 and 11

Signed-off-by: Damien Zammit <damien@zamaudio.com>
8 years agoUnjumble the PT5 wav ordering in regions/tracks
Damien Zammit [Tue, 2 Feb 2016 05:49:12 +0000 (16:49 +1100)]
Unjumble the PT5 wav ordering in regions/tracks
by sorting alphanumerically and case insensitively

Signed-off-by: Damien Zammit <damien@zamaudio.com>
8 years agoAdd Julien Roger to authors
Tim Mayberry [Sat, 13 Feb 2016 02:56:52 +0000 (12:56 +1000)]
Add Julien Roger to authors

8 years agoFix 6031: Fix inactive MIDI track headers when reloading session
Julien ROGER [Thu, 11 Feb 2016 23:25:17 +0000 (00:25 +0100)]
Fix 6031: Fix inactive MIDI track headers when reloading session

Update the visual state of MidiTimeAxisView accordingly to its route in
MidiTimeAxisView::set_route()

8 years agoFix 6677: Post-export script reinterprets timestamp format placeholder giving incorre...
Julien ROGER [Thu, 11 Feb 2016 02:46:51 +0000 (03:46 +0100)]
Fix 6677: Post-export script reinterprets timestamp format placeholder giving incorrect filename

Due to localtime and its statically allocated buffer, time_struct variable is
set at construct time but its value changes over time due to subsequent calls to localtime
in ardour process. Replacing localtime by localtime_r fix the problem.

This also fix 6713: Name of Audio (timestamp) does not match with written Filename in CD-Cue file

8 years agoFix 6609: Right-click in active track name box crashes
Julien ROGER [Wed, 10 Feb 2016 22:52:03 +0000 (23:52 +0100)]
Fix 6609: Right-click in active track name box crashes

When right-clicking in the text entry, popup menu grabs focus. Consequently, the "focus out" handler is called, destroys the text entry and replaces it by the label name of the track.
When menu pops up, it tries to access to a widget no longer available.

8 years agoamend d814acb - SystemExec/Export debugging
Robin Gareus [Sat, 13 Feb 2016 00:39:41 +0000 (01:39 +0100)]
amend d814acb - SystemExec/Export debugging

8 years agoadd some debugging capability for users of SystemExec. Needs review.
Ben Loftis [Sat, 13 Feb 2016 00:22:12 +0000 (18:22 -0600)]
add some debugging capability for users of SystemExec.  Needs review.

8 years agoHide "Use Buffered I/O" button when switching to backend with no control
Tim Mayberry [Fri, 12 Feb 2016 23:28:33 +0000 (09:28 +1000)]
Hide "Use Buffered I/O" button when switching to backend with no control

Which in this case means the JACK backend where the server is already running.

8 years agouse "Good" resampling quality (lower initial play latency)
Robin Gareus [Fri, 12 Feb 2016 23:58:29 +0000 (00:58 +0100)]
use "Good" resampling quality (lower initial play latency)