ardour.git
9 years agofix setting OSX DMG background for 10.9.X
Robin Gareus [Wed, 8 Oct 2014 17:16:31 +0000 (19:16 +0200)]
fix setting OSX DMG background for 10.9.X

9 years agoinitialize some uninitialized vars - closes #5974
Robin Gareus [Wed, 8 Oct 2014 17:16:21 +0000 (19:16 +0200)]
initialize some uninitialized vars - closes #5974

9 years agoMSVC - add support for 'HAVE_NEW_LV2'
John Emmas [Wed, 8 Oct 2014 14:03:39 +0000 (15:03 +0100)]
MSVC - add support for 'HAVE_NEW_LV2'

(after updating to the latest versions of serd, sord, sratom and lilv)

9 years agoWhen building 'libs/pbd/cpus.cc' (with MSVC) make sure we know what 'PTW32_VERSION' is
John Emmas [Wed, 8 Oct 2014 14:00:51 +0000 (15:00 +0100)]
When building 'libs/pbd/cpus.cc' (with MSVC) make sure we know what 'PTW32_VERSION' is

9 years agoAdd a newly introduced header file to our MSVC project (dummy_audiobackend)
John Emmas [Wed, 8 Oct 2014 13:58:57 +0000 (14:58 +0100)]
Add a newly introduced header file to our MSVC project (dummy_audiobackend)

9 years agoupdate osx DMG icon tool paths
Robin Gareus [Tue, 7 Oct 2014 23:00:51 +0000 (01:00 +0200)]
update osx DMG icon tool paths

OS 10.9 no longer has /Developer, but
DeRez, Rez & SetFile are in $PATH since at least 10.6

9 years agowin-build:
Robin Gareus [Tue, 7 Oct 2014 22:57:37 +0000 (00:57 +0200)]
win-build:

* /tmp -> /var/tmp for persistence
* allow 32 & 64bit stacks to co-exist
* enable ASIO/waves backend by default

9 years agoadd correct copyright statements to all files in Waves backend except those derived...
Paul Davis [Tue, 7 Oct 2014 20:09:29 +0000 (16:09 -0400)]
add correct copyright statements to all files in Waves backend except those derived from portaudio/portmidi

This follows the letter sent from Waves Audio Ltd. to Paul Davis dated February 20th 2014 agreeing to release this code
under the GNU Public License, version 2, with copyright owned by Waves Audio Ltd

9 years agofix crashes for plugin using maxBlockLength during latency compute.
Robin Gareus [Tue, 7 Oct 2014 19:45:46 +0000 (21:45 +0200)]
fix crashes for plugin using maxBlockLength during latency compute.

9 years agoavoid a set of calls to gettext() and/or cousins from global constructor scope
Paul Davis [Tue, 7 Oct 2014 18:27:12 +0000 (14:27 -0400)]
avoid a set of calls to gettext() and/or cousins from global constructor scope

9 years agoadd explanatory comment for future historians
Paul Davis [Tue, 7 Oct 2014 14:57:08 +0000 (10:57 -0400)]
add explanatory comment for future historians

9 years agoNOOP, proper label for flat carbon header includes
Robin Gareus [Tue, 7 Oct 2014 14:53:10 +0000 (16:53 +0200)]
NOOP, proper label for flat carbon header includes

9 years agoOSX 10.9.5 clang++ loves nil more than ever
Robin Gareus [Tue, 7 Oct 2014 12:48:08 +0000 (14:48 +0200)]
OSX 10.9.5 clang++ loves nil more than ever

#undef nil // for sigc++ compat does no longer work as expected.

9 years agoOSX 10.9.5 compile fixes - part one
Robin Gareus [Tue, 7 Oct 2014 12:46:06 +0000 (14:46 +0200)]
OSX 10.9.5 compile fixes - part one

9 years ago64bit windows VSTs
Robin Gareus [Sun, 5 Oct 2014 16:11:11 +0000 (18:11 +0200)]
64bit windows VSTs

9 years agofix VST user cache typo: info/blacklist
Robin Gareus [Sun, 5 Oct 2014 00:57:14 +0000 (02:57 +0200)]
fix VST user cache typo: info/blacklist

9 years agowindows application icon
Robin Gareus [Sun, 5 Oct 2014 00:12:25 +0000 (02:12 +0200)]
windows application icon

9 years agowindows build-script update:
Robin Gareus [Sat, 4 Oct 2014 19:48:54 +0000 (21:48 +0200)]
windows build-script update:

* fix installation paths for VAMP-plugin & VST-scanner
* use latest boost (fewer compiler wanings)
* integrate gdb for 64bit
* add some comments, doc

9 years agouse single newline char in VST info files.
Robin Gareus [Sat, 4 Oct 2014 16:01:43 +0000 (18:01 +0200)]
use single newline char in VST info files.

windows writes \r\n to non-binary files and the VST
info parser does not handle that case.

9 years agoupdate VST scanner lookup (prepare for moving to BINDIR)
Robin Gareus [Sat, 4 Oct 2014 15:57:05 +0000 (17:57 +0200)]
update VST scanner lookup (prepare for moving to BINDIR)

9 years agofix typo in 9034e58b1
Robin Gareus [Fri, 3 Oct 2014 21:58:51 +0000 (23:58 +0200)]
fix typo in 9034e58b1

9 years agoset mingw vamp plugin path
Robin Gareus [Fri, 3 Oct 2014 21:07:45 +0000 (23:07 +0200)]
set mingw vamp plugin path

9 years agofix crash when changing the Audio System
Robin Gareus [Fri, 3 Oct 2014 13:32:12 +0000 (15:32 +0200)]
fix crash when changing the Audio System

When the i/o channel spinbox widgets are realized, they call
print_channel_count(). A "0" is formatted as "all available channels".
This causes the GTK::Entry inside the spinbox to emit a "changed"
signal which in turn triggers a parameter_changed(), [..], store_state(),
which calls into the spinbox again while it is being realized,
which makes gtkmm barf.

Start Ardour with JACK running (autoconnect to jack), Window ->
Audio/Midi settings -> initial no_control_notebook. Change
Audio System -> [control widgets are realized] -> glibmm std::exception

9 years agofix engine control widget sensitivity
Robin Gareus [Fri, 3 Oct 2014 13:08:06 +0000 (15:08 +0200)]
fix engine control widget sensitivity

9 years agooverhaul mingw build script for 32 and 64bit builds
Robin Gareus [Fri, 3 Oct 2014 00:48:39 +0000 (02:48 +0200)]
overhaul mingw build script for 32 and 64bit builds

9 years agofix ming32 build&install for asio backend
Robin Gareus [Thu, 2 Oct 2014 22:46:34 +0000 (00:46 +0200)]
fix ming32 build&install for asio backend

9 years agoDon't select newly created regions after splitting selected regions (except on Mixbus)
Colin Fletcher [Thu, 2 Oct 2014 20:00:33 +0000 (21:00 +0100)]
Don't select newly created regions after splitting selected regions (except on Mixbus)

I can't see a reason to select the newly-created regions after
splitting selected regions: I can't think of any case where you'd want
the next operation to apply to both the regions, and it makes it very
easy (in my experience) to trim/move/&c. both regions afterwards by
mistake.

However, this behaviour is desired for Mixbus, so make the selection of
regions after a split of selected regions dependent on
Profile->get_mixbus() for now.

9 years agoFix warning from ./waf i18n about empty string
Colin Fletcher [Thu, 10 Jul 2014 18:46:15 +0000 (19:46 +0100)]
Fix warning from ./waf i18n about empty string

./waf i18n warns about passing an empty string to _(). Actually, the code
in question just wants to make a label not appear, so it might as well
just hide or show it as appropriate rather than attempting to set its
text to the empty string.

9 years agoAdd UK English translation for libardour
Colin Fletcher [Thu, 10 Jul 2014 18:58:44 +0000 (19:58 +0100)]
Add UK English translation for libardour

9 years agoUpdated UK English translation
Colin Fletcher [Sat, 2 Aug 2014 14:10:02 +0000 (15:10 +0100)]
Updated UK English translation

9 years agoText tweaks and typo fixes
Colin Fletcher [Wed, 9 Jul 2014 18:13:31 +0000 (19:13 +0100)]
Text tweaks and typo fixes

9 years agoamend 24289299 - pango fontmap w/mingw
Robin Gareus [Thu, 2 Oct 2014 17:01:12 +0000 (19:01 +0200)]
amend 24289299 - pango fontmap w/mingw

9 years agoregister ArdourMono font with windows
Robin Gareus [Thu, 2 Oct 2014 04:11:15 +0000 (06:11 +0200)]
register ArdourMono font with windows

9 years agofixup windows installer for debian/jessie win32+posix variants
Robin Gareus [Thu, 2 Oct 2014 04:10:54 +0000 (06:10 +0200)]
fixup windows installer for debian/jessie win32+posix variants

9 years agofix clock_gettime detection
Robin Gareus [Thu, 2 Oct 2014 00:53:35 +0000 (02:53 +0200)]
fix clock_gettime detection

fixes compilation with mingw64 gcc-4.9.1

9 years agofrom zero to windows installer
Robin Gareus [Wed, 1 Oct 2014 22:48:36 +0000 (00:48 +0200)]
from zero to windows installer

9 years agodocument mingw build script variables, add some options
Robin Gareus [Wed, 1 Oct 2014 19:04:41 +0000 (21:04 +0200)]
document mingw build script variables, add some options

9 years agoadd --with-wavesbackend config option (disabled by default)
Robin Gareus [Wed, 1 Oct 2014 16:28:47 +0000 (18:28 +0200)]
add --with-wavesbackend config option (disabled by default)

9 years agoharfbuzzed - also reverts 666de70d
Robin Gareus [Wed, 1 Oct 2014 14:23:24 +0000 (16:23 +0200)]
harfbuzzed - also reverts 666de70d

9 years agoupdate mingw build script:
Robin Gareus [Wed, 1 Oct 2014 14:22:22 +0000 (16:22 +0200)]
update mingw build script:

* create libs with debug symbols for now
* stack align: http://www.peterstock.co.uk/games/mingw_sse/
* deploy latest binary (when reconfigured)
* workaround libxml doctype issue (-O2 causes issues)
* fix LV2 install path

9 years agofix deep obscure problem with loading multiple backends on OS X
Paul Davis [Wed, 1 Oct 2014 02:56:57 +0000 (22:56 -0400)]
fix deep obscure problem with loading multiple backends on OS X

all backends export a symbol declared as "extern "C" ARDOURBACKEND_API ARDOUR::AudioBackendInfo* descriptor ()".
dlopen'ing the backend apparently pushes the symbol "descriptor" into the single flat global namespace that we use
to be like other unix-like systems. this means that if a backend calls its OWN function named "descriptor", it
is indeterminate which one it will be, since the symbol will refer to the function first loaded by the runtime
linker. If the backend is not the first one discovered, this call to its own "descriptor" function will invoke
the function defined by another backend, even though these are supposed to have local scope only according
to our arguments to dlopen().

This fix doesn't try to fix the linker or namespace - it just makes sure that the WavesAudio backend doesn't
invoke its own descriptor() function, which it never really needed to do anyway.

9 years agountested fix for compiling waves audiobackend on case-sensitive FS with mingw.
Robin Gareus [Wed, 1 Oct 2014 02:02:30 +0000 (04:02 +0200)]
untested fix for compiling waves audiobackend on case-sensitive FS with mingw.

9 years agomingw environment: ArdourMono.ttf
Robin Gareus [Wed, 1 Oct 2014 01:59:48 +0000 (03:59 +0200)]
mingw environment: ArdourMono.ttf

9 years agoNOOP, re-indent
Robin Gareus [Wed, 1 Oct 2014 01:25:03 +0000 (03:25 +0200)]
NOOP, re-indent

9 years agoupdate backends for API change in 8d59afb048
Robin Gareus [Wed, 1 Oct 2014 01:24:54 +0000 (03:24 +0200)]
update backends for API change in 8d59afb048

9 years agoImplement the new pthread macros (for the Waves audio backend)
John Emmas [Tue, 9 Sep 2014 11:05:14 +0000 (12:05 +0100)]
Implement the new pthread macros (for the Waves audio backend)

9 years agoRe-introduce our pthread macros (after fixing an earlier typo)
John Emmas [Tue, 9 Sep 2014 11:03:52 +0000 (12:03 +0100)]
Re-introduce our pthread macros (after fixing an earlier typo)

these are so we can differentiate between 'libpthread' and 'libpthread-win32' (whose implementation is subtlely - though annoyingly! - different)

9 years agocopy over current Waves version of their backend, along with minor changes in libs...
Paul Davis [Wed, 1 Oct 2014 00:35:31 +0000 (20:35 -0400)]
copy over current Waves version of their backend, along with minor changes in libs/ardour and libs/backend/jack to fit with API changes

9 years agotweak backends wscript for cross-compiling with mingw
Paul Davis [Wed, 1 Oct 2014 00:35:22 +0000 (20:35 -0400)]
tweak backends wscript for cross-compiling with mingw

9 years agocopy over current Waves version of their backend, along with minor changes in libs...
Paul Davis [Wed, 1 Oct 2014 00:23:45 +0000 (20:23 -0400)]
copy over current Waves version of their backend, along with minor changes in libs/ardour and libs/backend/jack to fit with API changes-a

9 years agox-compile windows stack & A3 binary
Robin Gareus [Tue, 30 Sep 2014 22:46:51 +0000 (00:46 +0200)]
x-compile windows stack & A3 binary

9 years agoupdate video NO_OFFSET to 64 bit
Robin Gareus [Tue, 30 Sep 2014 22:26:21 +0000 (00:26 +0200)]
update video NO_OFFSET to 64 bit

9 years agoalso build clearerlooks for windows
Robin Gareus [Tue, 30 Sep 2014 22:13:17 +0000 (00:13 +0200)]
also build clearerlooks for windows

9 years agouse .exe suffix for VST pluin scanner app on windows
Robin Gareus [Tue, 30 Sep 2014 22:12:45 +0000 (00:12 +0200)]
use .exe suffix for VST pluin scanner app on windows

9 years agofix waf install, update ui config name
Robin Gareus [Tue, 30 Sep 2014 22:12:29 +0000 (00:12 +0200)]
fix waf install, update ui config name

9 years agopango --with-included-modules=yes does not provide explicit pangoft header
Robin Gareus [Tue, 30 Sep 2014 16:56:01 +0000 (18:56 +0200)]
pango --with-included-modules=yes does not provide explicit pangoft header

9 years agoVST native windows does not need vst/winmain.c
Robin Gareus [Tue, 30 Sep 2014 16:53:46 +0000 (18:53 +0200)]
VST native windows does not need vst/winmain.c

9 years agofix include order
Robin Gareus [Tue, 30 Sep 2014 16:53:15 +0000 (18:53 +0200)]
fix include order

9 years agowin32_pthread is relevant for both: MSVC & MINGW
Robin Gareus [Tue, 30 Sep 2014 16:52:34 +0000 (18:52 +0200)]
win32_pthread is relevant for both: MSVC & MINGW

9 years agothere's no random() on window, but no matter
Robin Gareus [Tue, 30 Sep 2014 16:51:31 +0000 (18:51 +0200)]
there's no random() on window, but no matter

9 years agoadd missing header include (for snprintf)
Robin Gareus [Tue, 30 Sep 2014 16:51:08 +0000 (18:51 +0200)]
add missing header include (for snprintf)

9 years agorename variable: 'small' is a keyword on mingw/win32
Robin Gareus [Tue, 30 Sep 2014 16:50:41 +0000 (18:50 +0200)]
rename variable: 'small' is a keyword on mingw/win32

9 years agorevert stupid change that breaks python3 and was probably related to other python...
Paul Davis [Tue, 30 Sep 2014 01:37:55 +0000 (21:37 -0400)]
revert stupid change that breaks python3 and was probably related to other python-related issues fixed when support for python3 was added to our wscript files

9 years agofix typos in prev commit.
Robin Gareus [Sun, 28 Sep 2014 19:22:12 +0000 (21:22 +0200)]
fix typos in prev commit.

9 years agoprepare self-extracting installer using 'makeself'
Robin Gareus [Sun, 28 Sep 2014 19:13:18 +0000 (21:13 +0200)]
prepare self-extracting installer using 'makeself'

see also http://megastep.org/makeself/

9 years agopartial fix for #5973 (multi-track midi file import)
Robin Gareus [Sun, 28 Sep 2014 18:36:04 +0000 (20:36 +0200)]
partial fix for #5973 (multi-track midi file import)

9 years agocopy plugin-state from template on session creation (amend 3353b48)
Robin Gareus [Sun, 28 Sep 2014 17:25:40 +0000 (19:25 +0200)]
copy plugin-state from template on session creation (amend 3353b48)

9 years agofix templates: copy plugin state
Robin Gareus [Sun, 28 Sep 2014 16:22:47 +0000 (18:22 +0200)]
fix templates: copy plugin state

9 years agorecursive file copy function
Robin Gareus [Sun, 28 Sep 2014 16:18:03 +0000 (18:18 +0200)]
recursive file copy function

9 years agofix compiler warning from missing default statement in switch
Paul Davis [Sat, 27 Sep 2014 22:09:16 +0000 (18:09 -0400)]
fix compiler warning from missing default statement in switch

9 years agoinvalidate meter's ColorsChanged connection:
Robin Gareus [Sat, 27 Sep 2014 17:17:13 +0000 (19:17 +0200)]
invalidate meter's ColorsChanged connection:

fixes crash: open session, close, open another session, change theme.
old [destoyed] meters from first session were notified about color change.

9 years agoun-hardcode DIN & VU meter-colors,
Robin Gareus [Fri, 26 Sep 2014 14:10:06 +0000 (16:10 +0200)]
un-hardcode DIN & VU meter-colors,

9 years agoend tooltip timeout and display for relevant leave notify events
Paul Davis [Fri, 26 Sep 2014 21:06:38 +0000 (17:06 -0400)]
end tooltip timeout and display for relevant leave notify events

9 years agofurther tweaks to canvas tooltip mechanism
Paul Davis [Fri, 26 Sep 2014 16:24:47 +0000 (12:24 -0400)]
further tweaks to canvas tooltip mechanism

9 years agodisplay and position canvas tooltip window
Paul Davis [Fri, 26 Sep 2014 15:05:24 +0000 (11:05 -0400)]
display and position canvas tooltip window

9 years agoreinstate tooltip style
Paul Davis [Fri, 26 Sep 2014 15:04:56 +0000 (11:04 -0400)]
reinstate tooltip style

9 years agobasic design of Canvas item tooltip mechanism.
Paul Davis [Fri, 26 Sep 2014 01:43:15 +0000 (21:43 -0400)]
basic design of Canvas item tooltip mechanism.

No window yet to actually display the tooltip.

9 years agonext (final?) part of handling missing MIDI files.
Paul Davis [Wed, 24 Sep 2014 23:03:59 +0000 (19:03 -0400)]
next (final?) part of handling missing MIDI files.

If an external-to-session file is missing, consider it a fatal error in session loading.
If an internal-to-session file is missing, just create a new MIDI source with the same path and ID, and use that instead.

9 years agoDummyBackend: symmetric freq sweep: up/down
Robin Gareus [Wed, 24 Sep 2014 16:46:54 +0000 (18:46 +0200)]
DummyBackend: symmetric freq sweep: up/down

9 years agoDummyBackend: add sine-sweep generators
Robin Gareus [Wed, 24 Sep 2014 15:24:25 +0000 (17:24 +0200)]
DummyBackend: add sine-sweep generators

9 years agofix some double promotion
Robin Gareus [Wed, 24 Sep 2014 15:18:20 +0000 (17:18 +0200)]
fix some double promotion

9 years agoDummyBackend: two more audio-signal generators (useful for waveform check)
Robin Gareus [Tue, 23 Sep 2014 23:11:38 +0000 (01:11 +0200)]
DummyBackend: two more audio-signal generators (useful for waveform check)

9 years agoDummyBackend: MIDI Event Generators
Robin Gareus [Tue, 23 Sep 2014 23:04:19 +0000 (01:04 +0200)]
DummyBackend: MIDI Event Generators

9 years agoALSA backend: initial device selection
Robin Gareus [Tue, 16 Sep 2014 06:59:27 +0000 (08:59 +0200)]
ALSA backend: initial device selection

9 years agofix typo that selected wrong sample rate for 22050Hz export
Paul Davis [Mon, 22 Sep 2014 18:31:06 +0000 (14:31 -0400)]
fix typo that selected wrong sample rate for 22050Hz export

9 years agofix position of left edge of a marker rectangle when the label is on the left, and...
Paul Davis [Mon, 22 Sep 2014 16:03:30 +0000 (12:03 -0400)]
fix position of left edge of a marker rectangle when the label is on the left, and slightly pad the rectangle when the label is on the right

9 years agoalter the way the border of Canvas::Rectangle is drawn to meet the intent that a...
Paul Davis [Mon, 22 Sep 2014 15:35:55 +0000 (11:35 -0400)]
alter the way the border of Canvas::Rectangle is drawn to meet the intent that a single pixel border passes through the corner coordinates

9 years agoFix finding session templates
Colin Fletcher [Mon, 22 Sep 2014 12:21:14 +0000 (13:21 +0100)]
Fix finding session templates

Session templates are directories: use find_paths_matching_filter() rather
that find_files_matching_filter() to search for them. Fix a tiny comment
typo I spotted along the way too.

9 years agoadd Location::set_skip() to allow toggling of skip-functionality for a given Location
Paul Davis [Sat, 20 Sep 2014 03:21:17 +0000 (23:21 -0400)]
add Location::set_skip() to allow toggling of skip-functionality for a given Location

9 years agouse new ARDOUR::Location signals in GUI
Paul Davis [Sat, 20 Sep 2014 02:50:50 +0000 (22:50 -0400)]
use new ARDOUR::Location signals in GUI

Conflicts:
gtk2_ardour/editor_markers.cc

9 years agoduplicate all ARDOUR::Location signals so that we have one static signal that identif...
Paul Davis [Sat, 20 Sep 2014 02:50:34 +0000 (22:50 -0400)]
duplicate all ARDOUR::Location signals so that we have one static signal that identifies the subject location and one member signal that does not

9 years agoplugin widgets were written to use Internal values, so use that for now
Ben Loftis [Thu, 18 Sep 2014 22:25:11 +0000 (17:25 -0500)]
plugin widgets were written to use Internal values, so use that for now

9 years agoFix some inconsistent usage of a Controllables Interface value.
Ben Loftis [Thu, 18 Sep 2014 21:35:03 +0000 (16:35 -0500)]
Fix some inconsistent usage of a Controllables Interface value.
This breaks a lot of controls, because they are misusing it as well.

9 years agoadd action and menu item to control use of skip playback
Paul Davis [Wed, 17 Sep 2014 16:28:36 +0000 (12:28 -0400)]
add action and menu item to control use of skip playback

9 years agodo not mark session dirty during loading process; sync with loaded locations state...
Paul Davis [Wed, 17 Sep 2014 16:28:09 +0000 (12:28 -0400)]
do not mark session dirty during loading process; sync with loaded locations state using standard method

9 years agouse Config->get_skip_playback() when handling Skip events
Paul Davis [Wed, 17 Sep 2014 16:27:21 +0000 (12:27 -0400)]
use Config->get_skip_playback() when handling Skip events

9 years agonew Config var to control whether skip playback is used or not
Paul Davis [Wed, 17 Sep 2014 16:26:52 +0000 (12:26 -0400)]
new Config var to control whether skip playback is used or not

9 years agoadd IsSkip enum to enums.cc
Paul Davis [Wed, 17 Sep 2014 16:26:28 +0000 (12:26 -0400)]
add IsSkip enum to enums.cc

9 years agoshift-drag on range marker bar creates skip ranges, for now
Paul Davis [Wed, 17 Sep 2014 14:59:19 +0000 (10:59 -0400)]
shift-drag on range marker bar creates skip ranges, for now

9 years agoadd new Skip event to SessionEvents
Paul Davis [Wed, 17 Sep 2014 14:31:33 +0000 (10:31 -0400)]
add new Skip event to SessionEvents