fc77ae0738
Replace a bunch of potential crashes with graceful handling of the situation.
...
We really need some kind of more sophisticated assert macro that can be
switched to non-fatal logging mode for release builds. A log message, which is
often all that would happen, is a lot better than a trainwrecked performance...
git-svn-id: svn://localhost/ardour2/branches/3.0@13892 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 07:00:43 +00:00
d251c68d76
Avoid some copy overhead and sprinkle in some const for good measure.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13891 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 06:17:02 +00:00
9b2dad56d1
Reflow ridiculously wide code.
...
Sorry.
git-svn-id: svn://localhost/ardour2/branches/3.0@13890 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 05:54:44 +00:00
94c7798712
Hide MIDI device mode selector unless there is actually more than one mode.
...
Since this is usually not the case, showing this all the time as before was so
confusing everyone thought it was broken (myself included).
Changing that show_all() to a show() might have consequences, but it seems to
work fine and we really shouldn't be using show_all() anyway.
git-svn-id: svn://localhost/ardour2/branches/3.0@13889 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 05:36:43 +00:00
458b5c1d48
Clean up midnam author data.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13888 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 02:49:59 +00:00
341082ba7d
Ram all midnam files through xmllint --format and get something halfway respectable out the other side.
...
... and voila, decent data. Good grief, what a mess that was.
git-svn-id: svn://localhost/ardour2/branches/3.0@13887 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 02:37:06 +00:00
078145252b
Fix invalid XML. All midnam files now pass validation by xmllint.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13886 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 02:33:28 +00:00
1f5c686979
Use consistent naming scheme for midnam files.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13885 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 01:52:51 +00:00
c4a68db0d2
Use civilized line endings.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13884 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 01:23:01 +00:00
79babd3ee6
Use the standard doctype for this motley crew of midnam files.
...
By "standard" I mean "actually hosted by the MMA at midi.org". Where the heck
this broken DTD link to sonosphere.org came from is anyone's guess. Either
midi.org wasn't doing things correctly back in the day, or somebody is insane.
Probably both.
As a hint to the legacy of this data, some of these documents referred to
version 0.7, and some have mac newlines. Mac newlines! Remember those?
git-svn-id: svn://localhost/ardour2/branches/3.0@13883 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 01:19:57 +00:00
fb03c5d5fd
Valid midnam file for Moog Minitaur
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13882 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 01:14:46 +00:00
ee71553180
new take on getting SVN revision number
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13881 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19 01:11:48 +00:00
49a722d3d2
more debugging output for failed LXVST opens, and drop use of NULL
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-18 20:25:13 +00:00
347c4f9779
fix crash when copy-n-pasting plugins, caused by work done to allow copy-n-paste of aux sends: non-send processors do not have a "role" node in their XML state
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13879 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-18 17:35:34 +00:00
17cbb458e7
fix restore of snap mode (confusion caused by existence of internal/preinternal snap modes)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13878 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-18 15:56:41 +00:00
b4abc10f71
fix issue with color and position of mixer strip plugin control sliders ( #5275 )
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13876 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17 22:33:08 +00:00
d0272c4558
cache cairo_pattern_t's for PixFader so that we don't generate one per fader, but rather one per size+color combination
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13874 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17 15:36:35 +00:00
a3bd17970e
fix size of FaderOption's fader
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13873 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17 15:34:55 +00:00
b02e2cd25b
fix problem with size of patterns used by pixfaders when they get re-size-allocated
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13871 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17 15:00:44 +00:00
5adcb61f60
a few small fixes that help pitchbend control of things, notably the shuttle controller. but note that basically, teh shuttle controller is completely and hopelessly broken through excess complexity and incorrect design
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13870 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17 14:48:17 +00:00
4ecb07aaee
fix up Location::first_location_(after|before) to do the right thing when marks + ranges are interleaved (functions renamed)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13869 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17 13:19:16 +00:00
53f162f921
prevent button1/2 clicks on pixfaders from being used to drive event processing in parent containers ( #5272 )
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13868 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17 02:41:11 +00:00
a52fb39969
fix up various issues with sizing now that we have the basic idea that pixfaders can dynamically resize themselves ( #5273 )
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13867 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17 02:35:06 +00:00
15078e5a6d
fix up handling of size allocation + setting
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13866 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17 02:32:48 +00:00
db3da02446
add copyright comments
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13865 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:51:39 +00:00
d592b2cc5b
add copyright comments
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13864 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:45:47 +00:00
c9b65921d3
add copyright comments
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13863 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:37:48 +00:00
22cb8bfb34
add copyright comments
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13862 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:27:41 +00:00
80998f55be
remove empty editor_scrub.cc source file
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13861 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:26:11 +00:00
e2ac31d634
add copyright comments
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13860 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:23:28 +00:00
2eb43c8310
add copyright comments
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13859 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:22:15 +00:00
3279ad9a64
add copyright comments
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13858 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:16:21 +00:00
58a027b7a2
add copyright comments
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13857 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:15:38 +00:00
01d57ff3e7
add copyright comments
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13856 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 18:14:11 +00:00
e2ec54216b
use regex to match [mM][iI][dD] file extension for MIDI files, thus making it case-insensitive ( fixes #5231 )
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13855 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 17:09:52 +00:00
6e80a7abc0
get path correct for ardour_system.rc when building bundles
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13854 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 16:57:42 +00:00
e092fe33af
Preliminary support for named MIDI controllers via midname files.
...
Add midnam file for Moog Minitaur controller names.
git-svn-id: svn://localhost/ardour2/branches/3.0@13852 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 08:24:31 +00:00
65da5a7cc2
Fix compilation against svn lilv (const-correctness).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13851 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 08:01:30 +00:00
3d5f247263
remove debug output
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13850 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 02:31:14 +00:00
2037b95347
a bit more debug tracing for control protocols
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13849 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 02:25:13 +00:00
244f07b2a4
when stopping transport, revert _default_transport_speed to 1.0 if current speed is reversed (should fix #5264 )
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13848 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-16 01:57:40 +00:00
8f79c9c190
allow drag-n-drop/copy-n-paste of aux sends
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13847 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-15 15:42:30 +00:00
ccdcb135fa
remove some debug output
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-15 15:12:40 +00:00
d7ea70f4f1
force use of a weak_ptr<> when binding in MidiStreamView, hopefully avoiding putting a shared_ptr<Region> into an object
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13845 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-15 15:12:30 +00:00
5b9bd3eea0
control lists should use the default value of their parameter, not zero (noticeable for pitchbend)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13844 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-15 15:00:37 +00:00
0599fafe76
fix a couple of unused parameters
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13843 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-15 15:00:00 +00:00
09e519b715
better error msg about autoloop location
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13842 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-15 14:15:01 +00:00
e6ccc32abd
fix overly candied color for fader when mapping sends
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13841 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-15 12:30:42 +00:00
00cba5aa3b
more substantive reworkings of TimeAxisView::name_(entry|label) and name editing. better, but i can still (somehow) trigger occasional misbehaviour
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13840 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-14 21:46:32 +00:00
2bc6b777c6
use a warning dialog, nto a question dialog, for sample rate mismatch
...
git-svn-id: svn://localhost/ardour2/branches/3.0@13839 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-14 21:45:55 +00:00