13
0
Commit Graph

1338 Commits

Author SHA1 Message Date
d3d1e2c286 Strip trailing whitespace from waf scripts.
git-svn-id: svn://localhost/ardour2/branches/3.0@5045 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 22:10:15 +00:00
Carl Hetherington
d76a5d9958 A few small layout cleanups.
git-svn-id: svn://localhost/ardour2/branches/3.0@5044 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 21:36:45 +00:00
49f28513f5 clean up that godawful ugly latency GUI in plugin UIs
git-svn-id: svn://localhost/ardour2/branches/3.0@5038 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 17:49:28 +00:00
807bc4c3d6 Reconfigure GUI meters when route I/O configuration changes.
git-svn-id: svn://localhost/ardour2/branches/3.0@5037 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 17:05:55 +00:00
ca10cc82a4 Preliminary MIDI plugin support.
git-svn-id: svn://localhost/ardour2/branches/3.0@5036 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 15:50:51 +00:00
9b06b1da0c slv2 also needs lrdf
git-svn-id: svn://localhost/ardour2/branches/3.0@5035 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 14:54:53 +00:00
a0696c2406 Use SLV2.
git-svn-id: svn://localhost/ardour2/branches/3.0@5034 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 14:32:04 +00:00
97ac92a781 Build lv2_plugin_ui.cc
git-svn-id: svn://localhost/ardour2/branches/3.0@5033 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 14:28:29 +00:00
4d4f6ee9e5 Remove tmpnam usage.
git-svn-id: svn://localhost/ardour2/branches/3.0@5032 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-04 02:50:58 +00:00
8491953e20 Fix LV2 compilation.
git-svn-id: svn://localhost/ardour2/branches/3.0@5030 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-03 19:53:09 +00:00
Carl Hetherington
1ae39840b3 Support for the port matrix working at the bundle level and hiding details of ports.
git-svn-id: svn://localhost/ardour2/branches/3.0@5029 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-03 14:31:42 +00:00
Sakari Bergen
7e48118bf1 * Fix tooltips in the session import dialog
* Fix arval to run from all directories


git-svn-id: svn://localhost/ardour2/branches/3.0@5028 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-02 20:26:11 +00:00
c7733b443a Fix LV2 plugin support.
git-svn-id: svn://localhost/ardour2/branches/3.0@5027 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-02 18:13:24 +00:00
Carl Hetherington
918371d52a Couple of fixes to route / mixer strip ordering which should hopefully stop the random re-ordering on startup.
git-svn-id: svn://localhost/ardour2/branches/3.0@5026 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-01 20:30:57 +00:00
Carl Hetherington
c4656b5c09 Set up rulers to prevent access to uninitialized variables later.
git-svn-id: svn://localhost/ardour2/branches/3.0@5025 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-01 20:30:22 +00:00
Carl Hetherington
c724b85839 Fix a couple of valgrind-spotted out-of-bounds accesses that may have been causing segfaults, especially when opening the crossfade editor dialog. Some minor cleanups. Add some comments.
git-svn-id: svn://localhost/ardour2/branches/3.0@5020 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 18:45:45 +00:00
62fe887e24 fix crash during new session setup related to template choice
git-svn-id: svn://localhost/ardour2/branches/3.0@5019 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 18:17:02 +00:00
Carl Hetherington
57e1c28750 Preview effect of strip silence within the dialog.
git-svn-id: svn://localhost/ardour2/branches/3.0@5017 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 17:07:57 +00:00
8a7e3f17f4 implement panner reset functionality (missing since 0.99?) ported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@5015 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 15:04:16 +00:00
075f5170ef disk buffer stats patch ported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@5014 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-30 15:03:55 +00:00
Carl Hetherington
e41527d5ba Only make record button solid red (and big clock red) when things are actually being recorded (ie when record is in progress and one or more tracks are armed). As per mantis #2604.
git-svn-id: svn://localhost/ardour2/branches/3.0@5012 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29 17:30:35 +00:00
Carl Hetherington
9e776feac6 Add files missing from previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@5011 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29 17:05:42 +00:00
Carl Hetherington
459c439512 First cut of option to strip silence from audio regions, as per mantis #1623
git-svn-id: svn://localhost/ardour2/branches/3.0@5010 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29 17:01:14 +00:00
Carl Hetherington
7eba373a0f Disallow click and auditioner as track / buss names to avoid clashing with internal IOs.
git-svn-id: svn://localhost/ardour2/branches/3.0@5009 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29 16:15:33 +00:00
Carl Hetherington
6389398992 Fix compiler warning.
git-svn-id: svn://localhost/ardour2/branches/3.0@5007 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-29 16:01:11 +00:00
77bb36bbe0 carl's small fix for new session
git-svn-id: svn://localhost/ardour2/branches/3.0@5005 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-28 11:57:53 +00:00
6d52370558 more misc. startup/session load fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@5001 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-23 19:41:14 +00:00
41d3f3519c misc. startup/session load fixes
git-svn-id: svn://localhost/ardour2/branches/3.0@5000 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-23 19:28:17 +00:00
2836879341 remove offset from process callback tree. some breakage may have occured. yes, really.
git-svn-id: svn://localhost/ardour2/branches/3.0@4999 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-23 17:48:37 +00:00
7c4bfd9b24 switch meter colors
git-svn-id: svn://localhost/ardour2/branches/3.0@4997 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-23 17:42:25 +00:00
18b94f129d lincoln's route connection cleanup patch
git-svn-id: svn://localhost/ardour2/branches/3.0@4996 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-22 01:49:48 +00:00
c287ebec9b a long tricky day of playing with ArdourStartup and session naming/loading etc.
git-svn-id: svn://localhost/ardour2/branches/3.0@4995 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-22 01:35:31 +00:00
0d36301907 3 notable patches from lincoln (a) non-layered track mode (NOTE: this is broken for loop recording right now) (b) trim region to previous/next region (c) region push/pull trimming. work on these 3 features should be assumed to be still slightly ongoing (eg. default bindings and more). great stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@4994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-20 21:02:46 +00:00
f19c01bbb4 fixes for possible null engine dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@4993 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-20 21:00:30 +00:00
0513474072 farewell NSD, we loved you sometimes, almost never
git-svn-id: svn://localhost/ardour2/branches/3.0@4992 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-20 18:41:46 +00:00
3ae378a17c Upgrade to waf 1.5.4.
git-svn-id: svn://localhost/ardour2/branches/3.0@4991 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-18 16:15:12 +00:00
ed1fa35774 Fix indentation.
git-svn-id: svn://localhost/ardour2/branches/3.0@4989 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-17 00:03:27 +00:00
a4b8955f3e part 2 of 3 of the 2.8 -> 3.0 merge
git-svn-id: svn://localhost/ardour2/branches/3.0@4987 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-16 16:02:25 +00:00
54d9f2f2d8 first half of the mega-by-hand-commit-by-commit merge from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@4980 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-04-15 18:04:23 +00:00
Sampo Savolainen
a99ea55e68 Chris's work on the region list
git-svn-id: svn://localhost/ardour2/branches/3.0@4920 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-28 16:17:51 +00:00
22a80d4ffd (from 2.x) make context menu-driven stuff on ruler bars happen in the right place (e.g. new markers)
git-svn-id: svn://localhost/ardour2/branches/3.0@4878 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-21 13:08:06 +00:00
Hans Baier
4627ab1048 main.cc: conditional compile for startup dialog since it makes MIDI Clock ticker crash on startup (race?)
git-svn-id: svn://localhost/ardour2/branches/3.0@4840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-16 14:25:06 +00:00
Hans Baier
8cbf97c27c ArdourStartup: fix new_folder_chooser
git-svn-id: svn://localhost/ardour2/branches/3.0@4839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-15 22:17:03 +00:00
Sakari Bergen
ab47be7b5a Some preparations for allowing multiple channel configurations in export channel configurations.
Also unified the timespan selector interface...


git-svn-id: svn://localhost/ardour2/branches/3.0@4748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-08 10:56:40 +00:00
b669de1e97 fix crash when renaming a track after deleting a plugin that had a visible GUI/editor window
git-svn-id: svn://localhost/ardour2/branches/3.0@4747 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-07 14:06:19 +00:00
Sampo Savolainen
bcd217ec8e Improvements to the plugin eq gui:
- phase correction for analysis
 - move gui elements to a more common location so that it's available for VSTs
   (needs packing in each PluginUI derived class though)


git-svn-id: svn://localhost/ardour2/branches/3.0@4745 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-07 11:17:06 +00:00
Sakari Bergen
e09c51251f Fix compiler warnings
git-svn-id: svn://localhost/ardour2/branches/3.0@4744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-07 09:42:39 +00:00
Sampo Savolainen
bb20bcc7b6 Make it possible to consolidate/bounce ranges without applying processing
git-svn-id: svn://localhost/ardour2/branches/3.0@4743 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-06 19:28:39 +00:00
0697aed059 combobox width fixes from mtaht, backported from 2.X
git-svn-id: svn://localhost/ardour2/branches/3.0@4742 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-06 17:06:38 +00:00
a9d6d16214 new crossfade editor icons from markus s.
git-svn-id: svn://localhost/ardour2/branches/3.0@4739 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-06 15:18:33 +00:00
d50b65773a fix up kludgy assumptions about mixer strip route ops menu ordering
git-svn-id: svn://localhost/ardour2/branches/3.0@4734 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-05 17:25:52 +00:00
922e79c94a new startup assistant/wizard; unfinished; can potentially interfere with your normal session startup. no comments other than aesthetics, please (which are not ideal at present); a few fixes to waf-based scripts
git-svn-id: svn://localhost/ardour2/branches/3.0@4729 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-04 23:06:18 +00:00
3bea6df989 Less crufty building of the C components of gtk2_ardour.
git-svn-id: svn://localhost/ardour2/branches/3.0@4727 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-04 19:35:25 +00:00
97f022575c Fix build. Ahem.
git-svn-id: svn://localhost/ardour2/branches/3.0@4718 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-02 18:26:08 +00:00
8f5de18c75 remove unneeded code in line_drag that was probably copy/pasted from control_point_drag (Ben Loftis, backported from 2.X)
git-svn-id: svn://localhost/ardour2/branches/3.0@4716 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-02 18:10:12 +00:00
7a5adcbe72 allow dragging of automation lines (Ben Loftis, backported from 2.X)
git-svn-id: svn://localhost/ardour2/branches/3.0@4715 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-02 18:08:15 +00:00
Carl Hetherington
5b5957c195 Allow running from any directory.
git-svn-id: svn://localhost/ardour2/branches/3.0@4710 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-01 19:44:32 +00:00
Carl Hetherington
edee84d014 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
2009-02-28 01:52:45 +00:00
Carl Hetherington
1f81c127fe Remove some unused code.
git-svn-id: svn://localhost/ardour2/branches/3.0@4707 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 23:26:52 +00:00
Carl Hetherington
baf51996c4 Set thread done flag when freeze completes.
git-svn-id: svn://localhost/ardour2/branches/3.0@4706 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 23:26:10 +00:00
9d52ae2f19 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
2009-02-27 22:52:39 +00:00
Carl Hetherington
2c7b27d7ae 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
2009-02-27 21:16:02 +00:00
63189be1df 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
2009-02-27 17:11:21 +00:00
903c0863d9 Waf: install stuff
git-svn-id: svn://localhost/ardour2/branches/3.0@4702 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 04:40:44 +00:00
ca28b2460a Remove apparently unnecessary friend declarations.
git-svn-id: svn://localhost/ardour2/branches/3.0@4699 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 01:26:47 +00:00
eeae6aec34 Split TimeFXDialog from Editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@4698 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 01:20:25 +00:00
9f77cd9e19 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
2009-02-27 00:59:30 +00:00
60b0022d75 Tidy.
git-svn-id: svn://localhost/ardour2/branches/3.0@4696 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-27 00:49:24 +00:00
6c29fe7fd0 fix ardbg scripts after cd .. was removed
git-svn-id: svn://localhost/ardour2/branches/3.0@4693 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 23:45:03 +00:00
9ed81fdd6e remove silly cd .. in ard* scripts
git-svn-id: svn://localhost/ardour2/branches/3.0@4692 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 23:43:10 +00:00
6a0608847a 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
2009-02-26 23:31:41 +00:00
539a19a1eb Less weird name.
git-svn-id: svn://localhost/ardour2/branches/3.0@4690 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 23:27:48 +00:00
76dbfc5670 Fix running with ard*.sh scripts with waf build.
git-svn-id: svn://localhost/ardour2/branches/3.0@4689 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 23:24:50 +00:00
c841bb76dd unify ard* scripts for both scons & waf builds
git-svn-id: svn://localhost/ardour2/branches/3.0@4688 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 22:30:13 +00:00
acf0f59c0e 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
2009-02-26 04:54:08 +00:00
0dac6b545b 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
2009-02-26 04:41:09 +00:00
76f242cb80 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
2009-02-26 02:24:16 +00:00
593ffe8033 Build VAmp plugins.
git-svn-id: svn://localhost/ardour2/branches/3.0@4670 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 01:34:03 +00:00
1d516ac95a 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
2009-02-26 01:22:20 +00:00
03536cd399 Fix a bunch of warnings.
Clean up.


git-svn-id: svn://localhost/ardour2/branches/3.0@4668 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 00:58:35 +00:00
49412d3852 Remove useless checks.
git-svn-id: svn://localhost/ardour2/branches/3.0@4666 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-26 00:01:29 +00:00
b7753d292b 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
2009-02-25 23:59:55 +00:00
6d8a42cc8e Wrapper scripts for waf built version.
git-svn-id: svn://localhost/ardour2/branches/3.0@4664 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 23:51:37 +00:00
0c0e689d3c Waf building of gtk2_ardour.
git-svn-id: svn://localhost/ardour2/branches/3.0@4662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 23:21:49 +00:00
24f5ad743e Quote includes for control_protocol.
git-svn-id: svn://localhost/ardour2/branches/3.0@4656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-25 18:39:39 +00:00
e0aaed6d65 *** 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
2009-02-25 18:26:51 +00:00
c9582da233 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
2009-02-20 00:30:42 +00:00
75c15679bf 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
2009-02-19 19:42:25 +00:00
c006ff1762 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
2009-02-19 18:10:50 +00:00
8a28ea6154 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
2009-02-19 05:45:11 +00:00
0f71728a92 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
2009-02-19 04:12:54 +00:00
6b8c6128cb 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
2009-02-19 00:37:18 +00:00
2e1332f74f 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
2009-02-19 00:25:24 +00:00
df329436ea I am become death, destroyer of boilerplate.
git-svn-id: svn://localhost/ardour2/branches/3.0@4630 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-19 00:15:54 +00:00
cbb59ddbce Fix 'sticky' sliders when MIDI control feedback is enabled.
git-svn-id: svn://localhost/ardour2/branches/3.0@4628 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 23:54:41 +00:00
1f9c3f34d9 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
2009-02-18 20:53:54 +00:00
22088e77a7 Fix ardour2 -> ardour3 stuff in po files.
git-svn-id: svn://localhost/ardour2/branches/3.0@4623 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 18:51:50 +00:00
227eca4054 Fix ardour2 -> ardour3 issues.
git-svn-id: svn://localhost/ardour2/branches/3.0@4622 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-18 18:32:13 +00:00
Carl Hetherington
deb2033a34 Make range selection context menu work again.
git-svn-id: svn://localhost/ardour2/branches/3.0@4611 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-17 02:34:38 +00:00
b857756f60 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
2009-02-17 02:19:16 +00:00
022818b4a7 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
2009-02-17 02:11:49 +00:00
Carl Hetherington
4565b73a39 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
2009-02-17 00:12:22 +00:00
3e1eb6bcbd Fix crash on audio record (time converter segfault wackiness).
git-svn-id: svn://localhost/ardour2/branches/3.0@4607 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 23:32:59 +00:00
900309993c 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
2009-02-16 18:08:22 +00:00
Hans Baier
80e3845982 * First prototype of SysEx GUI
git-svn-id: svn://localhost/ardour2/branches/3.0@4604 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 09:51:40 +00:00
64bf6f004a 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
2009-02-16 07:04:27 +00:00
31a6e0b254 Fix time / positioning of PC flags (beat time).
Fix needless string copying in flag stuff.
Clean up.


git-svn-id: svn://localhost/ardour2/branches/3.0@4601 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 05:54:12 +00:00
de88640598 Don't do a linear search through controls for program change for no reason.
Clean up.


git-svn-id: svn://localhost/ardour2/branches/3.0@4600 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 05:33:23 +00:00
458c588e2c Don't bind playlist_modified with a shared_ptr<Playlist> parameter.
Clean up.


git-svn-id: svn://localhost/ardour2/branches/3.0@4599 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 05:13:05 +00:00
fb254fb2fc Fix crash when NullAutomation is created (which shouldn't be happening, but hey...).
git-svn-id: svn://localhost/ardour2/branches/3.0@4598 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 04:53:01 +00:00
5f7b4de024 Time unit translation for AutomationLine (correctly display MIDI controller data).
git-svn-id: svn://localhost/ardour2/branches/3.0@4597 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 04:46:45 +00:00
3963d2b0b2 Move all beats <-> frames time conversion into a single object that can be passed around.
This has 3 main benefits:
 - All conversion code is in one place (less duplication, potential bugs)
 - The conversion method can be passed to things that are ignorant
   of the actual time units involved, information required, etc.
   (In the future it would be nice to have user selectable tempo/frame time)
 - It should be relatively simple now to support tempo changes part-way
   through a MIDI region (at least architecturally speaking)


git-svn-id: svn://localhost/ardour2/branches/3.0@4594 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 02:51:16 +00:00
beb3eea62b Fix horizontal positioning of PC flags.
git-svn-id: svn://localhost/ardour2/branches/3.0@4593 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-16 01:12:49 +00:00
1380f4fafb Trim include dependency tree (particularly on evoral/Sequence.hpp).
git-svn-id: svn://localhost/ardour2/branches/3.0@4589 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 23:47:09 +00:00
5b71b9333a Bring the note mode menu back from the dead.
Fix percussive note (diamonds) placement.


git-svn-id: svn://localhost/ardour2/branches/3.0@4587 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 21:19:01 +00:00
59972b5550 Factor out region layering.
Correctly layer automation regions to match the stacking of their 'real' counterparts.


git-svn-id: svn://localhost/ardour2/branches/3.0@4585 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 20:31:05 +00:00
9c89a93e4f Remove dead code.
git-svn-id: svn://localhost/ardour2/branches/3.0@4584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 19:56:06 +00:00
166395c96b Fix genererally retarded and broken note range / diskstream display / etc. related things (correctly display region contents on initial session load).
git-svn-id: svn://localhost/ardour2/branches/3.0@4583 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 19:44:27 +00:00
ecaf107ed3 The Big Change: Store time in MidiModel as tempo time, not frame time.
The time stamp of an event is now always tempo, from file to model and
back again.  Frame time is only relevant at playback or recording time,
in the audio thread (MidiModel and MidiBuffer).

I think perhaps we don't need to change the actual time from double (which is
convenient for math), it is the time base conversion that caused problems.
Using a correct equality comparison (i.e.  not == which is not correct for
floating point) should probably make the undo issues go away, in 99.99% of
cases anyway.

There's almost certainly some regressions in here somewhere, but they do not
seem to be time related.  The bugs I'm hitting in testing are old ones that
seem unrelated now, so it's checkpoint time.

This sets us up for fancy things like tempo map import and tempo/meter changes
halfway through MIDI regions, but for now it's still assumed that the tempo
at the start of the region is valid for the duration of the entire region.


git-svn-id: svn://localhost/ardour2/branches/3.0@4582 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 17:30:42 +00:00
64e69c36da Oops. Fix XML stuff in GUI as well.
git-svn-id: svn://localhost/ardour2/branches/3.0@4579 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 03:45:00 +00:00
789bd1d007 More contrast for MIDI notes.
git-svn-id: svn://localhost/ardour2/branches/3.0@4578 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 03:37:08 +00:00
67ce82c9b4 Shutup.
git-svn-id: svn://localhost/ardour2/branches/3.0@4574 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-15 02:14:23 +00:00
Carl Hetherington
b0091c899b If a bundle's channel has no ports associated with it, you can't connect
it to anything; mark things up accordingly in the port matrix.


git-svn-id: svn://localhost/ardour2/branches/3.0@4557 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 20:17:45 +00:00
Carl Hetherington
9a3734a6bd Make DnD copy processors using their XML representations. Remove unused
copy constructors from the Processor hierarchy, and declare them private
to explicitly disallow copy construction.


git-svn-id: svn://localhost/ardour2/branches/3.0@4556 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 19:45:30 +00:00
Carl Hetherington
50d7d19614 Fix send copying by paste and drag n drop.
git-svn-id: svn://localhost/ardour2/branches/3.0@4550 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 17:28:01 +00:00
ef172d7ad6 Less weak plugin preset system (maybe AU preset stuff can use the 'normal' thing instead of being all weird now?).
LV2 preset support as implemented in svn calf plugins (experimental extension).


git-svn-id: svn://localhost/ardour2/branches/3.0@4547 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-14 03:28:12 +00:00
Hans Baier
f93ca1349c * Added CanvasSysEx class for displaying SysExes
git-svn-id: svn://localhost/ardour2/branches/3.0@4544 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-13 08:29:12 +00:00
Hans Baier
9d33176b49 * Swapped MidiSource to LibSMF
* integrated libsmf into scons


git-svn-id: svn://localhost/ardour2/branches/3.0@4539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-12 23:28:32 +00:00
Carl Hetherington
0522149d20 Fix segfault on:
1. move a region to a new track.
2. trim it.


git-svn-id: svn://localhost/ardour2/branches/3.0@4537 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 23:51:52 +00:00
Carl Hetherington
41afd1201d Fix some problems with dragging more than 1 region to a new track.
git-svn-id: svn://localhost/ardour2/branches/3.0@4530 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 17:20:46 +00:00
Carl Hetherington
567f37f8eb Offer routes on mixer strip IO menus. Fixes to these menus on MIDI routes.
git-svn-id: svn://localhost/ardour2/branches/3.0@4528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-11 02:14:01 +00:00
Carl Hetherington
7666413e18 Duh. Simplify previous commit.
git-svn-id: svn://localhost/ardour2/branches/3.0@4520 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 15:58:03 +00:00
Carl Hetherington
eef9223835 Add a rescan button.
git-svn-id: svn://localhost/ardour2/branches/3.0@4519 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 15:45:06 +00:00
Carl Hetherington
c601946bc8 Bit of a hack to make the port matrix for port inserts at least vaguely usable.
git-svn-id: svn://localhost/ardour2/branches/3.0@4516 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 02:09:46 +00:00
Carl Hetherington
9fc369aa44 Fix disassociation of all from a single channel.
git-svn-id: svn://localhost/ardour2/branches/3.0@4515 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 02:06:31 +00:00
Carl Hetherington
81cbf022ae Fix disassociate all to only disassociate if required.
git-svn-id: svn://localhost/ardour2/branches/3.0@4512 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-10 00:49:48 +00:00
Carl Hetherington
b6b366b631 Remove references to connection manager from the build.
git-svn-id: svn://localhost/ardour2/branches/3.0@4502 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 03:20:23 +00:00
Carl Hetherington
ee42a6dd97 Fixes to bundle manager to make it vaguely usable.
Rework signal handling for bundles so that all changes should now be noticed by port matrices.


git-svn-id: svn://localhost/ardour2/branches/3.0@4501 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 03:18:10 +00:00
Carl Hetherington
91032b311e Remove old connection editor.
git-svn-id: svn://localhost/ardour2/branches/3.0@4500 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-09 03:17:03 +00:00
Carl Hetherington
67d545c080 Small fixes to port matrix rendering, mostly visible when using the bundle manager.
git-svn-id: svn://localhost/ardour2/branches/3.0@4491 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-05 12:56:12 +00:00
Carl Hetherington
ee4e28751e Reduce header dependencies.
git-svn-id: svn://localhost/ardour2/branches/3.0@4490 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-04 17:05:26 +00:00
Carl Hetherington
dc6571fb29 Fix minor visual glitch with mouseover when a label is partially out-of-sight.
git-svn-id: svn://localhost/ardour2/branches/3.0@4489 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-04 14:26:00 +00:00
Hans Baier
5e3cced3e7 * typo buss -> bus
git-svn-id: svn://localhost/ardour2/branches/3.0@4485 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-03 06:22:50 +00:00
Carl Hetherington
d06d697e41 Click and hold button 1 over a channel name in the port matrix highlights
connected channels.


git-svn-id: svn://localhost/ardour2/branches/3.0@4484 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-03 01:55:25 +00:00
Carl Hetherington
6a9dc6b8d0 Do not display orphaned Show: labels when they are not required.
git-svn-id: svn://localhost/ardour2/branches/3.0@4483 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-03 00:07:51 +00:00
Carl Hetherington
762b02bc95 Fix auto-return, hopefully not at the expense of anything else.
git-svn-id: svn://localhost/ardour2/branches/3.0@4482 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 22:35:50 +00:00
Carl Hetherington
54afc94e62 Re-enable creation of stereo bundles for system IO, so that the mixer strip
connection menus for stereo tracks are populated again.
Also enable disconnection via these menus.


git-svn-id: svn://localhost/ardour2/branches/3.0@4481 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 22:17:06 +00:00
Carl Hetherington
23e7641a9b Fix up mouseover handling in the port matrix.
git-svn-id: svn://localhost/ardour2/branches/3.0@4478 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 13:59:50 +00:00
166ef64e3d Make (MIDI) event time stamp type a template parameter.
git-svn-id: svn://localhost/ardour2/branches/3.0@4473 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-02 02:36:05 +00:00
aaa91db6d9 Trim include dependency graph, especially for io.h and session.h.
Clean up some stuff and other such gruntwork in the process.


git-svn-id: svn://localhost/ardour2/branches/3.0@4468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-01-30 20:18:31 +00:00