ardour.git
9 years agofix OSX optimized builds (NDEBUG)
Robin Gareus [Tue, 9 Jun 2015 20:24:46 +0000 (22:24 +0200)]
fix OSX optimized builds (NDEBUG)

9 years agodebug aggregate device issue - i386/10.8 only
Robin Gareus [Tue, 9 Jun 2015 19:34:16 +0000 (21:34 +0200)]
debug aggregate device issue - i386/10.8 only

9 years agocoreaudio: initialize [output] variable.
Robin Gareus [Tue, 9 Jun 2015 17:18:31 +0000 (19:18 +0200)]
coreaudio: initialize [output] variable.

possible fix for 32bit/10.8,
AudioObjectGetPropertyDataSize error

9 years agoDon't close OSC server sockets explicitly (the subsequent call to 'lo_server_free...
John Emmas [Tue, 9 Jun 2015 15:25:20 +0000 (16:25 +0100)]
Don't close OSC server sockets explicitly (the subsequent call to 'lo_server_free()' will close the socket anyway)

9 years agoAdd the new (UINTSDEFINED) preprocessor directive to all out MSVC projects (just...
John Emmas [Tue, 9 Jun 2015 12:18:42 +0000 (13:18 +0100)]
Add the new (UINTSDEFINED) preprocessor directive to all out MSVC projects (just to be on the safe side)

9 years agoAdd a new preprocessor directive (UINTSDEFINED) which is rather annoyingly needed...
John Emmas [Tue, 9 Jun 2015 11:09:21 +0000 (12:09 +0100)]
Add a new preprocessor directive (UINTSDEFINED) which is rather annoyingly needed if liblo gets built with MSVC

9 years agoAdd a new link library that's needed when building against the newer version of liblo...
John Emmas [Tue, 9 Jun 2015 11:06:49 +0000 (12:06 +0100)]
Add a new link library that's needed when building against the newer version of liblo (0.28)

(probably only needed when building with MSVC)

9 years agoMerge branch 'ovenwerks-master'
Paul Davis [Mon, 8 Jun 2015 21:22:48 +0000 (17:22 -0400)]
Merge branch 'ovenwerks-master'

9 years agoDon't allow user to change function of modifier buttons.
Len Ovens [Fri, 5 Jun 2015 23:32:19 +0000 (16:32 -0700)]
Don't allow user to change function of modifier buttons.

9 years agoUpdate export config on stem export select tracks/busses/none
Colin Fletcher [Mon, 8 Jun 2015 19:07:52 +0000 (20:07 +0100)]
Update export config on stem export select tracks/busses/none

Call update_config() after selecting/deselecting all tracks/busses so that
the warning about 'No channels have been selected' is shown/hidden
appropriately.

9 years agoEnclose bar code number in ""s in TOC & CUE export
Colin Fletcher [Sun, 7 Jun 2015 21:51:00 +0000 (22:51 +0100)]
Enclose bar code number in ""s in TOC & CUE export

cdrdao seems to want the CATALOG field to be enclosed in double-quotes.

9 years agoRemove doubled quotes in TOC export PERFORMER field
Colin Fletcher [Sun, 7 Jun 2015 21:48:01 +0000 (22:48 +0100)]
Remove doubled quotes in TOC export PERFORMER field

toc_escape_text() already encloses its result in ""s, and if album_artist
is empty, the resulting PERFORMER """" line makes cdrdao upset. Just remove
the extra quotes.

9 years agoFix tiny typo in PortExportChannelSelector error text
Colin Fletcher [Sat, 6 Jun 2015 14:14:20 +0000 (15:14 +0100)]
Fix tiny typo in PortExportChannelSelector error text

9 years agoDon't select any routes for stem export by default
Colin Fletcher [Mon, 8 Jun 2015 13:41:29 +0000 (14:41 +0100)]
Don't select any routes for stem export by default

Now that there are 'select all tracks/busses' buttons, it makes sense to me
that stem export should start off with no routes selected, rather than all.

Maybe stem export should by default select routes that are selected in the
editor, but that's a task for another time.

9 years agoExclude inactive tracks & busses from stem export list
Colin Fletcher [Sat, 6 Jun 2015 14:13:39 +0000 (15:13 +0100)]
Exclude inactive tracks & busses from stem export list

The exported file is silent, when choosing to export either region contents or
track outputs, so there seems no point in making such routes available for stem
export at all.

Perhaps there's an arguable use case for enabling stem export of inactive
tracks, but I can't see that it's worth worrying about for now.

9 years agoAdd 'Select tracks/busses' & 'Deselect all' buttons to stem export
Colin Fletcher [Fri, 5 Jun 2015 22:08:38 +0000 (23:08 +0100)]
Add 'Select tracks/busses' & 'Deselect all' buttons to stem export

Add buttons to to select all tracks, select all busses and deselect all to
the stem export channel selector.

9 years agoCoreaudio: ignore [expected] SR changes.
Robin Gareus [Sun, 7 Jun 2015 00:32:39 +0000 (02:32 +0200)]
Coreaudio: ignore [expected] SR changes.

Don’t disconnect from engine if sample-rate change
happens during initialization.

9 years agoMerge branch 'ovenwerks-master'
Paul Davis [Thu, 4 Jun 2015 22:23:08 +0000 (18:23 -0400)]
Merge branch 'ovenwerks-master'

9 years agouse existing partial existing waveview images (if they exist) while waiting for the...
Paul Davis [Thu, 4 Jun 2015 21:45:58 +0000 (17:45 -0400)]
use existing partial existing waveview images (if they exist) while waiting for the full ones

9 years agoAdd an option in the MCP .device file to set master position (fixes #6357)
Len Ovens [Thu, 4 Jun 2015 22:07:43 +0000 (15:07 -0700)]
Add an option in the MCP .device file to set master position (fixes #6357)

9 years agoClean up mackie surface profile editor from things that don't work or match the macki...
Len Ovens [Thu, 4 Jun 2015 22:02:51 +0000 (15:02 -0700)]
Clean up mackie surface profile editor from things that don't work or match the mackie hardware (fixes #6342)

9 years agoMackieControl: Make ctl put v-pot in fine mode.
Paul Davis [Thu, 4 Jun 2015 21:58:24 +0000 (17:58 -0400)]
MackieControl: Make ctl put v-pot in fine mode.

9 years agouse existing partial existing waveview images (if they exist) while waiting for the...
Paul Davis [Thu, 4 Jun 2015 21:45:58 +0000 (17:45 -0400)]
use existing partial existing waveview images (if they exist) while waiting for the full ones

9 years agoMake ctl put v-pot in fine mode.
Len Ovens [Thu, 4 Jun 2015 21:04:46 +0000 (14:04 -0700)]
Make ctl put v-pot in fine mode.

9 years agoEnable stationary playhead mode.
Ben Loftis [Thu, 4 Jun 2015 20:49:56 +0000 (15:49 -0500)]
Enable stationary playhead mode.
stationary playhead needs to follow same rules as regular moving playhead.

9 years agohalf-duplex Coreaudio support.
Robin Gareus [Thu, 4 Jun 2015 00:44:58 +0000 (02:44 +0200)]
half-duplex Coreaudio support.

9 years agoChange message about JACK already running to be less scary
Paul Davis [Wed, 3 Jun 2015 17:48:43 +0000 (13:48 -0400)]
Change message about JACK already running to be less scary

9 years agocheck size of peak file before attempting to use it. Rebuild from scratch if necessary.
Paul Davis [Wed, 3 Jun 2015 17:47:58 +0000 (13:47 -0400)]
check size of peak file before attempting to use it. Rebuild from scratch if necessary.

9 years agowhen AudioSource::read_peaks() provides start+cnt too close to the end, be sure to...
Paul Davis [Wed, 3 Jun 2015 17:46:59 +0000 (13:46 -0400)]
when AudioSource::read_peaks() provides start+cnt too close to the end, be sure to reset expected_peaks and scale to match the corrected values

9 years agobreak apart style errors from style warnings in pre-commit hook
Paul Davis [Tue, 2 Jun 2015 16:53:04 +0000 (12:53 -0400)]
break apart style errors from style warnings in pre-commit hook

9 years agoexpand comment
Paul Davis [Tue, 2 Jun 2015 16:27:39 +0000 (12:27 -0400)]
expand comment

9 years agodon't use the return value from AudioRegion::read_peaks() because it is either zero...
Paul Davis [Tue, 2 Jun 2015 16:17:50 +0000 (12:17 -0400)]
don't use the return value from AudioRegion::read_peaks() because it is either zero or n_peaks

9 years agoclose all source files before renaming interchange tree in Session::rename()
Paul Davis [Tue, 2 Jun 2015 16:08:59 +0000 (12:08 -0400)]
close all source files before renaming interchange tree in Session::rename()

9 years agoAudioRegion::read_peaks() should return 0 or the number of peaks read, not the number...
Paul Davis [Tue, 2 Jun 2015 16:08:02 +0000 (12:08 -0400)]
AudioRegion::read_peaks() should return 0 or the number of peaks read, not the number of samples

9 years agoAmend WaveView::send_request() such that it'll compile with MSVC
John Emmas [Tue, 2 Jun 2015 10:17:31 +0000 (11:17 +0100)]
Amend WaveView::send_request() such that it'll compile with MSVC

Hopefully, this was the original intention (I've simply amended a function call to match similar usages elsewhere in the code).

9 years agoreinstate absent image.
Paul Davis [Tue, 2 Jun 2015 01:08:42 +0000 (21:08 -0400)]
reinstate absent image.

Then go back to bed and be ill some more.

9 years agofix duplicate inc/decrement in AutoSpin?
Robin Gareus [Mon, 1 Jun 2015 22:57:58 +0000 (00:57 +0200)]
fix duplicate inc/decrement in AutoSpin?

9 years agoNOOP, fix whitespace
Robin Gareus [Mon, 1 Jun 2015 21:58:23 +0000 (23:58 +0200)]
NOOP, fix whitespace

9 years agoalways round integer steps (regardless of enum)
Robin Gareus [Mon, 1 Jun 2015 19:47:08 +0000 (21:47 +0200)]
always round integer steps (regardless of enum)

9 years agoproperly handle integer steps in plugin controls
Robin Gareus [Mon, 1 Jun 2015 19:27:14 +0000 (21:27 +0200)]
properly handle integer steps in plugin controls

The integer steps min/max are inclusive.
e.g the integer range -1 to +1 has three possible values (not two).

9 years agofix cursor in smart mode, when moving up and down the frame handles
Ben Loftis [Mon, 1 Jun 2015 21:18:10 +0000 (16:18 -0500)]
fix cursor in smart mode, when moving up and down the frame handles

9 years agoremove debug output and get logic correct to cause first render to always use the...
Paul Davis [Mon, 1 Jun 2015 18:55:17 +0000 (14:55 -0400)]
remove debug output and get logic correct to cause first render to always use the render thread

9 years agodrop in threaded waveview changes via the two affected files.
Paul Davis [Mon, 1 Jun 2015 18:45:32 +0000 (14:45 -0400)]
drop in threaded waveview changes via the two affected files.

Rebasing the feature branch against master was too messy, and only these two files were
changed. The development history of this branch could easily have been --squash'ed anyway,
so not much of a loss

9 years agoFix some visual loopholes when switching tools inside a region:
Ben Loftis [Mon, 1 Jun 2015 18:12:39 +0000 (13:12 -0500)]
Fix some visual loopholes when switching tools inside a region:
switching to Grab should show the fade handles...
...switching away from grab should hide them.
Also, change "always show gain" preference to show lines, but not control points.

9 years agofix importing A2 automation data - fixes #6359
Robin Gareus [Mon, 1 Jun 2015 16:17:34 +0000 (18:17 +0200)]
fix importing A2 automation data - fixes #6359

9 years agocoreaudio support for multiple devices
Robin Gareus [Tue, 5 May 2015 15:28:31 +0000 (17:28 +0200)]
coreaudio support for multiple devices

9 years agoengine dialog fixes for multiple devices
Robin Gareus [Sun, 31 May 2015 20:14:44 +0000 (22:14 +0200)]
engine dialog fixes for multiple devices

9 years agoAllow selection of input and output devices in EngineDialog for backends that support it
Tim Mayberry [Tue, 5 May 2015 02:59:26 +0000 (12:59 +1000)]
Allow selection of input and output devices in EngineDialog for backends that support it

Some refactoring was necessary to avoid code duplication

Restoring of device state for input and output devices still doesn't work
correctly. I'm not quite sure what the issue is at this stage.

9 years agoAdd API to ARDOUR::AudioBackend to allow different input and output devices
Tim Mayberry [Sat, 9 May 2015 01:35:27 +0000 (11:35 +1000)]
Add API to ARDOUR::AudioBackend to allow different input and output devices

Used spaces instead of tabs for whitespace consistancy with rest of header

9 years agofix the cairo-fletcher-fluctuation
Robin Gareus [Sun, 31 May 2015 17:40:04 +0000 (19:40 +0200)]
fix the cairo-fletcher-fluctuation

CF reports occasional “rendering icon 1 at size 1 x 1”
always followed by “rendering icon 1 at size 21 x 21”.

Probably a GTK bug with some specific version of GTK.

9 years agovector icons should at least be 6x6 px
Robin Gareus [Sat, 30 May 2015 15:28:32 +0000 (17:28 +0200)]
vector icons should at least be 6x6 px

9 years agoStationary Playhead.
Ben Loftis [Sat, 30 May 2015 13:31:09 +0000 (08:31 -0500)]
Stationary Playhead.
It is hard to locate/edit while playing, in this mode.
I think it needs to be an action, not a mode.

9 years agofactor out Route::muted_by_others from existing code
Ben Loftis [Fri, 29 May 2015 20:17:46 +0000 (15:17 -0500)]
factor out Route::muted_by_others from existing code

9 years agotweaks and improvements to Save-As
Paul Davis [Thu, 28 May 2015 23:26:21 +0000 (19:26 -0400)]
tweaks and improvements to Save-As

Always copy MIDI files, they are small and they get rewritten for lots of reasons, which can cause confusion
if the user elected to NOT "copy media" since the file ends up existing in both the new and old (but in use)
session.

Avoid copying analysis files on Windows, where for now the files contain illegal colon characters

9 years agochange the semantics of AudioFileSource::peak_path() and Session::peak_path() a little.
Paul Davis [Thu, 28 May 2015 23:08:47 +0000 (19:08 -0400)]
change the semantics of AudioFileSource::peak_path() and Session::peak_path() a little.

If given a full path that points outside the current session but is within another ardour session,
attempt to use the peakfiles present in that other session.

9 years agoadd name text for ToggleExternalSync action
Paul Davis [Thu, 28 May 2015 20:22:32 +0000 (16:22 -0400)]
add name text for ToggleExternalSync action

9 years agoonly use and present the buggy gradient parameter if built with a suitably patched...
Paul Davis [Thu, 28 May 2015 17:27:38 +0000 (13:27 -0400)]
only use and present the buggy gradient parameter if built with a suitably patched version of Cairo

9 years agorearrange and redesign UIConfiguration/ARDOUR_UI APIs to allow correct initialization.
Paul Davis [Thu, 28 May 2015 16:46:31 +0000 (12:46 -0400)]
rearrange and redesign UIConfiguration/ARDOUR_UI APIs to allow correct initialization.

We need to be able to set an environment variable *before* gtk_init() is called, but also to
load the color theme right after gtk_init() and before the rest of the GUI is created.

9 years agoadd control for buggy gradient option
Paul Davis [Thu, 28 May 2015 15:46:01 +0000 (11:46 -0400)]
add control for buggy gradient option

9 years agoadd buggy gradient option
Paul Davis [Thu, 28 May 2015 15:45:49 +0000 (11:45 -0400)]
add buggy gradient option

9 years agoFix uninitialised variable.
nick_m [Thu, 28 May 2015 13:37:46 +0000 (23:37 +1000)]
Fix uninitialised variable.

9 years agoamend 3f5d17d, clear changes to MIDI as well.
Robin Gareus [Thu, 28 May 2015 12:41:17 +0000 (14:41 +0200)]
amend 3f5d17d, clear changes to MIDI as well.

9 years agoFix region paste (ctrl+v) undo.
Robin Gareus [Thu, 28 May 2015 11:18:59 +0000 (13:18 +0200)]
Fix region paste (ctrl+v) undo.

9 years agoprevent crash when using WM close button on "new route name contains bad chars" dialog.
Paul Davis [Wed, 27 May 2015 23:34:04 +0000 (19:34 -0400)]
prevent crash when using WM close button on "new route name contains bad chars" dialog.

The dialog would be created twice, once because the user hit enter etc. to indicate they were done editing,
and once because focus left the name text entry, also indicate the end of editing. We now note that we're
already processing the end of a name edit, and do nothing in that case

9 years agorelax LinuxVST GUI event loop.
Robin Gareus [Wed, 27 May 2015 21:16:59 +0000 (23:16 +0200)]
relax LinuxVST GUI event loop.

it was spinning at 100Hz.

9 years agofader: start muted, ramp up/interpolate to target
Robin Gareus [Wed, 27 May 2015 14:39:42 +0000 (16:39 +0200)]
fader: start muted, ramp up/interpolate to target

9 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

9 years agofix unsigned/signed math error
Paul Davis [Wed, 27 May 2015 12:57:16 +0000 (08:57 -0400)]
fix unsigned/signed math error

9 years agoadd new MIDI map file for M-Audio Oxygen 49, from Erik Deroo
Paul Davis [Wed, 27 May 2015 11:10:52 +0000 (07:10 -0400)]
add new MIDI map file for M-Audio Oxygen 49, from Erik Deroo

9 years agoensure that Mackie Control bank left/right commands always hit the same boundary...
Paul Davis [Tue, 26 May 2015 14:21:55 +0000 (10:21 -0400)]
ensure that Mackie Control bank left/right commands always hit the same boundary (Len Ovens)

9 years agoAdd some newly introduced sources to our MSVC project (gtkmm2ext)
John Emmas [Wed, 27 May 2015 09:21:21 +0000 (10:21 +0100)]
Add some newly introduced sources to our MSVC project (gtkmm2ext)

9 years agoGtkmm2ext::ArdourIcon::render() is needed outside of libgtkmm2ext (so let's make...
John Emmas [Wed, 27 May 2015 09:11:34 +0000 (10:11 +0100)]
Gtkmm2ext::ArdourIcon::render() is needed outside of libgtkmm2ext (so let's make it exportable)

9 years agoRationalize some aspects of region-gain control-point visibility:
Ben Loftis [Tue, 26 May 2015 21:41:03 +0000 (16:41 -0500)]
Rationalize some aspects of region-gain control-point visibility:
Visibility is driven by the currently selected mouse mode.
Visibility no longer depends on entering/exiting the region.
Range mode shows the lines but not the points.
Fixed option text to reflect new operation.

9 years agomore pixel rounding (small range icon)
Robin Gareus [Tue, 26 May 2015 17:25:47 +0000 (19:25 +0200)]
more pixel rounding (small range icon)

9 years agoicon pixel compatibility
Robin Gareus [Tue, 26 May 2015 00:38:58 +0000 (02:38 +0200)]
icon pixel compatibility

Ensure that relevant lines always end up on a pixel
(regardless of scaling).

9 years agoreplace tool pixel icons with vector drawing
Robin Gareus [Mon, 25 May 2015 22:56:51 +0000 (00:56 +0200)]
replace tool pixel icons with vector drawing

9 years agorefactor vector icon drawing
Robin Gareus [Mon, 25 May 2015 22:52:06 +0000 (00:52 +0200)]
refactor vector icon drawing

9 years agoa go at a pixel-compatible vector “hand” icon.
Robin Gareus [Mon, 25 May 2015 02:42:58 +0000 (04:42 +0200)]
a go at a pixel-compatible vector “hand” icon.

..and some related ArdourIcon changes.

9 years agoprepare Tool Icons (unused IDs)
Robin Gareus [Mon, 25 May 2015 01:28:17 +0000 (03:28 +0200)]
prepare Tool Icons (unused IDs)

9 years agouse vectorized TAV expand/shrink icons
Robin Gareus [Sun, 24 May 2015 22:26:09 +0000 (00:26 +0200)]
use vectorized TAV expand/shrink icons

9 years agovectorize TAV expand and shrink icons
Robin Gareus [Sun, 24 May 2015 22:01:18 +0000 (00:01 +0200)]
vectorize TAV expand and shrink icons

9 years agouse vectorized zoom icons instead of pixmaps.
Robin Gareus [Sun, 24 May 2015 21:10:02 +0000 (23:10 +0200)]
use vectorized zoom icons instead of pixmaps.

9 years agoconstruct vectorized Zoom Icons
Robin Gareus [Sun, 24 May 2015 21:08:46 +0000 (23:08 +0200)]
construct vectorized Zoom Icons

9 years agointroduce some lazyness
Robin Gareus [Sun, 24 May 2015 21:06:49 +0000 (23:06 +0200)]
introduce some lazyness

9 years agoNOOP, amend 3173246 comments and whitespace
Robin Gareus [Sun, 24 May 2015 19:53:06 +0000 (21:53 +0200)]
NOOP, amend 3173246 comments and whitespace

9 years agoreplace old ArdourButton::Icon API with Gtkmm2ext.
Robin Gareus [Sun, 24 May 2015 19:45:39 +0000 (21:45 +0200)]
replace old ArdourButton::Icon API with Gtkmm2ext.

9 years agomigrate ArdourButton Icon rendering to Gtkmm2ext.
Robin Gareus [Sun, 24 May 2015 19:44:27 +0000 (21:44 +0200)]
migrate ArdourButton Icon rendering to Gtkmm2ext.

part one: add new API

9 years agoremove explicit VectorIcon Element
Robin Gareus [Sun, 24 May 2015 18:28:24 +0000 (20:28 +0200)]
remove explicit VectorIcon Element

9 years agoArdourButton API: set_icon() implies Icon and No Text
Robin Gareus [Sun, 24 May 2015 18:27:37 +0000 (20:27 +0200)]
ArdourButton API: set_icon() implies Icon and No Text

9 years agoadd vector rendition of nudge icons.
Robin Gareus [Sun, 24 May 2015 18:22:50 +0000 (20:22 +0200)]
add vector rendition of nudge icons.

9 years agoprepare cleanup of ArdourButton rendering
Robin Gareus [Sun, 24 May 2015 17:35:45 +0000 (19:35 +0200)]
prepare cleanup of ArdourButton rendering

9 years agofix for MCP panner width - closes #6341
Len Ovens [Sun, 24 May 2015 15:56:40 +0000 (17:56 +0200)]
fix for MCP panner width - closes #6341

9 years agoSwap default snap modifiers (non-OSX) to avoid potential upgrade pain.
nick_m [Sat, 23 May 2015 19:50:31 +0000 (05:50 +1000)]
Swap default snap modifiers (non-OSX) to avoid potential upgrade pain.

- Disable snap now defaults to alt
- Snap absolute now defaults to alt-windows

9 years agoMerge branch 'relative_snap'
nick_m [Sat, 23 May 2015 18:15:32 +0000 (04:15 +1000)]
Merge branch 'relative_snap'

      - Many changes to the "User Interaction" pane wrt key modifiers.
      - Snap is now relative by default (override to absolute with the
        "Snap to absolute using:" modifier).
      - Midi notes now obey both snap modifiers (disable snap and absolute snap)
      - Timefx drag now selects the primary region (less user confusion).
      - Includes MIDI event id fix.

9 years agoFix bug where inserting notes in MouseContent mode disallowed resizing.
nick_m [Sat, 23 May 2015 18:04:37 +0000 (04:04 +1000)]
Fix bug where inserting notes in MouseContent mode disallowed resizing.

9 years agoMake Evoral::Event ids unique always.
nick_m [Sat, 23 May 2015 15:53:34 +0000 (01:53 +1000)]
Make Evoral::Event ids unique always.

- probably fixes a lot of cases where note ids are assumed to be
  unique (they weren't for copies and some others).
- wrong branch, but it needs testing.

9 years agoRekative snap - add comments
nick_m [Sat, 23 May 2015 15:10:06 +0000 (01:10 +1000)]
Rekative snap - add comments

9 years agoDocument snap_delta modifier mask.
nick_m [Sat, 23 May 2015 13:41:26 +0000 (23:41 +1000)]
Document snap_delta modifier mask.

9 years agoClarify the convention on modifiers and drags.
nick_m [Sat, 23 May 2015 13:19:00 +0000 (23:19 +1000)]
Clarify the convention on modifiers and drags.

9 years agoProper initialisation of _x/y_constrained.
nick_m [Sat, 23 May 2015 12:59:19 +0000 (22:59 +1000)]
Proper initialisation of _x/y_constrained.