Commit graph

13634 commits

Author SHA1 Message Date
Robin Gareus
b0bab058d0 offset automation by latency 2014-06-15 16:21:09 +02:00
Robin Gareus
b6e81dcdae offset automation by processor latency for bouncing/freezing
the same remains to be done for general route processing
2014-06-15 16:12:50 +02:00
Robin Gareus
36be1a3a9b plug some leaks 2014-06-15 13:24:41 +02:00
Robin Gareus
51cbf674d3 update valgrind suppression file (ignore system-wide libs) 2014-06-15 13:24:41 +02:00
Robin Gareus
80c7971f50 reset latency dialog every time. 2014-06-15 13:24:41 +02:00
Robin Gareus
61ab4f0fb0 be smart, use boost::shared_ptr 2014-06-15 13:24:41 +02:00
Robin Gareus
21ed2d6767 clear engine device combo when no devices are available 2014-06-15 13:24:40 +02:00
Robin Gareus
69af017315 initialize uninitialized variable 2014-06-15 13:24:40 +02:00
Robin Gareus
b17ec0c43d tweak ArdourButton focus outline 2014-06-15 13:24:40 +02:00
Robin Gareus
2708a145af remove debug output 2014-06-15 13:24:40 +02:00
Robin Gareus
12cf9d5be8 fix pathscanner / stl_vector related memory leaks 2014-06-15 13:24:39 +02:00
John Emmas
55d51d38ce Add newly introduced sources to our MSVC projects 2014-06-15 09:56:49 +01:00
John Emmas
e59210c402 Remove no longer needed sources from MSVC projects 2014-06-15 09:55:34 +01:00
Robin Gareus
f7acad4e5c strtok() is the root of all evil. 2014-06-14 16:45:55 +02:00
Robin Gareus
62ba8d23e3 tracking down concurrency issus is fun. 2014-06-14 16:38:47 +02:00
Robin Gareus
51b475467a if we don't have control over the device/backend, allow to proceed. 2014-06-14 16:26:14 +02:00
Robin Gareus
7b64448dbb simply future debugging of exit at start. 2014-06-14 16:25:18 +02:00
Robin Gareus
9268de566c fix initialization of audio-engine dialog 2014-06-14 16:01:46 +02:00
Paul Davis
ca1064e337 new anchored trim cursors (for now, just copies of the normal ones) 2014-06-13 18:45:12 -04:00
Paul Davis
23b1c59630 fix erroneous start of autoscroll when mouse pointer is left or above the left/upper scrolling boundary but we're already scrolled to zero on the relevant axes 2014-06-13 18:43:53 -04:00
Paul Davis
f7844f4893 do most of the work related to adding new anchored trim cursors (but debugging/analysis continues) 2014-06-13 18:43:53 -04:00
Robin Gareus
f312113163 enable ArdourButton focus in EngineDialog 2014-06-14 00:22:32 +02:00
Robin Gareus
bb2970e5e9 allow ardour button to handle focused keyboard events 2014-06-14 00:22:32 +02:00
Robin Gareus
e977b659af fix keyboard shorcuts in dialogs.
actually, for most dialogs, key-presses should never
be relayed. a get_modal() check might be the appropriate.
2014-06-14 00:22:32 +02:00
Paul Davis
902e202f3e disambiguate another use of Rect on OS X 2014-06-13 15:48:30 -04:00
Paul Davis
7a0b2e1c18 fix scrolling behaviour in track headers (event was stolen by rulers because event coordinates made it look as if the event happened there) 2014-06-13 14:27:59 -04:00
Paul Davis
7d678604fa add all the fonts, and use the right name for the rulers as a result 2014-06-13 12:51:46 -04:00
Paul Davis
bcdac3d06e no need to specify sans for ruler font 2014-06-13 12:38:29 -04:00
Paul Davis
fec46824bd use canvas ruler font specification rather than get_font_for_style() 2014-06-13 12:22:39 -04:00
Paul Davis
77caa045ec define ruler font style (to be subst'ed) in ardour3_ui_default.conf.in 2014-06-13 12:22:39 -04:00
Paul Davis
01b25b139b add first canvas string variable to canvas_vars.h - the ruler font 2014-06-13 12:22:39 -04:00
Paul Davis
3fa2302173 correct CANVAS_STRING_VARIABLE macro in UIConfiguration constructor 2014-06-13 12:22:39 -04:00
Paul Davis
16aa2fb61c build ardour3_ui_default.conf at build time, to allow font substitutions to be done (which are platform dependent) 2014-06-13 12:22:39 -04:00
Paul Davis
9d4327efbf missing part of ColorVariable commit 2014-06-13 12:22:39 -04:00
Paul Davis
50fea864db rationalize and coordinate handle of region (time axis view item) opacity.
There are still some bugs with this because of the waveview image cache - fixes coming soon.
2014-06-13 12:22:39 -04:00
Paul Davis
a50569e787 rename UIConfigVariable as ColorVariable since that is really it should be used for; use ARDOUR::ConfigVariable for everything else in UI config 2014-06-13 12:22:39 -04:00
Robin Gareus
f2404a522d Engine Dialog: Don't save duplicate states (and remove old dups) 2014-06-13 17:18:30 +02:00
Robin Gareus
ff39a42581 ALSA backend: set latencies to zero when measuring latency 2014-06-13 13:51:42 +02:00
Robin Gareus
b68552d9a0 send-delayline: proper debug output (and sort includes on the way) 2014-06-13 13:51:42 +02:00
Paul Davis
d6c41f3935 add CANVAS_STRING_VARIABLE, the first step in being able to avoid using GTK rc files for font specifications
Still needs a way to generate the font specs at build time to account for platform differences
2014-06-13 07:30:27 -04:00
Robin Gareus
3573b4ee0a MIDI Device Button Style 2014-06-13 12:02:50 +02:00
Robin Gareus
ecb92f474f update ALSA backend, MIDI device config 2014-06-13 12:02:03 +02:00
Robin Gareus
2e88935bbf add GUI for midi-device settings (and properly indent the code) 2014-06-13 12:01:55 +02:00
Robin Gareus
da912f7ed4 add AudioEngine API to configure individual MIDI devices 2014-06-13 11:47:51 +02:00
Colin Fletcher
be7da2e952 Fix opening of recent sessions with mismatched directory & file names
When populating the list of recent sessions, and there's only one session
file in the session folder, don't assume that the base name of the session
file is the same as the name of the session directory.

Allows loading sessions that were created with trailing spaces in their
names from the recent sessions list, and also helps in the case that the
session file (or directory) was renamed.

There are actually two implementations of the 'recent sessions' chooser:
this applies to both. I suppose a useful project one of these days
would be to unify the two...
2014-06-12 23:20:06 +01:00
Colin Fletcher
83ce8dde6b Prevent creation of session directory with leading or trailing space. 2014-06-12 23:20:06 +01:00
Colin Fletcher
60349bcee6 Show Soundcloud credentials and upload options only when required
A slightly hacky patch to make the Soundcloud username & password and the
upload options only become visible when at least one export format is
chosen for upload to Soundcloud.

I think that changing ExportDialog::soundcloud_selector to a
boost::shared_ptr is the right thing to do, but I must confess to having
only a hazy understanding of what boost::scoped_ptr was doing in the first
place.

Also it feels a bit wrong to be passing a pointer to ExportDialog's
SoundcloudExportSelector around, but I can't (for the moment, at least)
think of any better way to affect its visibility from inside
ExportFileNotebook.
2014-06-12 23:20:06 +01:00
Colin Fletcher
5abf3624f4 Use Ardour 3 credentials for soundcloud upload
I registered 'Ardour 3' as an app with Soundcloud - here are the
client_id and client_secret I got back. Probably the client_secret
shouldn't be here - I'll try to understand what should really happen and
fix this up in due course. Probably we should be using OAuth.

Also remove a couple of bits of dead code and fix a few whitespace
oddities.
2014-06-12 23:20:06 +01:00
Colin Fletcher
d5cbb098da Add #include guards to soundcloud_export_selector.h 2014-06-12 23:20:06 +01:00
Colin Fletcher
a82aba8581 Actually pass Soundcloud downloadable flag to export handler 2014-06-12 23:20:06 +01:00