ardour.git
8 years agoadd option to disable or bypass plugins
Robin Gareus [Tue, 1 Sep 2015 11:27:48 +0000 (13:27 +0200)]
add option to disable or bypass plugins

8 years agoPrepare option to disable Plugins completely
Robin Gareus [Tue, 1 Sep 2015 11:26:31 +0000 (13:26 +0200)]
Prepare option to disable Plugins completely

old behavior to only bypassed plugins is being renamed.

8 years agofix AU port count - NI Reaktor5
Robin Gareus [Tue, 1 Sep 2015 10:45:59 +0000 (12:45 +0200)]
fix AU port count - NI Reaktor5

8 years agofix crash with missing .mid
Robin Gareus [Fri, 28 Aug 2015 16:48:40 +0000 (18:48 +0200)]
fix crash with missing .mid

assert in ARDOUR::MidiRegion::control() boost::shared_ptr<ARDOUR::MidiModel>::operator-> invalid ptr.
see http://pastebin.com/dTV10Zu6

8 years agofix possible deadlock on session-close
Robin Gareus [Fri, 28 Aug 2015 13:45:52 +0000 (15:45 +0200)]
fix possible deadlock on session-close

8 years agocoreaudio: re-classify port-errors as warnings
Robin Gareus [Fri, 28 Aug 2015 13:41:33 +0000 (15:41 +0200)]
coreaudio: re-classify port-errors as warnings

8 years agosynchronous shutdown of process graph.
Robin Gareus [Fri, 28 Aug 2015 13:39:06 +0000 (15:39 +0200)]
synchronous shutdown of process graph.

8 years agopre-seed session-state-version.
Robin Gareus [Fri, 28 Aug 2015 12:07:48 +0000 (14:07 +0200)]
pre-seed session-state-version.

copying/paste of many objects use ::set_state(, version) to set the
the state of the copy.  Stateful::loading_state_version is used for
state-version in those cases.

This fails for a New Session (version==0) or when creating a New Session
after loading an Ardour2 session.

8 years agoDon't truncate pretty port names when setting up port bundles
Tim Mayberry [Fri, 28 Aug 2015 00:33:01 +0000 (10:33 +1000)]
Don't truncate pretty port names when setting up port bundles

This was causing truncation in the mixer strip input/output popup menus and the
channel number identifier was truncated

8 years agofix midi note de-select #6534
Robin Gareus [Fri, 28 Aug 2015 00:25:48 +0000 (02:25 +0200)]
fix midi note de-select #6534

8 years agoFixes a double mutex unlock for Linux VSTs
Mathias Buhr [Thu, 27 Aug 2015 21:53:45 +0000 (23:53 +0200)]
Fixes a double mutex unlock for Linux VSTs

8 years agoclean-up previous commit
Ben Loftis [Thu, 20 Aug 2015 21:00:34 +0000 (16:00 -0500)]
clean-up previous commit

8 years agouse program-name for internal ports
Robin Gareus [Thu, 27 Aug 2015 14:50:09 +0000 (16:50 +0200)]
use program-name for internal ports

8 years agoclarify midi-iterator comment
Robin Gareus [Thu, 27 Aug 2015 12:43:28 +0000 (14:43 +0200)]
clarify midi-iterator comment

8 years agofix initial transform dialog display (override show_all)
Robin Gareus [Thu, 27 Aug 2015 12:24:42 +0000 (14:24 +0200)]
fix initial transform dialog display (override show_all)

8 years agoModify some functions to alleviate overflow / precision errors
John Emmas [Thu, 27 Aug 2015 11:24:21 +0000 (12:24 +0100)]
Modify some functions to alleviate overflow / precision errors

'session_frame_to_track_frame()' and its complement, 'track_frame_to_session_frame()' both accept a double and an ARDOUR::framepost_t (int64_t). For convenience these both get converted to long double. However, the functions are often called with very large values (ARDOUR::max_framepos). When this happens, rounding and precision errors can cause overflow issues. This is an attempt to alleviate that problem. Not sure if it's strictly necessary to accommodate negative values - but I'm assuming these could happen if 'speed' was negative (reverse play?)

This is the reason why 'Select All Objects' (and similar functionality) don't work for some users.

8 years agoAllow creation of region gain points by clicking on a line.
nick_m [Wed, 26 Aug 2015 16:20:43 +0000 (02:20 +1000)]
Allow creation of region gain points by clicking on a line.

- Also fixes new AutomationLine points having huge offsets
  on creation via line click (window vs canvas event sample).

8 years agofix linked midi-regions on different tracks #6541
Robin Gareus [Tue, 25 Aug 2015 01:48:54 +0000 (03:48 +0200)]
fix linked midi-regions on different tracks #6541

A somewhat hacky solution to address missing note-off events when a
linked midi-region is used on separate tracks at the same time.
see the source-code comment for further info.

8 years agofix processor paste location - fixes #6536
Robin Gareus [Mon, 24 Aug 2015 23:09:41 +0000 (01:09 +0200)]
fix processor paste location - fixes #6536

8 years agoExclude empty CC-params from "Show Existing Automation"
Robin Gareus [Mon, 24 Aug 2015 01:35:41 +0000 (03:35 +0200)]
Exclude empty CC-params from "Show Existing Automation"

8 years agoDo not send non-automated MIDI-CCs on locate.
Robin Gareus [Mon, 24 Aug 2015 00:42:31 +0000 (02:42 +0200)]
Do not send non-automated MIDI-CCs on locate.

If a "CC" automation lane was visible at least once, a Control Object
is created and henceforth saved with the session:
   <Object id="automation TrackID TYPE" ../>
It is currently not possible to remove this object. (Automation > clear
will only zero all events, but not remove the Control itself.

The bug:
After showing a MIDI-CC lane at least once Events are sent for this CC.
If there is no corresponding value in the .mid, it will be zero after
session reload.

see also 7e2c8ac

Still ToDo: "Show existing automation" shows the lane even if there
are no values nor any automation at all for the given CC.

8 years agoallow file-browser in generic-plugin-GUI to expand.
Robin Gareus [Sun, 23 Aug 2015 22:29:54 +0000 (00:29 +0200)]
allow file-browser in generic-plugin-GUI to expand.

8 years agofix mixer-strip input button update
Robin Gareus [Sun, 23 Aug 2015 17:50:04 +0000 (19:50 +0200)]
fix mixer-strip input button update

8 years agomore python2/3 compat
Robin Gareus [Sat, 22 Aug 2015 22:00:19 +0000 (00:00 +0200)]
more python2/3 compat

8 years agoAdd MCP device files for extender use.
Len Ovens [Sat, 22 Aug 2015 15:19:51 +0000 (08:19 -0700)]
Add MCP device files for extender use.

8 years agoFix auditioner underrun when seeking.
Robin Gareus [Sat, 22 Aug 2015 14:37:08 +0000 (16:37 +0200)]
Fix auditioner underrun when seeking.

prevents "disk too slow" message when seeking in the auditioner.

8 years agofix some compiler warnings (float/double)
Robin Gareus [Sat, 22 Aug 2015 02:33:51 +0000 (04:33 +0200)]
fix some compiler warnings (float/double)

8 years agoAdd 100% shuttle controls option - closes #6537
Robin Gareus [Sat, 22 Aug 2015 02:32:14 +0000 (04:32 +0200)]
Add 100% shuttle controls option - closes #6537

8 years agosupport the young serpents
Robin Gareus [Fri, 21 Aug 2015 14:34:50 +0000 (16:34 +0200)]
support the young serpents

8 years agoclear out some SessionHandleRef's on close.
Robin Gareus [Thu, 20 Aug 2015 20:27:35 +0000 (22:27 +0200)]
clear out some SessionHandleRef's on close.

8 years agopotential fix for #6515 - stall/crash during route deletion
Robin Gareus [Thu, 20 Aug 2015 01:38:22 +0000 (03:38 +0200)]
potential fix for #6515 - stall/crash during route deletion

introduced in 4.1-78-g11e371c

8 years agoclear waveform cache when shape changes - fixes #6525
Robin Gareus [Thu, 20 Aug 2015 01:01:51 +0000 (03:01 +0200)]
clear waveform cache when shape changes - fixes #6525

8 years agofix typo in prev commit
Robin Gareus [Thu, 20 Aug 2015 00:27:24 +0000 (02:27 +0200)]
fix typo in prev commit

8 years agofix "locked" + "locked to video" bug.
Robin Gareus [Thu, 20 Aug 2015 00:24:27 +0000 (02:24 +0200)]
fix "locked" + "locked to video" bug.

previously if some audio region was locked and locked to video,
the audio-region always stayed put and the video could only be
moved forward.

TODO: add an "unlock all" option.

8 years agosave/load generic-midi motorized setting - fixes #5296
Robin Gareus [Wed, 19 Aug 2015 22:19:06 +0000 (00:19 +0200)]
save/load generic-midi motorized setting - fixes #5296

8 years agoAdd missing actions from MB2 for Mike:
Ben Loftis [Wed, 19 Aug 2015 19:53:35 +0000 (14:53 -0500)]
Add missing actions from MB2 for Mike:
Set-Loop-Start/End-From-Edit-Point
Set-Punch-Start/End-From-Edit-Point

8 years agoprovisional processor control-box tweaks - possible fix for #6519
Robin Gareus [Wed, 19 Aug 2015 11:49:30 +0000 (13:49 +0200)]
provisional processor control-box tweaks - possible fix for #6519

ControlBoxes are created/destroyed regularly (plugin re-order,
track selection -> Editor Mixer,...).

Properly disconnect the timer signal in the dtor and skip updateing the
tooltip unnecessarily (duplicate calls, Changed & Timer).

This should really be undone, the timer needs to be removed and Changed() used throughout.

8 years agoFix undo/redo when changing fade out length
Tim Mayberry [Wed, 19 Aug 2015 03:52:23 +0000 (13:52 +1000)]
Fix undo/redo when changing fade out length

This may fix bug #6518 or there may be more issues to be found

8 years agoAdd undo history related debug output for debugging Undo/Redo issues
Tim Mayberry [Wed, 19 Aug 2015 03:45:01 +0000 (13:45 +1000)]
Add undo history related debug output for debugging Undo/Redo issues

8 years agoAdd PBD::DebugBit for debugging issues with undo history
Tim Mayberry [Wed, 19 Aug 2015 03:41:19 +0000 (13:41 +1000)]
Add PBD::DebugBit for debugging issues with undo history

8 years agofix error-level
Robin Gareus [Wed, 19 Aug 2015 02:09:22 +0000 (04:09 +0200)]
fix error-level

8 years agocode consistency and hints for static analysis
Robin Gareus [Wed, 19 Aug 2015 02:07:39 +0000 (04:07 +0200)]
code consistency and hints for static analysis

8 years agoChange return type and name of get_win_special_folder
Tim Mayberry [Tue, 18 Aug 2015 04:44:53 +0000 (14:44 +1000)]
Change return type and name of get_win_special_folder

Rename it get_win_special_folder_path to indicate what it is returning

Move documentation for the function into the header and use doxygen style
comments.

Fixes a couple of memory leaks in ArdourVideoToolPaths class although it looks
as if there are more.

8 years agoAdd utility function to get windows packaging directory to avoid memory leaks
Tim Mayberry [Tue, 18 Aug 2015 04:04:21 +0000 (14:04 +1000)]
Add utility function to get windows packaging directory to avoid memory leaks

There were a few other small leaks in pbd and evoral test code but I didn't
bother changing them. Perhaps this function would be better off in PBD:: so it
can be used everywhere.

8 years agoRemove unused function in bundle_env_mingw.cc
Tim Mayberry [Tue, 18 Aug 2015 03:37:25 +0000 (13:37 +1000)]
Remove unused function in bundle_env_mingw.cc

ARDOUR::ardour_dll_directory() has been used instead for some time

8 years agoFix Searchpath::operator+ to return by value rather than reference and not modify...
Tim Mayberry [Wed, 9 Jul 2014 01:03:21 +0000 (11:03 +1000)]
Fix Searchpath::operator+ to return by value rather than reference and not modify *this

ladspa_search_path was the only function using this API and it is unaffected by
the change

8 years agoFix crash when clicking on tempo or meter in main clock to edit with no Session
Tim Mayberry [Tue, 18 Aug 2015 01:02:34 +0000 (11:02 +1000)]
Fix crash when clicking on tempo or meter in main clock to edit with no Session

8 years agoChange interface to reset click sounds to default in Preferences
Tim Mayberry [Mon, 17 Aug 2015 14:04:35 +0000 (00:04 +1000)]
Change interface to reset click sounds to default in Preferences

It is not perfect but it should fix bug #6160

8 years agoInstall cursor hotspot file with --dist-target=mingw
Tim Mayberry [Mon, 17 Aug 2015 11:37:06 +0000 (21:37 +1000)]
Install cursor hotspot file with --dist-target=mingw

The extra cursor files must be copied in an external packaging script for now
until an easy way to get waf to overwrite the files is found

8 years agoRemove duplicate code in wscript after merge
Tim Mayberry [Mon, 17 Aug 2015 12:01:20 +0000 (22:01 +1000)]
Remove duplicate code in wscript after merge

8 years agoNOOP, remove trailing whitespace
Robin Gareus [Sun, 16 Aug 2015 22:10:36 +0000 (00:10 +0200)]
NOOP, remove trailing whitespace

8 years agodon't create unneeded dirs in linux bundle
Robin Gareus [Sun, 16 Aug 2015 22:09:33 +0000 (00:09 +0200)]
don't create unneeded dirs in linux bundle

8 years agoupdate comment regarding lv2 buffersizes
Robin Gareus [Sun, 16 Aug 2015 22:07:32 +0000 (00:07 +0200)]
update comment regarding lv2 buffersizes

8 years agoonly copy lv2core .ttl (exclude headers) to bundle
Robin Gareus [Sun, 16 Aug 2015 22:06:34 +0000 (00:06 +0200)]
only copy lv2core .ttl (exclude headers) to bundle

8 years agoTweaked build and run for windows
Guy Sherman [Sun, 16 Aug 2015 16:01:28 +0000 (18:01 +0200)]
Tweaked build and run for windows

Quotes were appearing around the version number. Modified wscript to
remove quotes from VERSION and PROGRAM_VERSION.

One of the places windows looks for DLLs is in directories
listed in PATH. A new file called ardev-win which sets up the
contents of PATH and LD_LIBRARY_PATH as required.

8 years agoAdd '_xgetbv()' for MSVC-9 and earlier
John Emmas [Sun, 16 Aug 2015 12:14:54 +0000 (13:14 +0100)]
Add '_xgetbv()' for MSVC-9 and earlier

8 years agocompat for old sessions with missing plugins (+doc)
Robin Gareus [Sun, 16 Aug 2015 01:45:45 +0000 (03:45 +0200)]
compat for old sessions with missing plugins (+doc)

8 years agorework processor box: handle n/a plugins
Robin Gareus [Sat, 15 Aug 2015 19:29:19 +0000 (21:29 +0200)]
rework processor box: handle n/a plugins

8 years agoprepare UI for missing plugins
Robin Gareus [Sat, 15 Aug 2015 18:49:52 +0000 (20:49 +0200)]
prepare UI for missing plugins

8 years agoUpdate Route to handle UnknownProcessors as Stubs.
Robin Gareus [Sat, 15 Aug 2015 18:20:45 +0000 (20:20 +0200)]
Update Route to handle UnknownProcessors as Stubs.

8 years agoimplement stub UnknownProcessor
Robin Gareus [Sat, 15 Aug 2015 18:19:30 +0000 (20:19 +0200)]
implement stub UnknownProcessor

8 years agofix a typo
Robin Gareus [Sat, 15 Aug 2015 17:58:37 +0000 (19:58 +0200)]
fix a typo

8 years agosave [actual] plugin i/o-configuration
Robin Gareus [Sat, 15 Aug 2015 17:58:04 +0000 (19:58 +0200)]
save [actual] plugin i/o-configuration

for use with placeholder stub in case the plugin becomes n/a.

8 years agocont'd work on piano roll highlighting.
Robin Gareus [Sat, 15 Aug 2015 03:13:14 +0000 (05:13 +0200)]
cont'd work on piano roll highlighting.

8 years agoHighlight note in piano roll - #6510
Robin Gareus [Sat, 15 Aug 2015 01:08:55 +0000 (03:08 +0200)]
Highlight note in piano roll - #6510

8 years agofix locate to wallclock fix for PM (>= 2^31 samples)
Robin Gareus [Fri, 14 Aug 2015 22:15:55 +0000 (00:15 +0200)]
fix locate to wallclock fix for PM (>= 2^31 samples)

8 years agouse buf-size.h only with lv2-1.2 or later
Robin Gareus [Fri, 14 Aug 2015 20:42:35 +0000 (22:42 +0200)]
use buf-size.h only with lv2-1.2 or later

8 years agorelax LV2 buffersize restrictions
Robin Gareus [Fri, 14 Aug 2015 17:24:40 +0000 (19:24 +0200)]
relax LV2 buffersize restrictions

check only required features, not optional ones.

8 years agodon't even list LV2 plugins that cannot be used.
Robin Gareus [Fri, 14 Aug 2015 16:12:05 +0000 (18:12 +0200)]
don't even list LV2 plugins that cannot be used.

8 years agoFixed Mackie control port naming for extender use (fixes #6500)
Len Ovens [Fri, 14 Aug 2015 15:57:13 +0000 (08:57 -0700)]
Fixed Mackie control port naming for extender use (fixes #6500)

8 years agorefuse to load LV2 plugins if buffersize requirements cannot be satisfied.
Robin Gareus [Fri, 14 Aug 2015 15:49:47 +0000 (17:49 +0200)]
refuse to load LV2 plugins if buffersize requirements cannot be satisfied.

8 years agofix Dummy backend API. Already_configured means "externally".
Robin Gareus [Fri, 14 Aug 2015 14:23:10 +0000 (16:23 +0200)]
fix Dummy backend API. Already_configured means "externally".

8 years agotweaks for AVX detection
Paul Davis [Fri, 14 Aug 2015 11:29:40 +0000 (07:29 -0400)]
tweaks for AVX detection

8 years agoFix bug #6337, clicking in canvas without session loaded causes crash
Tim Mayberry [Fri, 14 Aug 2015 06:04:24 +0000 (16:04 +1000)]
Fix bug #6337, clicking in canvas without session loaded causes crash

8 years agoallow to export loop-range w/o looping. fixes #6508
Robin Gareus [Fri, 14 Aug 2015 00:32:29 +0000 (02:32 +0200)]
allow to export loop-range w/o looping. fixes #6508

8 years agosave-as: default to current session name.
Robin Gareus [Thu, 13 Aug 2015 23:37:28 +0000 (01:37 +0200)]
save-as: default to current session name.

this allows to easily add suffixes or otherwise tweak
the current session-name.

8 years agodon't allow save-as to write to an existing dir.
Robin Gareus [Thu, 13 Aug 2015 23:36:32 +0000 (01:36 +0200)]
don't allow save-as to write to an existing dir.

8 years agoFixed feedback for MCP buttons and LEDs not working.
Len Ovens [Thu, 13 Aug 2015 20:00:04 +0000 (13:00 -0700)]
Fixed feedback for MCP buttons and LEDs not working.

8 years agoprovide a mechanism for ./waf dist to work without hardcoding APPNAME in wscript
Paul Davis [Thu, 13 Aug 2015 18:32:32 +0000 (14:32 -0400)]
provide a mechanism for ./waf dist to work without hardcoding APPNAME in wscript

8 years agoinstaller option to deploy libportaudio w/o WASAPI
Robin Gareus [Thu, 13 Aug 2015 04:50:03 +0000 (06:50 +0200)]
installer option to deploy libportaudio w/o WASAPI

to work-around issues on Windows 10.
http://tracker.ardour.org/view.php?id=6507

8 years agoAdded end of line to debug statment
Len Ovens [Thu, 13 Aug 2015 16:55:32 +0000 (09:55 -0700)]
Added end of line to debug statment

8 years agoupdated russian translation (from Alexandre Prokoudine) 4.2
Paul Davis [Thu, 13 Aug 2015 13:11:35 +0000 (09:11 -0400)]
updated russian translation (from Alexandre Prokoudine)

8 years agoupdate german translation (from Edgar Aichinger)
Paul Davis [Thu, 13 Aug 2015 13:00:24 +0000 (09:00 -0400)]
update german translation (from Edgar Aichinger)

8 years agofix two oddities in strings
Paul Davis [Thu, 13 Aug 2015 12:56:24 +0000 (08:56 -0400)]
fix two oddities in strings

8 years agofix live resampling (auditioning, embedded src)
Robin Gareus [Thu, 13 Aug 2015 02:30:06 +0000 (04:30 +0200)]
fix live resampling (auditioning, embedded src)

8 years agoclarify variable name
Robin Gareus [Thu, 13 Aug 2015 02:28:34 +0000 (04:28 +0200)]
clarify variable name

TODO: use a central shared location for this, and Do not allow
disk_read_chunk_frames/set_disk_write_chunk_frames to exceed it.

8 years agofix import resampling (don’t cut end short)
Robin Gareus [Thu, 13 Aug 2015 01:09:51 +0000 (03:09 +0200)]
fix import resampling (don’t cut end short)

8 years agoremove auto-return-target stuff from preferences; Ardour exposes this via auto-return...
Paul Davis [Wed, 12 Aug 2015 23:13:42 +0000 (19:13 -0400)]
remove auto-return-target stuff from preferences; Ardour exposes this via auto-return and nothing else

8 years agofix resampling (auditioning)
Robin Gareus [Wed, 12 Aug 2015 22:47:29 +0000 (00:47 +0200)]
fix resampling (auditioning)

8 years agoadd buffering preset combo selector to preferences dialog
Paul Davis [Wed, 12 Aug 2015 21:24:03 +0000 (17:24 -0400)]
add buffering preset combo selector to preferences dialog

8 years agopunctuation nitpick
Robin Gareus [Wed, 12 Aug 2015 20:21:22 +0000 (22:21 +0200)]
punctuation nitpick

8 years agoadd damo22 to authors (ptformat)
Robin Gareus [Wed, 12 Aug 2015 19:14:16 +0000 (21:14 +0200)]
add damo22 to authors (ptformat)

8 years agofix PPC builds
Robin Gareus [Wed, 12 Aug 2015 17:16:01 +0000 (19:16 +0200)]
fix PPC builds

8 years agolimit bounce processing size (fixes crashes in plugins)
Robin Gareus [Wed, 12 Aug 2015 16:59:45 +0000 (18:59 +0200)]
limit bounce processing size (fixes crashes in plugins)

compare to LV2_BUF_SIZE__maxBlockLength

8 years agoFix state restoration in EngineControl dialog for backends with driver selection
Tim Mayberry [Wed, 12 Aug 2015 14:19:01 +0000 (00:19 +1000)]
Fix state restoration in EngineControl dialog for backends with driver selection

We want to save the driver name even when the engine is running and the driver
combo is insensitive

8 years agoanother waf/regexp issue (amend 4666711)
Robin Gareus [Wed, 12 Aug 2015 05:39:12 +0000 (07:39 +0200)]
another waf/regexp issue (amend 4666711)

8 years agopython /^x86_64/ does not match 'x86_64-w64-mingw32-gcc' so what..
Robin Gareus [Wed, 12 Aug 2015 05:07:05 +0000 (07:07 +0200)]
python /^x86_64/ does not match 'x86_64-w64-mingw32-gcc' so what..

8 years agoregexp fun
Robin Gareus [Wed, 12 Aug 2015 04:22:18 +0000 (06:22 +0200)]
regexp fun

8 years agocorrectly switch between windows and (other) when deciding whether to use AVX code
Paul Davis [Wed, 12 Aug 2015 04:01:02 +0000 (00:01 -0400)]
correctly switch between windows and (other) when deciding whether to use AVX code

8 years agocomment tweak to show that the __cpuid() intrinsic belongs to MSVC and mingw
Paul Davis [Wed, 12 Aug 2015 03:45:52 +0000 (23:45 -0400)]
comment tweak to show that the __cpuid() intrinsic belongs to MSVC and mingw