ardour.git
9 years ago..but make cfgtool portable
Robin Gareus [Mon, 23 Mar 2015 11:34:07 +0000 (12:34 +0100)]
..but make cfgtool portable

9 years agodon’t [cross]compile cfg tool.exe
Robin Gareus [Mon, 23 Mar 2015 11:28:44 +0000 (12:28 +0100)]
don’t [cross]compile cfg tool.exe

9 years agolimit plugin-preset ‘seen_set_state’ message.
Robin Gareus [Mon, 23 Mar 2015 00:53:07 +0000 (01:53 +0100)]
limit plugin-preset ‘seen_set_state’ message.

9 years agoreplace LinkButton
Robin Gareus [Sun, 22 Mar 2015 23:23:06 +0000 (00:23 +0100)]
replace LinkButton

make link work on OSX and Windows:
Gtk-WARNING **: Unable to show ‘…’: Operation not supported

9 years agoconsolidate plugin freebie messages, fix #6151
Robin Gareus [Sun, 22 Mar 2015 23:05:47 +0000 (00:05 +0100)]
consolidate plugin freebie messages, fix #6151

9 years agocfgtool: add external VST functions used by libardour
Robin Gareus [Sun, 22 Mar 2015 22:37:55 +0000 (23:37 +0100)]
cfgtool: add external VST functions used by libardour

9 years agoupdate system_config
Robin Gareus [Sun, 22 Mar 2015 22:20:55 +0000 (23:20 +0100)]
update system_config

9 years agoconfig dump tool details.
Robin Gareus [Sun, 22 Mar 2015 22:01:29 +0000 (23:01 +0100)]
config dump tool details.

9 years agodo not install cfgtool
Robin Gareus [Sun, 22 Mar 2015 21:26:00 +0000 (22:26 +0100)]
do not install cfgtool

9 years agosmall tool to dump default config.
Robin Gareus [Sun, 22 Mar 2015 21:15:37 +0000 (22:15 +0100)]
small tool to dump default config.

9 years agoremove inconsistent default config
Robin Gareus [Sun, 22 Mar 2015 15:12:00 +0000 (16:12 +0100)]
remove inconsistent default config

use values from ardour/rc_configuration_vars.h

9 years agoadd GPL boilerplate.
Robin Gareus [Sun, 22 Mar 2015 15:07:01 +0000 (16:07 +0100)]
add GPL boilerplate.

9 years agofix #6208, negative broadcast timestamps
Robin Gareus [Sun, 22 Mar 2015 15:01:40 +0000 (16:01 +0100)]
fix #6208, negative broadcast timestamps

9 years agoAdd a new MSVC project for building the Portaudio backend
John Emmas [Sun, 22 Mar 2015 11:54:58 +0000 (11:54 +0000)]
Add a new MSVC project for building the Portaudio backend

9 years agoEngine: remember state only on “Apply” and “OK”
Robin Gareus [Sun, 22 Mar 2015 00:28:33 +0000 (01:28 +0100)]
Engine: remember state only on “Apply” and “OK”

filed under “another scary engine dialog change”

9 years agoamend 157299a, really fix “Show Toolbars”
Robin Gareus [Sat, 21 Mar 2015 20:42:39 +0000 (21:42 +0100)]
amend 157299a, really fix “Show Toolbars”

9 years ago“Show Toolbars” is not saved and on by default.
Robin Gareus [Sat, 21 Mar 2015 20:38:36 +0000 (21:38 +0100)]
“Show Toolbars” is not saved and on by default.

9 years agoconsistent ordering of Ruler Actions.
Robin Gareus [Sat, 21 Mar 2015 18:40:13 +0000 (19:40 +0100)]
consistent ordering of Ruler Actions.

9 years agoChange default zoom to Playhead
Robin Gareus [Sat, 21 Mar 2015 18:31:21 +0000 (19:31 +0100)]
Change default zoom to Playhead

9 years agoproperly apply default state
Robin Gareus [Sat, 21 Mar 2015 18:31:02 +0000 (19:31 +0100)]
properly apply default state

Actions that also have a private editor variable
need to be applied regardless of XML state.

9 years agodisable pre-fader mute by default
Robin Gareus [Sat, 21 Mar 2015 18:28:50 +0000 (19:28 +0100)]
disable pre-fader mute by default

<oofus> rgareus: pre fader sends are not really used
for FX sends, they would either be sending to other
busses or to something like headphone/cue feeds.
You don't want those mixes having stuff muted in
them as you are muting you main mix.

9 years agoRevert mistaken change in e7b0e67bc8e1b546b587ffd803b81ad5e67c171a
nick_m [Sat, 21 Mar 2015 18:35:13 +0000 (05:35 +1100)]
Revert mistaken change in e7b0e67bc8e1b546b587ffd803b81ad5e67c171a

9 years agofix --disable-plugins (bypass ‘em all)
Robin Gareus [Sat, 21 Mar 2015 16:52:27 +0000 (17:52 +0100)]
fix --disable-plugins (bypass ‘em all)

9 years agofix visual undo.
Robin Gareus [Sat, 21 Mar 2015 15:50:47 +0000 (16:50 +0100)]
fix visual undo.

TODO: Check if it’s feasible/required to add a
GUIPropertiesChanged signal and have axis-views
subscribe to it.

9 years agoonly temp. disable visual state saving.
Robin Gareus [Sat, 21 Mar 2015 15:05:21 +0000 (16:05 +0100)]
only temp. disable visual state saving.

9 years agovertical fit: hide tracks in-between
Robin Gareus [Sat, 21 Mar 2015 15:04:56 +0000 (16:04 +0100)]
vertical fit: hide tracks in-between

9 years agoRight align some more numeric entries in the meter/tempo dialogs.
nick_m [Sat, 21 Mar 2015 13:33:27 +0000 (00:33 +1100)]
Right align some more numeric entries in the meter/tempo dialogs.

9 years agoProvide an image if there are no peaks.
nick_m [Sat, 21 Mar 2015 13:31:32 +0000 (00:31 +1100)]
Provide an image if there are no peaks.

9 years agofix redraw of automation ControlPoints
Robin Gareus [Fri, 20 Mar 2015 22:31:21 +0000 (23:31 +0100)]
fix redraw of automation ControlPoints

9 years agoerror-log button: acknowledge new errors w/o hiding Log
Robin Gareus [Fri, 20 Mar 2015 21:48:53 +0000 (22:48 +0100)]
error-log button: acknowledge new errors w/o hiding Log

override toggle, in case new errors show up while
the log window is already visible

9 years agodisable light theme until it gets fixed
Robin Gareus [Fri, 20 Mar 2015 21:40:05 +0000 (22:40 +0100)]
disable light theme until it gets fixed

(or at most past the 4.0 release tag)

9 years agoError-log button: reset on LED click & button click
Robin Gareus [Fri, 20 Mar 2015 21:12:40 +0000 (22:12 +0100)]
Error-log button: reset on LED click & button click

9 years agofix AWOL semicolon in 9f842f3
Robin Gareus [Fri, 20 Mar 2015 21:08:17 +0000 (22:08 +0100)]
fix AWOL semicolon in 9f842f3

9 years agoNOOP, whitespace
Robin Gareus [Fri, 20 Mar 2015 20:38:26 +0000 (21:38 +0100)]
NOOP, whitespace

9 years agoOSC log errors
Robin Gareus [Fri, 20 Mar 2015 20:32:56 +0000 (21:32 +0100)]
OSC log errors

9 years agoOSC: fix crash when trying to set output params
Robin Gareus [Fri, 20 Mar 2015 20:19:25 +0000 (21:19 +0100)]
OSC: fix crash when trying to set output params

9 years agoOSC fix plugin numbering:
Robin Gareus [Fri, 20 Mar 2015 19:27:15 +0000 (20:27 +0100)]
OSC fix plugin numbering:

ignore non-plugin processors for OSC
/ardour/routes/plugin/parameter

fixes issue with hidden internal processors. (rec-en
track adds a hidden [meter] processor at the top,
internal returns on busses have returns etc.)

9 years agoadd missing return value
Robin Gareus [Fri, 20 Mar 2015 15:16:55 +0000 (16:16 +0100)]
add missing return value

9 years agoDon't open peakfiles O_NONBLOCK or O_NOATIME.
nick_m [Fri, 20 Mar 2015 14:02:51 +0000 (01:02 +1100)]
Don't open peakfiles O_NONBLOCK or O_NOATIME.

O_NOATIME removed due to what appears to be a bug in fuse where open fails.
O_NONBLOCK was basically unjustifiable.

9 years agoadd a non-interleaved mode to the Portaudio backend
Robin Gareus [Fri, 20 Mar 2015 10:45:56 +0000 (11:45 +0100)]
add a non-interleaved mode to the Portaudio backend

9 years agoupdate track-height scaling:
Robin Gareus [Thu, 19 Mar 2015 20:55:28 +0000 (21:55 +0100)]
update track-height scaling:

“number of visible tracks”: count automation lanes
as tracks. Distribute equally.

“Summary View”: the visual lane represents both
track + automation. Set the total height.

Left to do: recursive “Shrink” and “Expand” tools
if there is no explicit selection.

9 years agoadd API to select TAV height mode.
Robin Gareus [Thu, 19 Mar 2015 20:47:34 +0000 (21:47 +0100)]
add API to select TAV height mode.

preparation for further Summary and Number of visible
track count fixes.

* “Only Self”: don’t resize child-views (old default)
* “Total Height”: distribute height equally among
   all visible child [automation] lanes
* “Height per Lane”: given height should be applied
   to all sub-views.

9 years agovertical scroll stop on automation lanes
Robin Gareus [Thu, 19 Mar 2015 19:32:59 +0000 (20:32 +0100)]
vertical scroll stop on automation lanes

9 years agofix very unlikely null pointer dereference.
Robin Gareus [Tue, 17 Mar 2015 16:01:50 +0000 (17:01 +0100)]
fix very unlikely null pointer dereference.

9 years agofix windows + VST debug versions
Robin Gareus [Tue, 17 Mar 2015 15:30:16 +0000 (16:30 +0100)]
fix windows + VST debug versions

pthread.h needs to be included before pbd/debug.h
otherwise PTW32_VERSION is not defined, bug in 831f298

9 years agoChange the way we call 'Gtk::Main' when building with MSVC
John Emmas [Tue, 17 Mar 2015 14:53:53 +0000 (14:53 +0000)]
Change the way we call 'Gtk::Main' when building with MSVC

This is just to accommodate the fact that 'command_line_parse_error()' uses pointers to argc & argv

9 years agoError Log button, only handle LMB
Robin Gareus [Tue, 17 Mar 2015 10:59:30 +0000 (11:59 +0100)]
Error Log button, only handle LMB

Allow to fall though to the bar’s context menu.

9 years agoAbutton: only LMB clicks are “clicks”.
Robin Gareus [Tue, 17 Mar 2015 10:58:59 +0000 (11:58 +0100)]
Abutton: only LMB clicks are “clicks”.

9 years agoinitialize uninitialized variable
Robin Gareus [Tue, 17 Mar 2015 03:11:19 +0000 (04:11 +0100)]
initialize uninitialized variable

just another hint for clang/static analysis.

9 years agoamend 6aa6c2d, queue redraw for custom-LED change
Robin Gareus [Tue, 17 Mar 2015 03:02:59 +0000 (04:02 +0100)]
amend 6aa6c2d, queue redraw for custom-LED change

9 years agoAButton: decouple indicator color and active state.
Robin Gareus [Tue, 17 Mar 2015 01:08:41 +0000 (02:08 +0100)]
AButton: decouple indicator color and active state.

If a custom LED color is used, the LED does not
reflect the ExplicitActive state. Hence the
Body Element (if visible) should be used just like
for buttons without LED indicator.

9 years agochange the error-log button to toggle the log window
Robin Gareus [Tue, 17 Mar 2015 01:05:02 +0000 (02:05 +0100)]
change the error-log button to toggle the log window

9 years agoalways pack the log-LED into the status widget.
Robin Gareus [Mon, 16 Mar 2015 21:16:38 +0000 (22:16 +0100)]
always pack the log-LED into the status widget.

not only does this provide consistent look & feel,
but now the status-bar can never be empty.

Before to this change, a small useless black
rectangle remained when all elements were hidden.

9 years agofix typo
Ben Loftis [Mon, 16 Mar 2015 22:07:26 +0000 (17:07 -0500)]
fix typo

9 years agohide issues with g_close() not being available in somewhat older versions of glib
Paul Davis [Mon, 16 Mar 2015 18:34:29 +0000 (13:34 -0500)]
hide issues with g_close() not being available in somewhat older versions of glib

9 years agouse tri-state text-less LED for error-log button.
Robin Gareus [Mon, 16 Mar 2015 18:04:17 +0000 (19:04 +0100)]
use tri-state text-less LED for error-log button.

9 years agoAButton: allow to set custom LED color (for > 2 states)
Robin Gareus [Mon, 16 Mar 2015 18:03:41 +0000 (19:03 +0100)]
AButton: allow to set custom LED color (for > 2 states)

9 years agoadd a warning when using a free/demo version
Paul Davis [Mon, 16 Mar 2015 18:03:33 +0000 (13:03 -0500)]
add a warning when using a free/demo version

9 years agofix compiler warning
Paul Davis [Mon, 16 Mar 2015 18:02:20 +0000 (13:02 -0500)]
fix compiler warning

9 years agoadd PBD::toggle_file_existence()
Paul Davis [Mon, 16 Mar 2015 18:00:28 +0000 (13:00 -0500)]
add PBD::toggle_file_existence()

9 years agoavoid possible shared remote control IDs in large (>317 track) session
Paul Davis [Mon, 16 Mar 2015 18:00:09 +0000 (13:00 -0500)]
avoid possible shared remote control IDs in large (>317 track) session

9 years agowork-around engine dialog crashes.
Robin Gareus [Mon, 16 Mar 2015 14:09:16 +0000 (15:09 +0100)]
work-around engine dialog crashes.

Thanks to brilliant detective work by John E. we
can now reveal that the actual crash in
EngineControl::print_channel_count() is caused
by a seemingly unrelated exception.

The root cause however is waves/ASIO backend reporting a
buffersize that is not in list of available buffer-sizes
it reported earlier.

9 years agoadd API to query Gtk::ComboBoxText entries
Robin Gareus [Mon, 16 Mar 2015 13:37:06 +0000 (14:37 +0100)]
add API to query Gtk::ComboBoxText entries

..the overly complex C++ style variant.
iterate twice..  hell yeah.

9 years agoprevent single-axis drags in the editor summary from affecting the other axis.
Paul Davis [Sun, 15 Mar 2015 16:52:28 +0000 (11:52 -0500)]
prevent single-axis drags in the editor summary from affecting the other axis.

In theory, the EditorSummary::get_editor()/set_editor() calls
should be no-ops if the values are just passed between them,
but this turns out to be not precisely the case. Rather than
figure out exactly how ensure that this is true, mark the
new rect boundaries for the non-moving axis with -1 so that
we know to leave it alone

9 years agoAdd route dialog order hint changes.
nick_m [Sun, 15 Mar 2015 17:01:30 +0000 (04:01 +1100)]
Add route dialog order hint changes.

Add an option to insert new routes at the top of the list ("First").
Reorder/rename the entries in the dialog.
Session's _order_hint is now the signed int it always wanted to be.

9 years agoFix dragging regions to/from drop zone (#6137).
David Robillard [Sun, 15 Mar 2015 07:45:26 +0000 (03:45 -0400)]
Fix dragging regions to/from drop zone (#6137).

The previous code assumed that dragging up from the drop zone into the last
track is always valid.  This is not true when the type of the dragged region(s)
do not match that route, which resulted in a crash and/or bizarre behaviour.

This took entirely too long to figure out, there are some real nightmares in
the region drag code...

9 years agoimprove port-matrix text contrast
Robin Gareus [Sat, 14 Mar 2015 21:58:40 +0000 (22:58 +0100)]
improve port-matrix text contrast

9 years agodesaturate port matrix colors
Robin Gareus [Sat, 14 Mar 2015 20:59:12 +0000 (21:59 +0100)]
desaturate port matrix colors

grün und blau schmückt die sau.

9 years agonote to self.
Robin Gareus [Sat, 14 Mar 2015 18:26:21 +0000 (19:26 +0100)]
note to self.

9 years agoproper port unregistration (just some refactoring, noop)
Robin Gareus [Sat, 14 Mar 2015 18:25:44 +0000 (19:25 +0100)]
proper port unregistration (just some refactoring, noop)

9 years agoNon-transient ArdourDialogs and ArdourWindows appear in the centre
nick_m [Sat, 14 Mar 2015 19:25:06 +0000 (06:25 +1100)]
Non-transient ArdourDialogs and ArdourWindows appear in the centre
of the screen initially (first use in a new session) rather than at
the mouse position.

9 years agoSession import dialog is no longer a transient for the editor.
nick_m [Sat, 14 Mar 2015 18:23:09 +0000 (05:23 +1100)]
Session import dialog is no longer a transient for the editor.

9 years agoOSX has a wall clock already.
Robin Gareus [Sat, 14 Mar 2015 17:26:53 +0000 (18:26 +0100)]
OSX has a wall clock already.

9 years agotweak status-bar spacing
Robin Gareus [Sat, 14 Mar 2015 17:26:10 +0000 (18:26 +0100)]
tweak status-bar spacing

9 years agoautomatic error log window popup be gone.
Robin Gareus [Sat, 14 Mar 2015 16:28:20 +0000 (17:28 +0100)]
automatic error log window popup be gone.

9 years agoRemove the use of Window::set_keep_above() throughout startup.
nick_m [Sat, 14 Mar 2015 16:06:39 +0000 (03:06 +1100)]
Remove the use of Window::set_keep_above() throughout startup.
This has been tested, but needs testing on more platforms (check for
obscured windows/dialogs.
Also use WIN_POS_CENTER in the "ask about loading session" dialog.

9 years agoKeep the left hand list pane of the mixer the same size when resizing
nick_m [Sat, 14 Mar 2015 16:00:06 +0000 (03:00 +1100)]
Keep the left hand list pane of the mixer the same size when resizing
the mixer window (thanks JohnE).
Speeds up redisplay a bit.

9 years agoFix incorrect track ordering when creating a session from a template
nick_m [Sat, 14 Mar 2015 15:57:39 +0000 (02:57 +1100)]
Fix incorrect track ordering when creating a session from a template
(supplied order keys are correct).
This really shouldn't be needed, but historically there have been races
between the treeview and the editor order keys.
Interesting to note that there have been no reported ordering bugs when
loading sessions.

9 years agoOnly sound selected notes momentarily (#6142).
David Robillard [Sat, 14 Mar 2015 05:12:29 +0000 (01:12 -0400)]
Only sound selected notes momentarily (#6142).

This is debatable, the "sustained until mouse release" behaviour is handy
sometimes, but this way seems like what most people probably want.

Also, this "fire it and forget it and let it delete itself a bit later" thing
with MidiPlayer makes me nervous.  I guess it's unlikely someone manages to
select a note then delete a track within 100ms, but, well...

9 years agoFix stretch for MIDI regions (#6164).
David Robillard [Sat, 14 Mar 2015 04:39:52 +0000 (00:39 -0400)]
Fix stretch for MIDI regions (#6164).

9 years agoMove PC flags to avoid obscuring region name.
David Robillard [Sat, 14 Mar 2015 04:21:29 +0000 (00:21 -0400)]
Move PC flags to avoid obscuring region name.

Fixes bug #6179.  Top vs. bottom seems pretty arbitrary to me, and this solves
the obscuring issue (which is quite common since there are often PC events at
the start of MIDI files), so bottom it is.

9 years agoFix note visibility (#0006168).
David Robillard [Sat, 14 Mar 2015 02:30:11 +0000 (22:30 -0400)]
Fix note visibility (#0006168).

9 years agoDon't expand track headers to show MIDI stuff.
David Robillard [Sat, 14 Mar 2015 01:54:57 +0000 (21:54 -0400)]
Don't expand track headers to show MIDI stuff.

Fixes bug #0006138.  This solution does make the other label move when settings
are changed (presumably what the fixed width stuff was for), but I don't think
this is a big deal.  Lesser of two evils, at least.

9 years agoignore master & monitor when “solo all [in group]”
Robin Gareus [Sat, 14 Mar 2015 00:49:02 +0000 (01:49 +0100)]
ignore master & monitor when “solo all [in group]”

should fix #6193

9 years agoRight-clicking on the Loop/Punch ruler should "Do Something".
Ben Loftis [Fri, 13 Mar 2015 21:24:55 +0000 (16:24 -0500)]
Right-clicking on the Loop/Punch ruler should "Do Something".

9 years agoFix some build anomalies between PROGRAM_NAME and PROGRAM_VERSION
John Emmas [Fri, 13 Mar 2015 17:37:07 +0000 (17:37 +0000)]
Fix some build anomalies between PROGRAM_NAME and PROGRAM_VERSION

When building with MSVC, some libraries had PROGRAM_NAME set to "Mixbus" and PROGRAM_VERSION set to "3". Whereas other libraries had PROGRAM_NAME set to "Mixbus3" while PROGRAM_VERSION was an empty string.

I've a horrible feeling there must have been a reason for this but I can't quite think what it was. Hopefully though, this change will standardize everything.

9 years agoAlign number entry in the meter dialog to the right in lieu of finding
nick_m [Fri, 13 Mar 2015 16:56:14 +0000 (03:56 +1100)]
Align number entry in the meter dialog to the right in lieu of finding
the reason behind ComboBoxText's apparent miscalculation of its' layout
width).

9 years agoDon't show stock icons in any buttons (explicitly setting an image will
nick_m [Fri, 13 Mar 2015 16:53:43 +0000 (03:53 +1100)]
Don't show stock icons in any buttons (explicitly setting an image will
still work).

9 years agoDon't set the following dialogs to be transients for the editor:
nick_m [Fri, 13 Mar 2015 16:52:03 +0000 (03:52 +1100)]
Don't set the following dialogs to be transients for the editor:
Control point dialog
Edit note dialog
Both types of tempo dialog
Both types of meter dialog.

9 years agoclean out cruft from CoreAudio Backend
Robin Gareus [Fri, 13 Mar 2015 13:05:12 +0000 (14:05 +0100)]
clean out cruft from CoreAudio Backend

9 years agoonly jack+windows use portaudio.
Robin Gareus [Fri, 13 Mar 2015 12:31:48 +0000 (13:31 +0100)]
only jack+windows use portaudio.

fixes missing lib if portaudio-backend is used on on non-windows
platforms (pkg-config defines HAVE_PORTAUDIO)

9 years agocall me Mr. Backend
Robin Gareus [Fri, 13 Mar 2015 03:05:53 +0000 (04:05 +0100)]
call me Mr. Backend

simple blocking (no callback) PortAudio Backend

9 years agocheck for old configuration files and copy if user requests it.
Paul Davis [Thu, 12 Mar 2015 22:45:31 +0000 (17:45 -0500)]
check for old configuration files and copy if user requests it.

A restart is required. There is a circular dependency between the config files and the GUI, and this restart breaks it

9 years agoalter config file copying infrastructure so it can be used at a suitable time in...
Paul Davis [Thu, 12 Mar 2015 22:44:50 +0000 (17:44 -0500)]
alter config file copying infrastructure so it can be used at a suitable time in the instance's lifetime

9 years agoalways show language dialog on windows
Robin Gareus [Thu, 12 Mar 2015 19:30:46 +0000 (20:30 +0100)]
always show language dialog on windows

9 years agoNOOP whitespace fixes.
Robin Gareus [Thu, 12 Mar 2015 17:02:20 +0000 (18:02 +0100)]
NOOP whitespace fixes.

9 years agoDon't mess with the track selection at all from the editor route list
nick_m [Thu, 12 Mar 2015 17:01:55 +0000 (04:01 +1100)]
Don't mess with the track selection at all from the editor route list
when adding tracks (thinko in last commit).

9 years agofix 0096aa5 (at least for mingw)
Robin Gareus [Thu, 12 Mar 2015 16:56:06 +0000 (17:56 +0100)]
fix 0096aa5 (at least for mingw)

9 years agoAdd new routes to selection in the editor, rather than the editor
nick_m [Thu, 12 Mar 2015 15:47:16 +0000 (02:47 +1100)]
Add new routes to selection in the editor, rather than the editor
route list.
Fixes new tracks not being selected.
Also begin selection op history when adding routes.

9 years agoamend 7bb9d04, fix midi looping
Robin Gareus [Thu, 12 Mar 2015 15:09:55 +0000 (16:09 +0100)]
amend 7bb9d04, fix midi looping