ardour.git
10 years agomove portable copyfile function into tools/autowaf.py and use it in both gtk2_ardour...
Paul Davis [Thu, 19 Dec 2013 17:55:52 +0000 (12:55 -0500)]
move portable copyfile function into tools/autowaf.py and use it in both gtk2_ardour and taglib

10 years agoAdd README to mingw package
Tim Mayberry [Fri, 25 Oct 2013 11:00:20 +0000 (21:00 +1000)]
Add README to mingw package

10 years agoA few basic tests for AudioEngine
Tim Mayberry [Fri, 11 Oct 2013 11:54:40 +0000 (21:54 +1000)]
A few basic tests for AudioEngine

10 years agoAdd --list option to script to run ardour tests with wine
Tim Mayberry [Fri, 16 Aug 2013 11:08:57 +0000 (21:08 +1000)]
Add --list option to script to run ardour tests with wine

10 years agoAdd ability to run single libardour tests using wine
Tim Mayberry [Fri, 16 Aug 2013 10:52:45 +0000 (20:52 +1000)]
Add ability to run single libardour tests using wine

10 years agoRename run-wine script to wine-ardour and run library tests from new scripts
Tim Mayberry [Sun, 11 Aug 2013 08:13:41 +0000 (18:13 +1000)]
Rename run-wine script to wine-ardour and run library tests from new scripts

10 years agoMove environment setup to run tests in wine to new file
Tim Mayberry [Sun, 11 Aug 2013 06:48:31 +0000 (16:48 +1000)]
Move environment setup to run tests in wine to new file

10 years agoUse new version variable in windows packaging scripts
Tim Mayberry [Thu, 28 Nov 2013 22:30:10 +0000 (08:30 +1000)]
Use new version variable in windows packaging scripts

10 years agoStrip all executables in a mingw release build
Tim Mayberry [Fri, 16 Aug 2013 10:16:29 +0000 (20:16 +1000)]
Strip all executables in a mingw release build

10 years agoDon't include *.debug files in debug package
Tim Mayberry [Fri, 16 Aug 2013 09:52:21 +0000 (19:52 +1000)]
Don't include *.debug files in debug package

These files slow down gdb at startup and many(any?) don't seem
to work correctly

10 years agoUse DEBUG flag as defined by tools/define_versions.sh in mingw build
Tim Mayberry [Fri, 16 Aug 2013 09:50:19 +0000 (19:50 +1000)]
Use DEBUG flag as defined by tools/define_versions.sh in mingw build

10 years agoOnly call define versions script in mingwenv after a build is successful
Tim Mayberry [Wed, 14 Aug 2013 05:07:37 +0000 (15:07 +1000)]
Only call define versions script in mingwenv after a build is successful

This stops clean.sh script complaining about a non-existant path

10 years agoUpdates to windows/mingw README file
Tim Mayberry [Sun, 11 Aug 2013 08:48:09 +0000 (18:48 +1000)]
Updates to windows/mingw README file

10 years agoAdd two scripts for running gdb so source listing works when debugging
Tim Mayberry [Sun, 11 Aug 2013 04:15:16 +0000 (14:15 +1000)]
Add two scripts for running gdb so source listing works when debugging

Updated Debugging section in README

10 years agoRemove two scripts no longer used
Tim Mayberry [Sun, 11 Aug 2013 08:44:58 +0000 (18:44 +1000)]
Remove two scripts no longer used

These scripts are too specific to my virtual machine setup, a more generic
method can now be used by setting ARDOUR_VM_SHARE_DIR and using the
cptovmshare.sh script.

10 years agoAdd script to copy package directory to directory shared by VM
Tim Mayberry [Tue, 6 Aug 2013 09:20:18 +0000 (19:20 +1000)]
Add script to copy package directory to directory shared by VM

directory path set in ARDOUR_VM_SHARE_DIR

10 years agoRefer to external repository for instructions on setting up Fedora to cross compile...
Tim Mayberry [Fri, 9 Aug 2013 04:15:44 +0000 (14:15 +1000)]
Refer to external repository for instructions on setting up Fedora to cross compile Ardour using MinGW-64

10 years agoAdd scripts for building using mingw compiler with distcc
Tim Mayberry [Mon, 2 Dec 2013 11:31:22 +0000 (21:31 +1000)]
Add scripts for building using mingw compiler with distcc

10 years agoUse correct header include for _fullpath
Tim Mayberry [Sat, 7 Dec 2013 10:20:12 +0000 (20:20 +1000)]
Use correct header include for _fullpath

According to http://msdn.microsoft.com/en-us/library/506720ff(v=vs.120).aspx

10 years agofix error in mingw version of realpath()
Paul Davis [Thu, 5 Dec 2013 22:43:15 +0000 (17:43 -0500)]
fix error in mingw version of realpath()

10 years agoadd (likely, partial) windows implementation of POSIX realpath() for COMPILER_MINGW...
Paul Davis [Thu, 5 Dec 2013 22:40:21 +0000 (17:40 -0500)]
add (likely, partial) windows implementation of POSIX realpath() for COMPILER_MINGW where the latter is not available, to the only place realpath() is used

10 years agoremove unnecessary recently-added include for realpath, which is not actively used
Paul Davis [Thu, 5 Dec 2013 22:39:41 +0000 (17:39 -0500)]
remove unnecessary recently-added include for realpath, which is not actively used

10 years agoextra source no longer required
Paul Davis [Thu, 5 Dec 2013 22:24:39 +0000 (17:24 -0500)]
extra source no longer required

10 years agowe don't use realpath() anymore so there is need for a special mingw include
Paul Davis [Thu, 5 Dec 2013 22:23:18 +0000 (17:23 -0500)]
we don't use realpath() anymore so there is need for a special mingw include

10 years agowe don't use realpath() anymore so there is need for a special mingw include
Paul Davis [Thu, 5 Dec 2013 22:21:50 +0000 (17:21 -0500)]
we don't use realpath() anymore so there is need for a special mingw include

10 years agoadditional header needed for mingw build to get realpath()
Paul Davis [Thu, 5 Dec 2013 19:49:03 +0000 (14:49 -0500)]
additional header needed for mingw build to get realpath()

10 years agoadditional source file for mingw build
Paul Davis [Thu, 5 Dec 2013 19:48:45 +0000 (14:48 -0500)]
additional source file for mingw build

10 years agomake mingw-based pthread comparison function work with both 32 and 64 bit variants...
Paul Davis [Thu, 5 Dec 2013 19:46:40 +0000 (14:46 -0500)]
make mingw-based pthread comparison function work with both 32 and 64 bit variants of mingw

10 years agoworkaround compilation issues with assembler in fpu code and mingw
Paul Davis [Thu, 5 Dec 2013 19:45:17 +0000 (14:45 -0500)]
workaround compilation issues with assembler in fpu code and mingw

10 years agofix platform portability issues caused by use of shell cp(1) command and perl script
Paul Davis [Thu, 5 Dec 2013 19:44:37 +0000 (14:44 -0500)]
fix platform portability issues caused by use of shell cp(1) command and perl script

10 years agofix another instance of the horrible "interface" keyword collision
Paul Davis [Thu, 5 Dec 2013 19:44:00 +0000 (14:44 -0500)]
fix another instance of the horrible "interface" keyword collision

10 years agoremove unnecessary and *nix-centric LANG= from start of command used to get gcc versi...
Paul Davis [Thu, 5 Dec 2013 19:43:32 +0000 (14:43 -0500)]
remove unnecessary and *nix-centric LANG= from start of command used to get gcc version; use python's platform.uname() rather than os.uname() to get platform information

10 years agonew/extended windows packaging scripts and associated resources
Paul Davis [Thu, 5 Dec 2013 18:57:04 +0000 (13:57 -0500)]
new/extended windows packaging scripts and associated resources

10 years agoMerge branch 'master' into windows
Paul Davis [Wed, 4 Dec 2013 16:50:36 +0000 (11:50 -0500)]
Merge branch 'master' into windows

10 years agochange "cpu" in cpu load backend functions
Paul Davis [Wed, 4 Dec 2013 16:45:53 +0000 (11:45 -0500)]
change "cpu" in cpu load backend functions

10 years agoswitch from using Sleep/usleep to Glib::usleep() (and remember that we need to make...
Paul Davis [Tue, 3 Dec 2013 15:24:34 +0000 (10:24 -0500)]
switch from using Sleep/usleep to Glib::usleep() (and remember that we need to make Glib::usleep() actually work on windows one day)

10 years agoswitch from using Sleep/usleep to Glib::usleep()
Paul Davis [Tue, 3 Dec 2013 15:24:05 +0000 (10:24 -0500)]
switch from using Sleep/usleep to Glib::usleep()

10 years agoMerge branch 'windowspush' of https://github.com/mojofunk/ardour into windows
Paul Davis [Tue, 3 Dec 2013 15:01:26 +0000 (10:01 -0500)]
Merge branch 'windowspush' of https://github.com/mojofunk/ardour into windows

10 years agoMerge branch 'master' into windows
Paul Davis [Tue, 3 Dec 2013 15:01:13 +0000 (10:01 -0500)]
Merge branch 'master' into windows

10 years agoReinstate call to package config for JACK backend
Tim Mayberry [Tue, 3 Dec 2013 10:21:17 +0000 (20:21 +1000)]
Reinstate call to package config for JACK backend

Not sure how this got lost, merge perhaps.

10 years agoUse Sleep instead of usleep on windows in JACK backend
Tim Mayberry [Tue, 3 Dec 2013 10:07:32 +0000 (20:07 +1000)]
Use Sleep instead of usleep on windows in JACK backend

10 years agominor tweaks to MIDI clock support, including delivery of position events/messages...
Paul Davis [Tue, 3 Dec 2013 04:34:12 +0000 (23:34 -0500)]
minor tweaks to MIDI clock support, including delivery of position events/messages when stopped

10 years agodon't run MIDI clock "tick" if session is silent (e.g. due to a locate)
Paul Davis [Tue, 3 Dec 2013 04:33:33 +0000 (23:33 -0500)]
don't run MIDI clock "tick" if session is silent (e.g. due to a locate)

10 years agoReplace non-portable printf format specifier
Tim Mayberry [Mon, 2 Dec 2013 09:57:51 +0000 (19:57 +1000)]
Replace non-portable printf format specifier

This caused Diskstream state to be restored incorrectly

10 years agoRemove command line string quoting when forming jack command line on windows
Tim Mayberry [Mon, 21 Oct 2013 10:54:37 +0000 (20:54 +1000)]
Remove command line string quoting when forming jack command line on windows

This used to be necessary when we started the JACK server but now that we
write a .jackdrc it only causes problems.

I have fixed this before in some branch, must have been lost in a merge.

10 years agoFix pattern used to search for audio backends on windows
Tim Mayberry [Fri, 11 Oct 2013 11:51:37 +0000 (21:51 +1000)]
Fix pattern used to search for audio backends on windows

The audio backend dlls have a number postfix after the library/module name

10 years agoWaf options are not valid during build stage so use environment variable
Tim Mayberry [Fri, 27 Sep 2013 12:54:54 +0000 (22:54 +1000)]
Waf options are not valid during build stage so use environment variable

10 years agoUse PBD::canonical_path instead of ::realpath
Tim Mayberry [Fri, 27 Sep 2013 12:53:30 +0000 (22:53 +1000)]
Use PBD::canonical_path instead of ::realpath

This is a previous change that seems to have been lost in master -> windows merge

10 years agoInclude pbd/localtime_r.h in session_jack.cc for MinGW
Tim Mayberry [Fri, 27 Sep 2013 12:52:32 +0000 (22:52 +1000)]
Include pbd/localtime_r.h in session_jack.cc for MinGW

10 years agoUse PBD::pthread_name in MTC_Slave for portability
Tim Mayberry [Fri, 27 Sep 2013 12:51:57 +0000 (22:51 +1000)]
Use PBD::pthread_name in MTC_Slave for portability

10 years agoRemove duplicate ALSA pkgconfig
Tim Mayberry [Wed, 14 Aug 2013 08:03:34 +0000 (18:03 +1000)]
Remove duplicate ALSA pkgconfig

10 years agoRevert unfinished export visibility commits by John Emmas
Tim Mayberry [Mon, 21 Oct 2013 10:41:24 +0000 (20:41 +1000)]
Revert unfinished export visibility commits by John Emmas

These break the mingw build and the visibility work will make this
code redundant

10 years agoFix compilation on linux now that libardour no longer links to libjack
Tim Mayberry [Mon, 2 Dec 2013 11:10:08 +0000 (21:10 +1000)]
Fix compilation on linux now that libardour no longer links to libjack

Similar change has already been made in master branch

10 years agofix continuous send of MIDI start/position/stop messages introduced by mistake
Paul Davis [Sun, 1 Dec 2013 17:18:57 +0000 (12:18 -0500)]
fix continuous send of MIDI start/position/stop messages introduced by mistake

10 years agomerge and resolve conflict with master
Paul Davis [Sat, 30 Nov 2013 03:29:25 +0000 (22:29 -0500)]
merge and resolve conflict with master

10 years agofix up a bunch of confusion regarding the size/capacity/allocation of audio & midi...
Paul Davis [Sat, 30 Nov 2013 03:26:33 +0000 (22:26 -0500)]
fix up a bunch of confusion regarding the size/capacity/allocation of audio & midi buffers

10 years agodrop capacity argument from Buffer constructor, since the abstract class cannot ...
Paul Davis [Sat, 30 Nov 2013 03:25:36 +0000 (22:25 -0500)]
drop capacity argument from Buffer constructor, since the abstract class cannot (and should not) do anything with it

10 years agofix indentation
Paul Davis [Sat, 30 Nov 2013 03:24:59 +0000 (22:24 -0500)]
fix indentation

10 years agoadd explicit linkage to libtimecode
Paul Davis [Sat, 30 Nov 2013 03:24:37 +0000 (22:24 -0500)]
add explicit linkage to libtimecode

10 years agomake JACK backend return the right set of values when asked for buffer sizes or sampl...
Paul Davis [Wed, 27 Nov 2013 22:41:54 +0000 (17:41 -0500)]
make JACK backend return the right set of values when asked for buffer sizes or sample rate of a device other than the one in use

10 years agodo not push new state to backend from audio/MIDI setup until OK or Apply are clicked...
Paul Davis [Wed, 27 Nov 2013 22:41:22 +0000 (17:41 -0500)]
do not push new state to backend from audio/MIDI setup until OK or Apply are clicked (i.e. do not do this when device is changed)

10 years agoMerge branch 'master' into windows
Paul Davis [Wed, 27 Nov 2013 21:18:22 +0000 (16:18 -0500)]
Merge branch 'master' into windows

10 years agoadd 0.5 second sleep after closing JACK connection so that next startup/connect is...
Paul Davis [Wed, 27 Nov 2013 20:25:10 +0000 (15:25 -0500)]
add 0.5 second sleep after closing JACK connection so that next startup/connect is likely to work (allowing JACK time to shutdown). Ugh

10 years agoadd error check to call to PortManager::reestablish_ports
Paul Davis [Wed, 27 Nov 2013 20:24:24 +0000 (15:24 -0500)]
add error check to call to PortManager::reestablish_ports

10 years agomove AudioBackend::_start() into protected, and expand a bit on documenting ::start...
Paul Davis [Wed, 27 Nov 2013 19:27:27 +0000 (14:27 -0500)]
move AudioBackend::_start() into protected, and expand a bit on documenting ::start() vs ::_start()

10 years agoadd yet more missing parts of previous commit re: libmidi++ and JACK (files not saved...
Paul Davis [Wed, 27 Nov 2013 19:08:22 +0000 (14:08 -0500)]
add yet more missing parts of previous commit re: libmidi++ and JACK (files not saved in emacs, sigh)

10 years agoadd missing parts of previous commit re: libmidi++ and JACK (files not saved in emacs...
Paul Davis [Wed, 27 Nov 2013 18:53:58 +0000 (13:53 -0500)]
add missing parts of previous commit re: libmidi++ and JACK (files not saved in emacs, sigh)

10 years agoMerge branch 'master' into windows
Paul Davis [Wed, 27 Nov 2013 17:58:43 +0000 (12:58 -0500)]
Merge branch 'master' into windows

10 years agoremove unintended linkage between libmidipp and jack
Paul Davis [Wed, 27 Nov 2013 17:44:23 +0000 (12:44 -0500)]
remove unintended linkage between libmidipp and jack

10 years agofix broken situation with respect to taglib on windows where we used to use symlinks...
Paul Davis [Wed, 27 Nov 2013 02:54:48 +0000 (21:54 -0500)]
fix broken situation with respect to taglib on windows where we used to use symlinks to fix up taglib's insane header/directory structure

Symlinks don't work correctly with git on windows, so instead we now copy the required "public" headers into the build tree as part of the build. Works on Linux.

10 years agoreorder child dirs to make optionally external dirs more obvious and only test USE_EX...
Paul Davis [Wed, 27 Nov 2013 02:53:38 +0000 (21:53 -0500)]
reorder child dirs to make optionally external dirs more obvious and only test USE_EXTERNAL_LIBS once

10 years agoMerge branch 'master' into windows
Paul Davis [Tue, 26 Nov 2013 15:25:55 +0000 (10:25 -0500)]
Merge branch 'master' into windows

10 years agoresolve merge with master (?)
Paul Davis [Tue, 26 Nov 2013 15:24:51 +0000 (10:24 -0500)]
resolve merge with master (?)

10 years agoHande export initialization exceptions gracefully
Sakari Bergen [Sat, 23 Nov 2013 17:11:31 +0000 (19:11 +0200)]
Hande export initialization exceptions gracefully

10 years agoFix invalid assertions in AudioGrapher SampleFormatConverter
Sakari Bergen [Sat, 23 Nov 2013 16:42:14 +0000 (18:42 +0200)]
Fix invalid assertions in AudioGrapher SampleFormatConverter

This fixes an export crash with e.g. 8-bit export

10 years agofix for toolbar master-meter w/o master bus and/or detached toolbar
Robin Gareus [Sat, 23 Nov 2013 15:48:26 +0000 (16:48 +0100)]
fix for toolbar master-meter w/o master bus and/or detached toolbar

10 years agofix crash @ session-restore of plugins windows
Robin Gareus [Fri, 22 Nov 2013 17:22:55 +0000 (18:22 +0100)]
fix crash @ session-restore of plugins windows

The question is: why is _owner not set [yet], when the
window is restored. This rather smells like a race condition.

10 years agoreset time-axis peak when meter-point changes - fixes #5771
Robin Gareus [Wed, 20 Nov 2013 17:54:34 +0000 (18:54 +0100)]
reset time-axis peak when meter-point changes - fixes #5771

10 years agoDistinguish Save-as and Snapshot dialog window
Robin Gareus [Tue, 19 Nov 2013 14:51:27 +0000 (15:51 +0100)]
Distinguish Save-as and Snapshot dialog window

10 years agolv2: increase scratch buffer size to request port minimum size
Robin Gareus [Sat, 16 Nov 2013 23:33:32 +0000 (00:33 +0100)]
lv2: increase scratch buffer size to request port minimum size

10 years agofix audio-clock sample entry, handle empty entry as NOOP
Robin Gareus [Mon, 11 Nov 2013 01:33:57 +0000 (02:33 +0100)]
fix audio-clock sample entry, handle empty entry as NOOP

10 years agocorrect information on waf updates
Paul Davis [Sun, 10 Nov 2013 22:44:15 +0000 (17:44 -0500)]
correct information on waf updates

10 years agoallow to include In/Disk button on Meterbridge
Robin Gareus [Sat, 9 Nov 2013 12:16:08 +0000 (13:16 +0100)]
allow to include In/Disk button on Meterbridge

10 years agoreally no reason to support ARDOUR_EN anymore ... we have a preference dialog item... 3.5.74
Paul Davis [Tue, 5 Nov 2013 19:20:03 +0000 (14:20 -0500)]
really no reason to support ARDOUR_EN anymore ... we have a preference dialog item to enable/disable translation

10 years agoon OS X 10.7 at least, LANG is set by the system, so do not bail out of language...
Paul Davis [Tue, 5 Nov 2013 18:43:25 +0000 (13:43 -0500)]
on OS X 10.7 at least, LANG is set by the system, so do not bail out of language stuff early just because it is set

10 years agorevert to waf 1.6.11 for master branch, with current autowaf.py
Paul Davis [Tue, 5 Nov 2013 16:24:25 +0000 (11:24 -0500)]
revert to waf 1.6.11 for master branch, with current autowaf.py

10 years agoremove exportvis changes from autowaf.py
Paul Davis [Tue, 5 Nov 2013 16:24:06 +0000 (11:24 -0500)]
remove exportvis changes from autowaf.py

10 years agoupdate .po files with --no-fuzzy-matching in use
Paul Davis [Tue, 5 Nov 2013 16:15:46 +0000 (11:15 -0500)]
update .po files with --no-fuzzy-matching in use

10 years agoupdate waf with new autowaf that uses --no-fuzzy-matching when running msgmerge
Paul Davis [Tue, 5 Nov 2013 16:10:51 +0000 (11:10 -0500)]
update waf with new autowaf that uses --no-fuzzy-matching when running msgmerge

10 years agoadd autowaf.py since we have branched from drobilla's version due to export visibilit...
Paul Davis [Tue, 5 Nov 2013 16:09:03 +0000 (11:09 -0500)]
add autowaf.py since we have branched from drobilla's version due to export visibility stuff

10 years agoback-port two actual bug fixes from cairocanvas branch
Paul Davis [Tue, 5 Nov 2013 15:17:40 +0000 (10:17 -0500)]
back-port two actual bug fixes from cairocanvas branch

10 years agofix incorrect use of sizeof() in snprintf (function never actually used in ardour...
Paul Davis [Tue, 5 Nov 2013 15:17:22 +0000 (10:17 -0500)]
fix incorrect use of sizeof() in snprintf (function never actually used in ardour,but ... )

10 years agoupdate packaging tools to always use revision.cc to determine version number, not...
Paul Davis [Tue, 5 Nov 2013 14:35:03 +0000 (09:35 -0500)]
update packaging tools to always use revision.cc to determine version number, not text in top level wscript

10 years agofix tests compilation
Julien de Kozak [Tue, 5 Nov 2013 06:51:04 +0000 (07:51 +0100)]
fix tests compilation

10 years agokeep processing LV2 Ringbuffer once it is allocated
Robin Gareus [Tue, 5 Nov 2013 01:06:20 +0000 (02:06 +0100)]
keep processing LV2 Ringbuffer once it is allocated

Discard messages in LV2PluginUI::write_to_ui() if the
ringbuffer exists but the UI is not active.

This fixes "[ERROR]: Error writing from plugin to UI" messages
if the UI was once active but has been closed since.

This is a hotfix solution, eventually the LV2 backend should be updated
and a function LV2Plugin::disable_ui_emmission() implemented.

10 years agodo not hard-code version number anymore - define via git or libs/ardour/revision.cc
Paul Davis [Mon, 4 Nov 2013 19:19:10 +0000 (14:19 -0500)]
do not hard-code version number anymore - define via git or libs/ardour/revision.cc

10 years agoFix invalid silence trimmer end-of-input behavior (multiple EndOfInputs)
Sakari Bergen [Sun, 3 Nov 2013 19:22:00 +0000 (21:22 +0200)]
Fix invalid silence trimmer end-of-input behavior (multiple EndOfInputs)

This caused an export bug when:
a) normalizing
b) adding silence to end
c) having more than one channel

The sound was corrupted by repeating each jack frame as many times
as there were channels.

10 years agoFix thinko in setting order hint.
nick_m [Mon, 28 Oct 2013 15:04:26 +0000 (02:04 +1100)]
Fix thinko in setting order hint.

10 years agofix thinko in declaration of ARDOUR::PortEngine::get_port_by_name()
Paul Davis [Mon, 28 Oct 2013 13:46:59 +0000 (09:46 -0400)]
fix thinko in declaration of ARDOUR::PortEngine::get_port_by_name()

10 years agoMerge branch 'master--optional-external-libs' of https://github.com/nphilipp/ardour
Paul Davis [Mon, 28 Oct 2013 12:54:29 +0000 (08:54 -0400)]
Merge branch 'master--optional-external-libs' of https://github.com/nphilipp/ardour