ardour.git
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

8 years agofix mingw compilation
Robin Gareus [Wed, 12 Aug 2015 03:25:29 +0000 (05:25 +0200)]
fix mingw compilation

8 years agocan't use xgetbv instruction with apple gcc under OS X Lion
Paul Davis [Wed, 12 Aug 2015 03:06:47 +0000 (23:06 -0400)]
can't use xgetbv instruction with apple gcc under OS X Lion

8 years agouse new FPU singleton pattern in gtk2_ardour
Paul Davis [Wed, 12 Aug 2015 02:58:04 +0000 (22:58 -0400)]
use new FPU singleton pattern in gtk2_ardour

8 years agoremove unnecessary namespace forward decl
Paul Davis [Wed, 12 Aug 2015 02:57:54 +0000 (22:57 -0400)]
remove unnecessary namespace forward decl

8 years agouse new FPU singleton pattern in libs/ardour
Paul Davis [Wed, 12 Aug 2015 02:57:08 +0000 (22:57 -0400)]
use new FPU singleton pattern in libs/ardour

8 years agoclean up FPU code with some ideas from Chromium and the web
Paul Davis [Wed, 12 Aug 2015 02:56:55 +0000 (22:56 -0400)]
clean up FPU code with some ideas from Chromium and the web

8 years agoFix for crash when loading DrumGizmo VST editor on Windows
Tim Mayberry [Tue, 11 Aug 2015 22:08:45 +0000 (08:08 +1000)]
Fix for crash when loading DrumGizmo VST editor on Windows

8 years agohide “Midi Setup” button on OSX and Windows.
Robin Gareus [Wed, 12 Aug 2015 01:16:09 +0000 (03:16 +0200)]
hide “Midi Setup” button on OSX and Windows.

8 years agofix stupid logic error in testing separate bits required for AVX support
Paul Davis [Wed, 12 Aug 2015 00:18:38 +0000 (20:18 -0400)]
fix stupid logic error in testing separate bits required for AVX support

8 years agothe AVX functions for linux are stubs - they just use non-optimized code. Don't consi...
Paul Davis [Tue, 11 Aug 2015 21:52:27 +0000 (17:52 -0400)]
the AVX functions for linux are stubs - they just use non-optimized code. Don't consider using them.

Someone needs to port the AVX assembler away from mingw/windows calling conventions and back to linux

8 years agoremove -Woverload-virtual ambiguity (from 1d3690d)
Robin Gareus [Tue, 11 Aug 2015 21:47:48 +0000 (23:47 +0200)]
remove -Woverload-virtual ambiguity (from 1d3690d)

8 years agoremove -Woverload-virtual ambiguity (from 1d3690d)
Robin Gareus [Tue, 11 Aug 2015 21:43:45 +0000 (23:43 +0200)]
remove -Woverload-virtual ambiguity (from 1d3690d)

this breaks compilation in engine_dialog.cc

8 years agoimproved solution for xgetbv() on windows and linux with all compilers
Paul Davis [Tue, 11 Aug 2015 21:45:41 +0000 (17:45 -0400)]
improved solution for xgetbv() on windows and linux with all compilers

8 years ago#ifdef out AVX detection on APPLE
Paul Davis [Tue, 11 Aug 2015 21:30:33 +0000 (17:30 -0400)]
#ifdef out AVX detection on APPLE

8 years agoadd required test of OS support for AVX register use
Paul Davis [Tue, 11 Aug 2015 21:23:11 +0000 (17:23 -0400)]
add required test of OS support for AVX register use

8 years agoadd test for CPU/FPU AVX capabilities
Paul Davis [Tue, 11 Aug 2015 20:36:39 +0000 (16:36 -0400)]
add test for CPU/FPU AVX capabilities

8 years agoupdate driver selection sensitivity
Robin Gareus [Tue, 11 Aug 2015 20:04:28 +0000 (22:04 +0200)]
update driver selection sensitivity

8 years agofix deadlock at exit on SMP systems
Robin Gareus [Tue, 11 Aug 2015 18:21:44 +0000 (20:21 +0200)]
fix deadlock at exit on SMP systems

graph process-threads won't terminate properly while active.

8 years agorefine "Running" message.
Robin Gareus [Tue, 11 Aug 2015 17:44:14 +0000 (19:44 +0200)]
refine "Running" message.

8 years agofix jack startup on OSX (w/midi)
Robin Gareus [Tue, 11 Aug 2015 17:43:57 +0000 (19:43 +0200)]
fix jack startup on OSX (w/midi)

8 years agodon't allow to change devices while engine is running.
Robin Gareus [Tue, 11 Aug 2015 17:13:10 +0000 (19:13 +0200)]
don't allow to change devices while engine is running.

8 years agoALSA backend: query and cache available device-parameters
Robin Gareus [Tue, 11 Aug 2015 17:01:52 +0000 (19:01 +0200)]
ALSA backend: query and cache available device-parameters

8 years agoadd API to query ALSA supported parameters
Robin Gareus [Tue, 11 Aug 2015 16:16:02 +0000 (18:16 +0200)]
add API to query ALSA supported parameters

8 years agoallow to stop engine for re-configure
Robin Gareus [Tue, 11 Aug 2015 13:34:07 +0000 (15:34 +0200)]
allow to stop engine for re-configure

8 years agoconsolidate engine-dialog widget sensitivity logic.
Robin Gareus [Tue, 11 Aug 2015 12:43:00 +0000 (14:43 +0200)]
consolidate engine-dialog widget sensitivity logic.

Use a single function with the complete logic.

Since the callgraph is complex, there is internal state as well as GUI
state (different pages), do not rely on individual methods to get it
right.

A widget's sensitivity should only be controlled by one function.

8 years agoadd API to get combobox option count.
Robin Gareus [Tue, 11 Aug 2015 12:04:58 +0000 (14:04 +0200)]
add API to get combobox option count.

The data model needs to be checked to count available options.
Directly using ComboBoxText::children()::size() counts widgets.

8 years agoEngine Dialog: use new API
Robin Gareus [Tue, 11 Aug 2015 10:52:46 +0000 (12:52 +0200)]
Engine Dialog: use new API

8 years agocoreaudio backend: SR/BS query for separate devices
Robin Gareus [Tue, 11 Aug 2015 10:52:03 +0000 (12:52 +0200)]
coreaudio backend: SR/BS query for separate devices

8 years agoBackend API to query rates&sizes for separate I/O.
Robin Gareus [Tue, 11 Aug 2015 10:50:05 +0000 (12:50 +0200)]
Backend API to query rates&sizes for separate I/O.

8 years agoFix to ensure there are always sample rates and buffer sizes in the dropdown
Tim Mayberry [Tue, 11 Aug 2015 04:20:43 +0000 (14:20 +1000)]
Fix to ensure there are always sample rates and buffer sizes in the dropdown

This can happen if both input and output devices are set to None for instance
on backends that report no supported SR or buffer size for the None device.

8 years agoExtract two utility methods from EngineControl::set_samplerate/bufferize_popdown_strings
Tim Mayberry [Tue, 11 Aug 2015 04:13:06 +0000 (14:13 +1000)]
Extract two utility methods from EngineControl::set_samplerate/bufferize_popdown_strings

8 years agoUse a union of all sample rates and buffer sizes for all devices in EngineControl
Tim Mayberry [Tue, 11 Aug 2015 03:02:25 +0000 (13:02 +1000)]
Use a union of all sample rates and buffer sizes for all devices in EngineControl

Using just the input device doesn't work in the case that the input device is
an invalid/None device

8 years agofix coreaudio half-duplex buffersize query
Robin Gareus [Tue, 11 Aug 2015 02:43:07 +0000 (04:43 +0200)]
fix coreaudio half-duplex buffersize query

8 years agoCheck the default SR is available for a device when setting SR in EngineControl
Tim Mayberry [Mon, 10 Aug 2015 23:57:38 +0000 (09:57 +1000)]
Check the default SR is available for a device when setting SR in EngineControl

8 years agoRemove unnecesary clearing of local variable in EngineControl
Tim Mayberry [Mon, 10 Aug 2015 23:43:56 +0000 (09:43 +1000)]
Remove unnecesary clearing of local variable in EngineControl

8 years agoFix state restoration in EngineControl dialog for backends with driver selection
Tim Mayberry [Mon, 10 Aug 2015 13:20:07 +0000 (23:20 +1000)]
Fix state restoration in EngineControl dialog for backends with driver selection

This also prevents backend_changed from being called more that once in the
EngineControl ctor

8 years agoUse the current backend device names to set active text in device dropdowns if available
Tim Mayberry [Mon, 10 Aug 2015 11:57:45 +0000 (21:57 +1000)]
Use the current backend device names to set active text in device dropdowns if available

Compare device names with enumerated devices rather than assume an empty string
has special meaning

8 years agoRemove Unwinder instances in EngineControl::set_*_device_popdown_strings
Tim Mayberry [Mon, 10 Aug 2015 11:48:53 +0000 (21:48 +1000)]
Remove Unwinder instances in EngineControl::set_*_device_popdown_strings

These are not necessary since SignalBlocker will prevent signal emission

8 years agoCompare the string returned by backend->driver_name() against driver names in EngineC...
Tim Mayberry [Mon, 10 Aug 2015 11:44:29 +0000 (21:44 +1000)]
Compare the string returned by backend->driver_name() against driver names in EngineControl

Don't assume an empty string has any meaning and compare string returned with
enumerated drivers

8 years agoRemove Unwinder instance from EngineControl::set_driver_popdown_strings
Tim Mayberry [Mon, 10 Aug 2015 11:33:59 +0000 (21:33 +1000)]
Remove Unwinder instance from EngineControl::set_driver_popdown_strings

Not necessary now that signal emission is blocked via backend_changed()

8 years agoReimplement method using code extracted from EngineDialog::backend_changed
Tim Mayberry [Mon, 10 Aug 2015 11:28:21 +0000 (21:28 +1000)]
Reimplement method using code extracted from EngineDialog::backend_changed

EngineControl::set_driver_popdown_strings is now like the other
set_*_popdown_strings methods in that it sets the driver strings and a
default active entry and returns false if no drivers are available.

8 years agoRemove previous fix attempt at restoring state for backends with driver selection
Tim Mayberry [Mon, 10 Aug 2015 11:16:08 +0000 (21:16 +1000)]
Remove previous fix attempt at restoring state for backends with driver selection

The fix does not work properly anymore for the Portaudio backend and needs
fixing in another manner. It will now be temporarily back to the broken state
it was in before the "fix".

8 years agoUse SignalBlocker class in EngineControl to block widget signal emission
Tim Mayberry [Mon, 10 Aug 2015 10:02:25 +0000 (20:02 +1000)]
Use SignalBlocker class in EngineControl to block widget signal emission

This stops a whole lot of redundant signal emission and makes it much easier to
think about what is going on. It also makes the dialog present much faster.

8 years agoExtract part of EngineControl::backend_changed into EngineControl::update_midi_options
Tim Mayberry [Mon, 10 Aug 2015 02:49:42 +0000 (12:49 +1000)]
Extract part of EngineControl::backend_changed into EngineControl::update_midi_options

8 years agoMove call to EngineControl::device_changed into EngineControl::list_devices ()
Tim Mayberry [Mon, 10 Aug 2015 00:11:33 +0000 (10:11 +1000)]
Move call to EngineControl::device_changed into EngineControl::list_devices ()

This prevents devices_changed from being called twice with backends that have
separate input and output devices

8 years agoAdd debug output to blocking/unblocking signals in EngineControl dialog
Tim Mayberry [Mon, 10 Aug 2015 02:58:06 +0000 (12:58 +1000)]
Add debug output to blocking/unblocking signals in EngineControl dialog

8 years agoAdd methods in EngineControl for blocking and unblocking signals
Tim Mayberry [Sun, 9 Aug 2015 13:16:02 +0000 (23:16 +1000)]
Add methods in EngineControl for blocking and unblocking signals

Only intended to be used with the nested SignalBlocker class

8 years agoRefactor part of EngineDialog ctor into connect_changed_signals method
Tim Mayberry [Sun, 9 Aug 2015 12:36:26 +0000 (22:36 +1000)]
Refactor part of EngineDialog ctor into connect_changed_signals method

8 years agoAdd some basic debug output in EngineControl dialog
Tim Mayberry [Mon, 10 Aug 2015 04:30:04 +0000 (14:30 +1000)]
Add some basic debug output in EngineControl dialog

This should make it easier to see what affect subsequent commits have on
reducing the amount of unnecessary device querying and signal emission