summaryrefslogtreecommitdiff
path: root/libs
AgeCommit message (Collapse)Author
2013-01-28fix another semantically-significant statement buried in an assert() macroPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@14020 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-27Make check for new Lilv optional.David Robillard
Duh. git-svn-id: svn://localhost/ardour2/branches/3.0@14014 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-27Only load default state with lilv >= 0.15.0 (currently svn only) to avoid ↵David Robillard
warnings. git-svn-id: svn://localhost/ardour2/branches/3.0@14013 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-27Default to "7bit" controller type if missing, as per DTD.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@14012 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-27fix another semantically-significant-expression-in-assert case (though not a ↵Paul Davis
very important one, because the test is intended to fail) git-svn-id: svn://localhost/ardour2/branches/3.0@14010 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-27Support state:loadDefaultState feature.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@14007 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-26fix breakage for optimized build caused by semantically critical statement ↵Paul Davis
inside an assert() git-svn-id: svn://localhost/ardour2/branches/3.0@14004 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-24fix up rather odd sizing model for ProcessorBox that affected Pixfaders used ↵Paul Davis
as controls git-svn-id: svn://localhost/ardour2/branches/3.0@13994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-24use the same location for MIDNAM files as the packaging/install usesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13989 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-24patch/fix for crash when pixfader is exposed after being allocated only 1xN ↵Paul Davis
or Nx1 pixels git-svn-id: svn://localhost/ardour2/branches/3.0@13986 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-24we ain't stop for nothin' when slaved to ext time source.Robin Gareus
git-svn-id: svn://localhost/ardour2/branches/3.0@13985 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-23rename the i18n package name for libardour to follow the convention of ↵Paul Davis
{dirname}{major-version} git-svn-id: svn://localhost/ardour2/branches/3.0@13984 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-23make trnslation option actually toggle back and forthPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13983 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-23new logic for enabling translation in bundled releases of ardourPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13980 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-23more i18n fixes, this time removing a hack that broke i18n in bundles, and ↵Paul Davis
also only initializing NLS stuff if ENABLE_NLS is in effect. note that if translations are disabled by the user, we set the localedir used to look for message catalogs to a dir that is assumed to not exist (/this/cannot/exist) which should block all translation from happening. git-svn-id: svn://localhost/ardour2/branches/3.0@13975 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21start passing around the (possibly-bundle-modified) localedir so that we ↵Paul Davis
call bindtextdomain() correctly, and thus (hopefully) find message catalogs correctly inside a bundle git-svn-id: svn://localhost/ardour2/branches/3.0@13965 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21another unusued parameter fixPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13964 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21volatile in stupidPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13957 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21tweak for const correctness on applePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13956 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21tweak for const correctness on applePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13955 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21de.po updatesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13952 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21pixfaders should invalidate their patterns and layout on style change, helps ↵Paul Davis
fix #5275 git-svn-id: svn://localhost/ardour2/branches/3.0@13949 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21save aux sends in session/route templates (#5285)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13946 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21fix crash when deleting a processor with a controllable (#5284)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13943 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21Trim the include tree a bit.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13941 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21Fix MIDI loop recording.David Robillard
This changes how things work a bit, but I am committing it for 3.0 since the previous revision often crashed (and never worked), this one seems to work fine, and the code is quite a bit more cogent. I have tested the following use cases with live input and audible output: * Non-loop recording, armed before roll * Non-loop recording, arm while rolling * Loop recording, armed before roll * Loop recording, arm during roll In the last case, the source/region is created starting at the loop start rather than the current transport frame as usual so time makes sense when it wraps around. See the documentation added to the code for details, but the basic idea here is to simply push MIDI events to the source with increasing monotonic time, ignoring looping altogether. Essentially we pretend the loop does not exist, but the source knows all the details so it can implement whatever behaviour is appropriate. Currently, this is simply recording a complete non-destructive copy of the input, which is a good thing. Perhaps not what the user expects of loop recording, but at least it works and is one sensible option. We will need to add more later. Display while recording is a little bit wacky, but whatever. git-svn-id: svn://localhost/ardour2/branches/3.0@13940 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21More style-only changes.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13939 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21Actually flush to disk continuously while MIDI loop recording.David Robillard
Previously, this calculation was based on the current transport frame and last time, both absolute, with the effect that loop recording would flush the first time and never again. The fix is to keep track of the actual duration of the capture, ignoring the transport position, and flush as that reaches the threshold. git-svn-id: svn://localhost/ardour2/branches/3.0@13938 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21More whitespace-only changes.David Robillard
Apologies for the noise, trying to dice a bunch of changes into reasonable commits... git-svn-id: svn://localhost/ardour2/branches/3.0@13937 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-21Fix whitespace.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13935 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Fix compilation with --test.David Robillard
Make midnam test suite pass again. The Ardour test suite does not pass. I commented out old crossfade stuff, but I am not familiar enough with the parts that fail to fix it. It might be a good idea for someone to look into this. Ideally we'd have the test integrated into everyone's workflow, but they add quite a few files to compile... git-svn-id: svn://localhost/ardour2/branches/3.0@13931 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Show matching controller name in automation lane header.David Robillard
Completely eliminate static MIDI controller name code. Reduce dependency on midnam_patch.h (which would have saved me several hours if I did it earlier). Store controller name numbers as an integer. Keep controller names in a map keyed by int instead of a list for fast lookup. More cleanup of MIDI::Name code. git-svn-id: svn://localhost/ardour2/branches/3.0@13927 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Error checking string to int conversion from midnam files.David Robillard
Use const references where appropriate. Fix incorrect use of (either confusingly named or often abused) Patch tag Number attribute. git-svn-id: svn://localhost/ardour2/branches/3.0@13923 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Support loading MIDI note names in NoteGroup tags as well.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Add General MIDI drum note names and patch names.David Robillard
Support loading note names per ChannelNameSet (like GM) in addition to per Patch (like DM5). git-svn-id: svn://localhost/ardour2/branches/3.0@13913 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Fix MIDI note number off by one error.David Robillard
Bloody one-based indices... git-svn-id: svn://localhost/ardour2/branches/3.0@13911 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Fix midnam warning messages.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13910 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-20Support note names from midnam files (tested with the DM5).David Robillard
Do this via a simple MasterDeviceNames::note_name() function. The same really needs to be done for program names, this stuff is absolutely brutal to use. Store note names in a vector indexed by number instead of a list with string "numbers" for reasonable lookup time. Make some references const that should be. git-svn-id: svn://localhost/ardour2/branches/3.0@13908 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Gracefully handle errors parsing midnam documents instead of crashing.David Robillard
git-svn-id: svn://localhost/ardour2/branches/3.0@13904 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Set MIDI device mode to the first by default if unset.David Robillard
Give up trying to hide mode selector when it's useless. Fix display of program names for default mode. Abstract out (non-crashy) MidiTimeAxisView::get_device_names(). git-svn-id: svn://localhost/ardour2/branches/3.0@13903 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Use a std::set for MIDI device models so the combo is sorted and the user ↵David Robillard
can find things. git-svn-id: svn://localhost/ardour2/branches/3.0@13902 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19slightly more informational debug messagePaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13896 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Add standard MIDI midnam file and remove hard coded equivalent.David Robillard
Accordingly, make "generic" MIDI truly generic, just numbered controllers. Break up MIDI name UI stuff into manageable functions of reasonable size. Add convenient method to MIDINameDocument for getting the names for a device. Tolerate comments in MIDINameDocument ControlNameList. Can't remove the MIDI name code just yet, since it's still erroneously used by Automatable::describe_parameter(). This is the cause of a bug where the name on the automation lane does not match that in the menu. The plan is to make a very simple pure abstract interface for getting MIDI names, and make it possible to set one for Automatable (or perhaps pass it to describe_parameter()). Thus we'll be on the way to supporting names from sources other than midnam files, namely plugins. git-svn-id: svn://localhost/ardour2/branches/3.0@13895 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-19Replace a bunch of potential crashes with graceful handling of the situation.David Robillard
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-19Hide MIDI device mode selector unless there is actually more than one mode.David Robillard
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-18more debugging output for failed LXVST opens, and drop use of NULLPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17fix issue with color and position of mixer strip plugin control sliders (#5275)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@13876 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17cache cairo_pattern_t's for PixFader so that we don't generate one per ↵Paul Davis
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-17fix problem with size of patterns used by pixfaders when they get ↵Paul Davis
re-size-allocated git-svn-id: svn://localhost/ardour2/branches/3.0@13871 d708f5d6-7413-0410-9779-e7cbd77b26cf
2013-01-17a few small fixes that help pitchbend control of things, notably the shuttle ↵Paul Davis
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