ardour.git
15 years agotrack templates, backported from 2.X
Paul Davis [Mon, 2 Mar 2009 16:52:40 +0000 (16:52 +0000)]
track templates, backported from 2.X

git-svn-id: svn://localhost/ardour2/branches/3.0@4713 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agorecursive operation for PBD::PathScanner, backported from 2.X
Paul Davis [Mon, 2 Mar 2009 16:52:10 +0000 (16:52 +0000)]
recursive operation for PBD::PathScanner, backported from 2.X

git-svn-id: svn://localhost/ardour2/branches/3.0@4712 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoBe more tolerant of session files where IOs connect to non-existant bundles.
Carl Hetherington [Sun, 1 Mar 2009 19:45:35 +0000 (19:45 +0000)]
Be more tolerant of session files where IOs connect to non-existant bundles.

git-svn-id: svn://localhost/ardour2/branches/3.0@4711 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoAllow running from any directory.
Carl Hetherington [Sun, 1 Mar 2009 19:44:32 +0000 (19:44 +0000)]
Allow running from any directory.

git-svn-id: svn://localhost/ardour2/branches/3.0@4710 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix #2559; crash when doing end_grab on an already-deleted canvas item.
Carl Hetherington [Sat, 28 Feb 2009 01:52:45 +0000 (01:52 +0000)]
Fix #2559; crash when doing end_grab on an already-deleted canvas item.

git-svn-id: svn://localhost/ardour2/branches/3.0@4709 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoSlightly modified version of lincoln's patch for #2567. Thanks!
Carl Hetherington [Fri, 27 Feb 2009 23:47:43 +0000 (23:47 +0000)]
Slightly modified version of lincoln's patch for #2567.  Thanks!

git-svn-id: svn://localhost/ardour2/branches/3.0@4708 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoRemove some unused code.
Carl Hetherington [Fri, 27 Feb 2009 23:26:52 +0000 (23:26 +0000)]
Remove some unused code.

git-svn-id: svn://localhost/ardour2/branches/3.0@4707 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoSet thread done flag when freeze completes.
Carl Hetherington [Fri, 27 Feb 2009 23:26:10 +0000 (23:26 +0000)]
Set thread done flag when freeze completes.

git-svn-id: svn://localhost/ardour2/branches/3.0@4706 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agotweaks to get a VST-supporting 3.0 to build & startup
Paul Davis [Fri, 27 Feb 2009 22:52:39 +0000 (22:52 +0000)]
tweaks to get a VST-supporting 3.0 to build & startup

git-svn-id: svn://localhost/ardour2/branches/3.0@4705 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix up ardev etc. scripts so that they can be run from any directory.
Carl Hetherington [Fri, 27 Feb 2009 21:16:02 +0000 (21:16 +0000)]
Fix up ardev etc. scripts so that they can be run from any directory.

git-svn-id: svn://localhost/ardour2/branches/3.0@4704 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agovestige-based VST support, back-ported from 2.0-ongoing
Paul Davis [Fri, 27 Feb 2009 17:11:21 +0000 (17:11 +0000)]
vestige-based VST support, back-ported from 2.0-ongoing

git-svn-id: svn://localhost/ardour2/branches/3.0@4703 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoWaf: install stuff
David Robillard [Fri, 27 Feb 2009 04:40:44 +0000 (04:40 +0000)]
Waf: install stuff

git-svn-id: svn://localhost/ardour2/branches/3.0@4702 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoUse os.path.join to join paths: fix double slashes in installation paths (and be...
David Robillard [Fri, 27 Feb 2009 03:21:45 +0000 (03:21 +0000)]
Use os.path.join to join paths: fix double slashes in installation paths (and be more portable, in theory).

git-svn-id: svn://localhost/ardour2/branches/3.0@4701 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoPrint more configuration summary stuff (sound libs).
David Robillard [Fri, 27 Feb 2009 02:32:53 +0000 (02:32 +0000)]
Print more configuration summary stuff (sound libs).

git-svn-id: svn://localhost/ardour2/branches/3.0@4700 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoRemove apparently unnecessary friend declarations.
David Robillard [Fri, 27 Feb 2009 01:26:47 +0000 (01:26 +0000)]
Remove apparently unnecessary friend declarations.

git-svn-id: svn://localhost/ardour2/branches/3.0@4699 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoSplit TimeFXDialog from Editor.
David Robillard [Fri, 27 Feb 2009 01:20:25 +0000 (01:20 +0000)]
Split TimeFXDialog from Editor.

git-svn-id: svn://localhost/ardour2/branches/3.0@4698 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoStep towards having both rubberband and soundtouch compiled in at once.
David Robillard [Fri, 27 Feb 2009 00:59:30 +0000 (00:59 +0000)]
Step towards having both rubberband and soundtouch compiled in at once.

git-svn-id: svn://localhost/ardour2/branches/3.0@4697 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoTidy.
David Robillard [Fri, 27 Feb 2009 00:49:24 +0000 (00:49 +0000)]
Tidy.

git-svn-id: svn://localhost/ardour2/branches/3.0@4696 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoWaf: build control surfaces.
David Robillard [Fri, 27 Feb 2009 00:27:14 +0000 (00:27 +0000)]
Waf: build control surfaces.

git-svn-id: svn://localhost/ardour2/branches/3.0@4695 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoShow column in error messages with --debug which has absolutely nothing to do with...
David Robillard [Fri, 27 Feb 2009 00:09:16 +0000 (00:09 +0000)]
Show column in error messages with --debug which has absolutely nothing to do with the fact that I just figured out how to make my editor jump to them.  Honest.

git-svn-id: svn://localhost/ardour2/branches/3.0@4694 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agofix ardbg scripts after cd .. was removed
Paul Davis [Thu, 26 Feb 2009 23:45:03 +0000 (23:45 +0000)]
fix ardbg scripts after cd .. was removed

git-svn-id: svn://localhost/ardour2/branches/3.0@4693 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoremove silly cd .. in ard* scripts
Paul Davis [Thu, 26 Feb 2009 23:43:10 +0000 (23:43 +0000)]
remove silly cd .. in ard* scripts

git-svn-id: svn://localhost/ardour2/branches/3.0@4692 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago2nd part of fix for botched shared-fixup of ard* scripts
Paul Davis [Thu, 26 Feb 2009 23:31:41 +0000 (23:31 +0000)]
2nd part of fix for botched shared-fixup of ard* scripts

git-svn-id: svn://localhost/ardour2/branches/3.0@4691 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoLess weird name.
David Robillard [Thu, 26 Feb 2009 23:27:48 +0000 (23:27 +0000)]
Less weird name.

git-svn-id: svn://localhost/ardour2/branches/3.0@4690 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix running with ard*.sh scripts with waf build.
David Robillard [Thu, 26 Feb 2009 23:24:50 +0000 (23:24 +0000)]
Fix running with ard*.sh scripts with waf build.

git-svn-id: svn://localhost/ardour2/branches/3.0@4689 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agounify ard* scripts for both scons & waf builds
Paul Davis [Thu, 26 Feb 2009 22:30:13 +0000 (22:30 +0000)]
unify ard* scripts for both scons & waf builds

git-svn-id: svn://localhost/ardour2/branches/3.0@4688 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoUpdate waf with a slightly hacked version to print correct paths in compiler error...
David Robillard [Thu, 26 Feb 2009 20:55:02 +0000 (20:55 +0000)]
Update waf with a slightly hacked version to print correct paths in compiler error/warning messages.
See http://code.google.com/p/waf/issues/detail?id=367.

git-svn-id: svn://localhost/ardour2/branches/3.0@4687 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix bad initialization.
David Robillard [Thu, 26 Feb 2009 20:53:07 +0000 (20:53 +0000)]
Fix bad initialization.

git-svn-id: svn://localhost/ardour2/branches/3.0@4686 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoCorrectly pass compiler flags as individual list elements so waf can merge them or...
David Robillard [Thu, 26 Feb 2009 20:49:21 +0000 (20:49 +0000)]
Correctly pass compiler flags as individual list elements so waf can merge them or do whatever clever things it needs to do.

git-svn-id: svn://localhost/ardour2/branches/3.0@4685 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoAnother attempt at FLAC workaround.
David Robillard [Thu, 26 Feb 2009 18:59:15 +0000 (18:59 +0000)]
Another attempt at FLAC workaround.

git-svn-id: svn://localhost/ardour2/branches/3.0@4684 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoAttempt to strip stupid FLAC include.
David Robillard [Thu, 26 Feb 2009 18:37:41 +0000 (18:37 +0000)]
Attempt to strip stupid FLAC include.

git-svn-id: svn://localhost/ardour2/branches/3.0@4683 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago\n\n
David Robillard [Thu, 26 Feb 2009 17:44:47 +0000 (17:44 +0000)]
\n\n

git-svn-id: svn://localhost/ardour2/branches/3.0@4682 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoDon't lie about syslibs until it actually works...
David Robillard [Thu, 26 Feb 2009 17:42:54 +0000 (17:42 +0000)]
Don't lie about syslibs until it actually works...

git-svn-id: svn://localhost/ardour2/branches/3.0@4681 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoWaf: Build LV2 support.
David Robillard [Thu, 26 Feb 2009 17:31:00 +0000 (17:31 +0000)]
Waf: Build LV2 support.

git-svn-id: svn://localhost/ardour2/branches/3.0@4680 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoStub (non-functional) options and configuration summary.
David Robillard [Thu, 26 Feb 2009 17:16:22 +0000 (17:16 +0000)]
Stub (non-functional) options and configuration summary.

git-svn-id: svn://localhost/ardour2/branches/3.0@4679 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFiddle with CCFLAGS and CXXFLAGS.
David Robillard [Thu, 26 Feb 2009 16:16:28 +0000 (16:16 +0000)]
Fiddle with CCFLAGS and CXXFLAGS.

git-svn-id: svn://localhost/ardour2/branches/3.0@4678 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoUse stdin/stdout for menu file generation so waf picks up on the dependency.
David Robillard [Thu, 26 Feb 2009 04:54:08 +0000 (04:54 +0000)]
Use stdin/stdout for menu file generation so waf picks up on the dependency.
Fix menu file generation on OSX.

git-svn-id: svn://localhost/ardour2/branches/3.0@4677 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoWaf: build UI/RC files, menu files, keybinding files, and fix paths in wrapper scripts.
David Robillard [Thu, 26 Feb 2009 04:41:09 +0000 (04:41 +0000)]
Waf: build UI/RC files, menu files, keybinding files, and fix paths in wrapper scripts.
Ardour should now build and run when built with waf from a clean svn checkout.

git-svn-id: svn://localhost/ardour2/branches/3.0@4676 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoDon't link against VAmp plugins.
David Robillard [Thu, 26 Feb 2009 03:35:15 +0000 (03:35 +0000)]
Don't link against VAmp plugins.

git-svn-id: svn://localhost/ardour2/branches/3.0@4675 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoUse actually normal taglib headers (apparently it completely changes them on install...
David Robillard [Thu, 26 Feb 2009 03:24:05 +0000 (03:24 +0000)]
Use actually normal taglib headers (apparently it completely changes them on install.  More idiotically layed out library tree, ever.).
Add symlinks to taglib source tree to mimick installed tree to avoid the copy thing.

git-svn-id: svn://localhost/ardour2/branches/3.0@4674 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoUse normal taglib include paths.
David Robillard [Thu, 26 Feb 2009 02:48:07 +0000 (02:48 +0000)]
Use normal taglib include paths.

git-svn-id: svn://localhost/ardour2/branches/3.0@4673 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoUse quotes for taglib includes.
David Robillard [Thu, 26 Feb 2009 02:41:50 +0000 (02:41 +0000)]
Use quotes for taglib includes.

git-svn-id: svn://localhost/ardour2/branches/3.0@4672 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoVersion file building stuff.
David Robillard [Thu, 26 Feb 2009 02:24:16 +0000 (02:24 +0000)]
Version file building stuff.
Ardour should now compile from a fresh svn checkout using only waf.

git-svn-id: svn://localhost/ardour2/branches/3.0@4671 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoBuild VAmp plugins.
David Robillard [Thu, 26 Feb 2009 01:34:03 +0000 (01:34 +0000)]
Build VAmp plugins.

git-svn-id: svn://localhost/ardour2/branches/3.0@4670 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoWaf building of rubberband.
David Robillard [Thu, 26 Feb 2009 01:22:20 +0000 (01:22 +0000)]
Waf building of rubberband.
Use rubberband over soundtouch with waf for the time being.

git-svn-id: svn://localhost/ardour2/branches/3.0@4669 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix a bunch of warnings.
David Robillard [Thu, 26 Feb 2009 00:58:35 +0000 (00:58 +0000)]
Fix a bunch of warnings.
Clean up.

git-svn-id: svn://localhost/ardour2/branches/3.0@4668 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoClean up checks.
David Robillard [Thu, 26 Feb 2009 00:05:51 +0000 (00:05 +0000)]
Clean up checks.

git-svn-id: svn://localhost/ardour2/branches/3.0@4667 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoRemove useless checks.
David Robillard [Thu, 26 Feb 2009 00:01:29 +0000 (00:01 +0000)]
Remove useless checks.

git-svn-id: svn://localhost/ardour2/branches/3.0@4666 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoAdd missing gtk2_ardour wscript.
David Robillard [Wed, 25 Feb 2009 23:59:55 +0000 (23:59 +0000)]
Add missing gtk2_ardour wscript.
Check for libraries in libardour wscript (instead of gtk2_ardour) where appropriate.

git-svn-id: svn://localhost/ardour2/branches/3.0@4665 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoWrapper scripts for waf built version.
David Robillard [Wed, 25 Feb 2009 23:51:37 +0000 (23:51 +0000)]
Wrapper scripts for waf built version.

git-svn-id: svn://localhost/ardour2/branches/3.0@4664 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoAdd missing gtkmm2ext wscript.
David Robillard [Wed, 25 Feb 2009 23:48:10 +0000 (23:48 +0000)]
Add missing gtkmm2ext wscript.

git-svn-id: svn://localhost/ardour2/branches/3.0@4663 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoWaf building of gtk2_ardour.
David Robillard [Wed, 25 Feb 2009 23:21:49 +0000 (23:21 +0000)]
Waf building of gtk2_ardour.

git-svn-id: svn://localhost/ardour2/branches/3.0@4662 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoWaf building of libardour (yay!).
David Robillard [Wed, 25 Feb 2009 21:48:32 +0000 (21:48 +0000)]
Waf building of libardour (yay!).

git-svn-id: svn://localhost/ardour2/branches/3.0@4661 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoWaf building of taglib and vamp-sdk.
David Robillard [Wed, 25 Feb 2009 19:36:16 +0000 (19:36 +0000)]
Waf building of taglib and vamp-sdk.

git-svn-id: svn://localhost/ardour2/branches/3.0@4660 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix stupid warnings.
David Robillard [Wed, 25 Feb 2009 19:35:32 +0000 (19:35 +0000)]
Fix stupid warnings.

git-svn-id: svn://localhost/ardour2/branches/3.0@4659 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoMake unit tests optional.
David Robillard [Wed, 25 Feb 2009 19:08:26 +0000 (19:08 +0000)]
Make unit tests optional.

git-svn-id: svn://localhost/ardour2/branches/3.0@4658 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoAdd top level wscript.
David Robillard [Wed, 25 Feb 2009 18:59:45 +0000 (18:59 +0000)]
Add top level wscript.

git-svn-id: svn://localhost/ardour2/branches/3.0@4657 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoQuote includes for control_protocol.
David Robillard [Wed, 25 Feb 2009 18:39:39 +0000 (18:39 +0000)]
Quote includes for control_protocol.

git-svn-id: svn://localhost/ardour2/branches/3.0@4656 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago*** NEW CODING POLICY ***
David Robillard [Wed, 25 Feb 2009 18:26:51 +0000 (18:26 +0000)]
*** NEW CODING POLICY ***

All #include statements that include a header that is a part of a library
bundled with ardour MUST use quotes, not angle brackets.

Do this:

#include "ardour/types.h"

NOT this:

#include <ardour/types.h>

Rationale:

This is best practice in general, to ensure we include the local version
and not the system version.  That quotes mean "local" (in some sense)
and angle brackets mean "system" (in some sense) is a ubiquitous
convention and IIRC right in the C spec somewhere.

More pragmatically, this is required by (my) waf (stuff) for dependencies
to work correctly.  That is:

!!! FAILURE TO DO THIS CAN RESULT IN BROKEN BUILDS !!!

Failure to comply is punishable by death by torture. :)

P.S. It's not that dramatic in all cases, but this (in combination with some
GCC flags specific to the include type) is the best way I have found to be
absolutely 100% positive the local ones are being used (and we definitely
want to be absolutely 100% positive on that one).

git-svn-id: svn://localhost/ardour2/branches/3.0@4655 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoMove waf up to top level, waf building of pbd, evoral, midi++
David Robillard [Wed, 25 Feb 2009 17:51:42 +0000 (17:51 +0000)]
Move waf up to top level, waf building of pbd, evoral, midi++

git-svn-id: svn://localhost/ardour2/branches/3.0@4654 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix warnings.
David Robillard [Wed, 25 Feb 2009 17:39:19 +0000 (17:39 +0000)]
Fix warnings.

git-svn-id: svn://localhost/ardour2/branches/3.0@4653 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix empty for loop warning in RingBuffer constructor... and scary indentation......
David Robillard [Wed, 25 Feb 2009 17:23:15 +0000 (17:23 +0000)]
Fix empty for loop warning in RingBuffer constructor... and scary indentation... this is what was intended here, yes?

git-svn-id: svn://localhost/ardour2/branches/3.0@4652 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoUpgrade to waf 1.5.3.
David Robillard [Wed, 25 Feb 2009 16:41:27 +0000 (16:41 +0000)]
Upgrade to waf 1.5.3.

git-svn-id: svn://localhost/ardour2/branches/3.0@4651 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoClean up xml++.h and xml++.cc in Ardour style.
David Robillard [Sun, 22 Feb 2009 20:52:34 +0000 (20:52 +0000)]
Clean up xml++.h and xml++.cc in Ardour style.
No functional changes.
(We've diverged far enough for it to not matter, and are about to diverge even more, so might as well).

git-svn-id: svn://localhost/ardour2/branches/3.0@4649 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoMake commands noncopyable (they are definitely not copy safe).
David Robillard [Sun, 22 Feb 2009 17:37:33 +0000 (17:37 +0000)]
Make commands noncopyable (they are definitely not copy safe).
memento_command.h style.

git-svn-id: svn://localhost/ardour2/branches/3.0@4648 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix recording of the last disk chunk's worth of MIDI data.
David Robillard [Fri, 20 Feb 2009 01:20:03 +0000 (01:20 +0000)]
Fix recording of the last disk chunk's worth of MIDI data.

git-svn-id: svn://localhost/ardour2/branches/3.0@4645 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoMake source length a dynamic thing.
David Robillard [Fri, 20 Feb 2009 00:30:42 +0000 (00:30 +0000)]
Make source length a dynamic thing.
Update MIDI region length (actually and visually) when position changes.

git-svn-id: svn://localhost/ardour2/branches/3.0@4644 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoClean up Region interface, remove Readable stub kludge.
David Robillard [Thu, 19 Feb 2009 21:06:56 +0000 (21:06 +0000)]
Clean up Region interface, remove Readable stub kludge.

git-svn-id: svn://localhost/ardour2/branches/3.0@4643 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoOnly create a Curve for an AutomationList if we need it.
David Robillard [Thu, 19 Feb 2009 19:42:25 +0000 (19:42 +0000)]
Only create a Curve for an AutomationList if we need it.
Fix crash on crossfade editor show (ticket 2442).

git-svn-id: svn://localhost/ardour2/branches/3.0@4641 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix crash when using pencil on empty track areas while zoomer is fully zoomed out...
David Robillard [Thu, 19 Feb 2009 18:10:50 +0000 (18:10 +0000)]
Fix crash when using pencil on empty track areas while zoomer is fully zoomed out (and probably pretty much everything else when track is fully zoomed out...).

git-svn-id: svn://localhost/ardour2/branches/3.0@4640 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoCheck for alsa correctly. Hopefully.
David Robillard [Thu, 19 Feb 2009 17:57:34 +0000 (17:57 +0000)]
Check for alsa correctly.  Hopefully.

git-svn-id: svn://localhost/ardour2/branches/3.0@4639 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoIntroduce new time for session-relative frame time, and make source interface capable...
David Robillard [Thu, 19 Feb 2009 05:45:11 +0000 (05:45 +0000)]
Introduce new time for session-relative frame time, and make source interface capable of handling 64-bit long sessions.
sframes_t is "session frames".  The rules for time stamps are:
 - Anything relative to transport time, session position, etc, should be sframes_t
 - Anything relative to jack cycles, including the length thereof, should be nframes_t

To support sessions which exceed UINT32_MAX frames, we need to replace all the uses of
nframes_t for session time with sframes_t, and make sure the conversions are sound.
This does not depend on jack's nframes_t; that we are using the same type at all right now was an oops.

This is also be kinda nice for readability since the two different time bases have different types...

git-svn-id: svn://localhost/ardour2/branches/3.0@4636 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoInterpret tempo time based on read position (not source timeline position which is...
David Robillard [Thu, 19 Feb 2009 04:12:54 +0000 (04:12 +0000)]
Interpret tempo time based on read position (not source timeline position which is more or less meaningless).
Move time conversion into the region view rather than the source.
Adapt MIDI (including controllers) regions to the destination tempo when moved (e.g. dragging a region to a location with half the tempo will make the notes twice as long).

git-svn-id: svn://localhost/ardour2/branches/3.0@4635 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoReadable is not as generic as its name implies ;)
David Robillard [Thu, 19 Feb 2009 01:56:58 +0000 (01:56 +0000)]
Readable is not as generic as its name implies ;)

git-svn-id: svn://localhost/ardour2/branches/3.0@4634 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoRemove unused Session::curves.
David Robillard [Thu, 19 Feb 2009 01:24:34 +0000 (01:24 +0000)]
Remove unused Session::curves.

git-svn-id: svn://localhost/ardour2/branches/3.0@4633 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoRemove clear button from automation track headers so controller isn't cut off at...
David Robillard [Thu, 19 Feb 2009 00:37:18 +0000 (00:37 +0000)]
Remove clear button from automation track headers so controller isn't cut off at normal/default track height.

git-svn-id: svn://localhost/ardour2/branches/3.0@4632 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix insane formatting (how did this even happen? copy paste from an email diff or...
David Robillard [Thu, 19 Feb 2009 00:25:24 +0000 (00:25 +0000)]
Fix insane formatting (how did this even happen? copy paste from an email diff or something?).

git-svn-id: svn://localhost/ardour2/branches/3.0@4631 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoI am become death, destroyer of boilerplate.
David Robillard [Thu, 19 Feb 2009 00:15:54 +0000 (00:15 +0000)]
I am become death, destroyer of boilerplate.

git-svn-id: svn://localhost/ardour2/branches/3.0@4630 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoRemove empty files.
David Robillard [Wed, 18 Feb 2009 23:58:21 +0000 (23:58 +0000)]
Remove empty files.

git-svn-id: svn://localhost/ardour2/branches/3.0@4629 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix 'sticky' sliders when MIDI control feedback is enabled.
David Robillard [Wed, 18 Feb 2009 23:54:41 +0000 (23:54 +0000)]
Fix 'sticky' sliders when MIDI control feedback is enabled.

git-svn-id: svn://localhost/ardour2/branches/3.0@4628 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix MIDI control parameter mapping to work with controls that aren't [0..1] like...
David Robillard [Wed, 18 Feb 2009 22:30:06 +0000 (22:30 +0000)]
Fix MIDI control parameter mapping to work with controls that aren't [0..1] like gain (fix ticket #0002553).

git-svn-id: svn://localhost/ardour2/branches/3.0@4627 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoStyle.
David Robillard [Wed, 18 Feb 2009 20:57:58 +0000 (20:57 +0000)]
Style.

git-svn-id: svn://localhost/ardour2/branches/3.0@4626 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix MIDI controller feedback.
David Robillard [Wed, 18 Feb 2009 20:53:54 +0000 (20:53 +0000)]
Fix MIDI controller feedback.
Make control surfaces menu less weird.

git-svn-id: svn://localhost/ardour2/branches/3.0@4625 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix ardour2 -> ardour3 stuff in po files.
David Robillard [Wed, 18 Feb 2009 18:51:50 +0000 (18:51 +0000)]
Fix ardour2 -> ardour3 stuff in po files.

git-svn-id: svn://localhost/ardour2/branches/3.0@4623 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix ardour2 -> ardour3 issues.
David Robillard [Wed, 18 Feb 2009 18:32:13 +0000 (18:32 +0000)]
Fix ardour2 -> ardour3 issues.

git-svn-id: svn://localhost/ardour2/branches/3.0@4622 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoMake sure Evoral::MIDIEvent XML stuff is entirely unused in midi++ for now (resolve...
David Robillard [Wed, 18 Feb 2009 18:04:54 +0000 (18:04 +0000)]
Make sure Evoral::MIDIEvent XML stuff is entirely unused in midi++ for now (resolve ticket #0002491).
Remove empty midi++ README etc files (and ancient nearly-empty midi++ ChangeLog).

git-svn-id: svn://localhost/ardour2/branches/3.0@4621 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago* .gitignore
Hans Baier [Tue, 17 Feb 2009 16:42:22 +0000 (16:42 +0000)]
* .gitignore

git-svn-id: svn://localhost/ardour2/branches/3.0@4616 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago* FIXME in midi_util.h
Hans Baier [Tue, 17 Feb 2009 16:42:17 +0000 (16:42 +0000)]
* FIXME in midi_util.h

git-svn-id: svn://localhost/ardour2/branches/3.0@4615 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix deadlock and potential race condition when editing MIDI.
David Robillard [Tue, 17 Feb 2009 06:09:37 +0000 (06:09 +0000)]
Fix deadlock and potential race condition when editing MIDI.

git-svn-id: svn://localhost/ardour2/branches/3.0@4614 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoMake a bunch of stuff boost::noncopyable.
David Robillard [Tue, 17 Feb 2009 03:49:32 +0000 (03:49 +0000)]
Make a bunch of stuff boost::noncopyable.
Clean up.

git-svn-id: svn://localhost/ardour2/branches/3.0@4613 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix crazy spacey tabs, width, other super relevant rocket scientist type things.
David Robillard [Tue, 17 Feb 2009 02:45:58 +0000 (02:45 +0000)]
Fix crazy spacey tabs, width, other super relevant rocket scientist type things.

git-svn-id: svn://localhost/ardour2/branches/3.0@4612 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoMake range selection context menu work again.
Carl Hetherington [Tue, 17 Feb 2009 02:34:38 +0000 (02:34 +0000)]
Make range selection context menu work again.

git-svn-id: svn://localhost/ardour2/branches/3.0@4611 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoRemove unnecessary/unused template parameter from canvas sysex flags.
David Robillard [Tue, 17 Feb 2009 02:19:16 +0000 (02:19 +0000)]
Remove unnecessary/unused template parameter from canvas sysex flags.
Add license headers to canvas sysex files (tsk, tsk).

git-svn-id: svn://localhost/ardour2/branches/3.0@4610 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix the horrible mess that was anything related to sources and paths.
David Robillard [Tue, 17 Feb 2009 02:11:49 +0000 (02:11 +0000)]
Fix the horrible mess that was anything related to sources and paths.

Most significant changes:

 - Factor out FileSource from AudioFileSource, use for SMFSource too
 - Explicitly pass embedded rather than mysterious name mangling or whatever
 - Destroy a ton of duplicated or very-nearly-duplicated code
 - Clean up and document all that weird source stuff in session.cc

git-svn-id: svn://localhost/ardour2/branches/3.0@4609 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix for visual glitch due to race between Editor::update_current_screen being called...
Carl Hetherington [Tue, 17 Feb 2009 00:12:22 +0000 (00:12 +0000)]
Fix for visual glitch due to race between Editor::update_current_screen being called and a locate event being processed.

git-svn-id: svn://localhost/ardour2/branches/3.0@4608 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix crash on audio record (time converter segfault wackiness).
David Robillard [Mon, 16 Feb 2009 23:32:59 +0000 (23:32 +0000)]
Fix crash on audio record (time converter segfault wackiness).

git-svn-id: svn://localhost/ardour2/branches/3.0@4607 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix memory leak.
Sampo Savolainen [Mon, 16 Feb 2009 19:06:27 +0000 (19:06 +0000)]
Fix memory leak.

git-svn-id: svn://localhost/ardour2/branches/3.0@4606 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoMove duplicated AudioFileSource::Flags and SMFSource::Flags into Source.
David Robillard [Mon, 16 Feb 2009 18:08:22 +0000 (18:08 +0000)]
Move duplicated AudioFileSource::Flags and SMFSource::Flags into Source.
Clean up source stuff.

git-svn-id: svn://localhost/ardour2/branches/3.0@4605 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years ago* First prototype of SysEx GUI
Hans Baier [Mon, 16 Feb 2009 09:51:40 +0000 (09:51 +0000)]
* First prototype of SysEx GUI

git-svn-id: svn://localhost/ardour2/branches/3.0@4604 d708f5d6-7413-0410-9779-e7cbd77b26cf

15 years agoFix a bunch of the ol' trivial audio-specific-for-no-particular-reason things.
David Robillard [Mon, 16 Feb 2009 07:04:27 +0000 (07:04 +0000)]
Fix a bunch of the ol' trivial audio-specific-for-no-particular-reason things.
Re-addition of this sort of thing is now officially punishable by death ;)

git-svn-id: svn://localhost/ardour2/branches/3.0@4603 d708f5d6-7413-0410-9779-e7cbd77b26cf