13
0
Commit Graph

8662 Commits

Author SHA1 Message Date
Carl Hetherington
6417f703cf Expand comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@12474 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-28 21:01:55 +00:00
Carl Hetherington
5776407b3b Clear selection on starting a MIDI note rubberband
selection drag; always emit SelectionCleared() from
clear_selection_except even if this region's selection
hasn't changed, as we still want to clear the selection
in other regions.  Part of #4669.


git-svn-id: svn://localhost/ardour2/branches/3.0@12473 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-28 21:01:49 +00:00
Carl Hetherington
cc12b6bba5 Emit SelectionCleared() when unique-selecting the first
note in a region, so that other regions clear their
selections.


git-svn-id: svn://localhost/ardour2/branches/3.0@12472 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-28 21:01:43 +00:00
Carl Hetherington
dfd842812c Deselect MIDI notes when leaving internal edit mode
(part of #4669).


git-svn-id: svn://localhost/ardour2/branches/3.0@12471 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-28 21:01:37 +00:00
Carl Hetherington
ec362b39ad Missing files.
git-svn-id: svn://localhost/ardour2/branches/3.0@12469 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-28 16:48:39 +00:00
Carl Hetherington
7eb8a33910 Add path_is_within to decide if a path is within a given
directory, taking symlinks into account, and use it to
decide whether a file is within the session folder.  Should
fix #4552.


git-svn-id: svn://localhost/ardour2/branches/3.0@12468 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-28 16:32:41 +00:00
d825f20a32 explicit checks for all components of the LV2 stack
git-svn-id: svn://localhost/ardour2/branches/3.0@12465 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-28 13:51:26 +00:00
3696f98e6f Re-implement URIMap to tolerate broken plugins that use the wrong context to
map MIDI event types (fix #4889).

All uri-map contexts are now just ignored, and equivalent to urid (which is
equivalent to uri-map with context NULL).  We now just hope that no event types
are mapped after UINT16_MAX URIs have been mapped, and die horribly otherwise.
This is exceedingly unlikely to happen any time in the next several years, if
ever.


git-svn-id: svn://localhost/ardour2/branches/3.0@12462 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 23:05:45 +00:00
Carl Hetherington
0b21004252 Prevent x movement of the end points of region gain
lines (should fix #4680).


git-svn-id: svn://localhost/ardour2/branches/3.0@12461 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 21:02:36 +00:00
Carl Hetherington
f722858e43 Patch from tophatdave to improve display of timestretch in
stacked layers mode (#4379).


git-svn-id: svn://localhost/ardour2/branches/3.0@12460 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 20:07:13 +00:00
Carl Hetherington
d33c0d96fb Patch from colinf to avoid splitting unselected regions
on the same track as a selected region; also make no
selection = all tracks button work (#4831).


git-svn-id: svn://localhost/ardour2/branches/3.0@12459 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 19:36:27 +00:00
bdfd71602f add a fix for the one problem case from the last commit: region splitting, where we don't announce regions until the entire edit op is done, but for naming purpoes each new region created needs to be in the map. likely that i will commit a better, cleaner fix for this later
git-svn-id: svn://localhost/ardour2/branches/3.0@12458 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 18:22:45 +00:00
20299f71e3 don't add regions created with announce=false to the global region map. i hope this doesn't have too many side effects ...
git-svn-id: svn://localhost/ardour2/branches/3.0@12457 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 18:08:03 +00:00
06c7a5da6b don't alter session search path frm within FileSource constructor, do it when a source is added to the session; related - don't add sources that are created with announce=false to the session, and as a (new) corollary, no longer cause them to potentially alter the session search path (this applies mostly to sources created for auditioning)
git-svn-id: svn://localhost/ardour2/branches/3.0@12456 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 18:07:30 +00:00
341d033b2c MIDI::Port::(get|set)_state() should be virtual, so that derived classes get their chance in the sun. Fixes #4887
git-svn-id: svn://localhost/ardour2/branches/3.0@12455 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 16:49:51 +00:00
Carl Hetherington
67953dc93b Patch from antgel to fix resampling of sessions with no
automation/ directory (#4888).


git-svn-id: svn://localhost/ardour2/branches/3.0@12454 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 15:45:36 +00:00
d7a32eb85e MCP: remember to drain the x-thread FIFO that tells us that JACK MIDI data has been received
git-svn-id: svn://localhost/ardour2/branches/3.0@12453 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-27 10:57:36 +00:00
e3f73f2655 convert audioregion xfade stuff to properties, add "is-short" property for fade in and out so that we can keep track of whether an (x)fade is supposed to remain "short", and don't do "mess-with-region-below" stuff when trimming a short xfade. should be back-compatible with 3beta4a
git-svn-id: svn://localhost/ardour2/branches/3.0@12452 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-26 01:24:01 +00:00
2d017301f9 add ::length() method to Evoral::ControlList
git-svn-id: svn://localhost/ardour2/branches/3.0@12451 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-25 19:59:11 +00:00
8fe10ed4f8 new device profile for BCF2000 from James Roberts
git-svn-id: svn://localhost/ardour2/branches/3.0@12450 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-25 19:39:12 +00:00
8d41955b3d missing method for MCP
git-svn-id: svn://localhost/ardour2/branches/3.0@12449 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-25 17:56:26 +00:00
9dae320b12 always create short xfades when adding a region based on capture
git-svn-id: svn://localhost/ardour2/branches/3.0@12443 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 22:03:19 +00:00
f94e66e095 quieten down linux build script
git-svn-id: svn://localhost/ardour2/branches/3.0@12442 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 22:01:47 +00:00
450965602b remove old RECMUTEX conditional
git-svn-id: svn://localhost/ardour2/branches/3.0@12441 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 21:33:42 +00:00
7d252412c3 add support for <HasMeters value=XX/> stanza in MCP device info file
git-svn-id: svn://localhost/ardour2/branches/3.0@12440 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 19:27:29 +00:00
239d56ccb9 add BCF2000 device info file for MCP
git-svn-id: svn://localhost/ardour2/branches/3.0@12439 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 19:26:50 +00:00
95b2d07bd2 remove unused segmented display parameter from MCP device info files
git-svn-id: svn://localhost/ardour2/branches/3.0@12438 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 19:23:26 +00:00
f8f2b888cc build script tweaks for OS X
git-svn-id: svn://localhost/ardour2/branches/3.0@12434 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 17:59:09 +00:00
Carl Hetherington
80095b7c9d Missing include.
git-svn-id: svn://localhost/ardour2/branches/3.0@12433 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 17:43:13 +00:00
Carl Hetherington
7110c6de67 Tweak comment.
git-svn-id: svn://localhost/ardour2/branches/3.0@12432 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 17:43:07 +00:00
7aeff94792 more build script cleanups
git-svn-id: svn://localhost/ardour2/branches/3.0@12431 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 17:22:35 +00:00
9fa596839f more build script cleanups
git-svn-id: svn://localhost/ardour2/branches/3.0@12429 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 17:12:09 +00:00
e195a2e379 more build script cleanups
git-svn-id: svn://localhost/ardour2/branches/3.0@12428 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 16:59:58 +00:00
95e092da71 more build script cleanups
git-svn-id: svn://localhost/ardour2/branches/3.0@12427 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 16:44:39 +00:00
a06624e161 more build script cleanups
git-svn-id: svn://localhost/ardour2/branches/3.0@12426 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 16:34:46 +00:00
0a5e13189a more build script cleanups
git-svn-id: svn://localhost/ardour2/branches/3.0@12425 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 16:27:50 +00:00
74de4063c6 more build script cleanups
git-svn-id: svn://localhost/ardour2/branches/3.0@12424 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 16:21:46 +00:00
72fa409664 more build script cleanups
git-svn-id: svn://localhost/ardour2/branches/3.0@12423 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 16:19:41 +00:00
10c6490d54 build script tweaks for most consistency
git-svn-id: svn://localhost/ardour2/branches/3.0@12422 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 15:58:58 +00:00
b08b5c5631 use new config vars
git-svn-id: svn://localhost/ardour2/branches/3.0@12421 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 14:51:08 +00:00
6fa6514cfd Remove over 500 unnecessary includes (including 54 of session.h).
It's slightly possible that this causes trivial build failures on different
configurations, but otherwise shouldn't cause any problems (i.e. no actual
changes other than include/naming/namespace stuff).  I deliberately avoided
removing libardour-config.h since this can mysteriously break things, though a
few of those do seem to be unnecessary.

This commit only targets includes of ardour/*.h.  There is also a very large
number of unnecessary includes of stuff in gtk2_ardour; tackling that should
also give a big improvement in build time when things are modified.


git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 06:09:29 +00:00
224e6175ad Consistency is the hobgoblin of small minds.
git-svn-id: svn://localhost/ardour2/branches/3.0@12419 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 04:11:25 +00:00
27a1cf2cf7 Compile cleanly with clang.
To compile Ardour with LLVM/clang, do the usual thing but set the CXX and CC
environment variables, e.g.:

CC=/usr/bin/clang CXX=/usr/bin/clang++ ./waf configure build


git-svn-id: svn://localhost/ardour2/branches/3.0@12418 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 02:54:10 +00:00
effe4de188 Fix blatang logic errors (?), which is rather odd since this file was generated by Vala...
git-svn-id: svn://localhost/ardour2/branches/3.0@12417 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 02:51:30 +00:00
17406258ae Gracefully handle LV2 UIs that fail to return a widget.
git-svn-id: svn://localhost/ardour2/branches/3.0@12416 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 02:50:36 +00:00
72bccc40e7 build script typo
git-svn-id: svn://localhost/ardour2/branches/3.0@12415 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 02:00:12 +00:00
59d3cc258b tweaks to packaging to make SUIL (and thus LV2 UI's) work
git-svn-id: svn://localhost/ardour2/branches/3.0@12413 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 01:43:58 +00:00
b99131f21e fix bug that has existed since rev 17 when evaluating a curve in a position before the first point of the curve
git-svn-id: svn://localhost/ardour2/branches/3.0@12411 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 01:43:02 +00:00
Carl Hetherington
37bc04f230 Opaque region bodies should overwrite whatever is already in
the buffer; fix crash when the sum of the fade in and out
is longer than the region.


git-svn-id: svn://localhost/ardour2/branches/3.0@12410 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 00:54:51 +00:00
Carl Hetherington
ba56c4bd03 Add test for a transparent region on top of (and enclosing) another.
git-svn-id: svn://localhost/ardour2/branches/3.0@12409 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24 00:53:23 +00:00