Robin Gareus [Mon, 16 Jun 2014 21:58:52 +0000 (23:58 +0200)]
remove debug output
Robin Gareus [Mon, 16 Jun 2014 21:36:29 +0000 (23:36 +0200)]
hide "turn down volume" label for midi-latency measurement
Robin Gareus [Mon, 16 Jun 2014 20:08:52 +0000 (22:08 +0200)]
more alsa-midi debugging
Robin Gareus [Mon, 16 Jun 2014 18:22:31 +0000 (20:22 +0200)]
more midi latency detection debugging
Robin Gareus [Mon, 16 Jun 2014 17:44:23 +0000 (19:44 +0200)]
debug alsa midi latency measurement
Robin Gareus [Mon, 16 Jun 2014 15:56:52 +0000 (17:56 +0200)]
fix pango font style (prev commit)
Robin Gareus [Mon, 16 Jun 2014 15:30:22 +0000 (17:30 +0200)]
no more red latency messages
Robin Gareus [Sun, 15 Jun 2014 22:55:26 +0000 (00:55 +0200)]
fix typo in comment of prev. commit
Robin Gareus [Sun, 15 Jun 2014 22:51:45 +0000 (00:51 +0200)]
fix region un/combine, based on a patch by Tom Brand
Robin Gareus [Sun, 15 Jun 2014 18:46:06 +0000 (20:46 +0200)]
another edge-case, don't crash on invalid files with zero channels
Robin Gareus [Sun, 15 Jun 2014 18:42:34 +0000 (20:42 +0200)]
fix edge case - handle error in device owner request
Robin Gareus [Sun, 15 Jun 2014 18:41:20 +0000 (20:41 +0200)]
ARD: proper cleanup
Paul Davis [Sun, 15 Jun 2014 16:18:47 +0000 (12:18 -0400)]
comment correction regarding Canvas::visible_area()
Paul Davis [Sun, 15 Jun 2014 16:17:03 +0000 (12:17 -0400)]
initialize _scroll_parent in Canvas::item
Robin Gareus [Sun, 15 Jun 2014 14:36:13 +0000 (16:36 +0200)]
optimize midi delayline.
Robin Gareus [Sun, 15 Jun 2014 14:21:09 +0000 (16:21 +0200)]
offset automation by latency
Robin Gareus [Sun, 15 Jun 2014 14:12:50 +0000 (16:12 +0200)]
offset automation by processor latency for bouncing/freezing
the same remains to be done for general route processing
Robin Gareus [Sun, 15 Jun 2014 11:04:47 +0000 (13:04 +0200)]
plug some leaks
Robin Gareus [Sun, 15 Jun 2014 11:01:49 +0000 (13:01 +0200)]
update valgrind suppression file (ignore system-wide libs)
Robin Gareus [Sun, 15 Jun 2014 10:59:27 +0000 (12:59 +0200)]
reset latency dialog every time.
Robin Gareus [Sun, 15 Jun 2014 02:54:39 +0000 (04:54 +0200)]
be smart, use boost::shared_ptr
Robin Gareus [Sun, 15 Jun 2014 01:08:40 +0000 (03:08 +0200)]
clear engine device combo when no devices are available
Robin Gareus [Sun, 15 Jun 2014 00:31:47 +0000 (02:31 +0200)]
initialize uninitialized variable
Robin Gareus [Sun, 15 Jun 2014 00:31:28 +0000 (02:31 +0200)]
tweak ArdourButton focus outline
Robin Gareus [Sun, 15 Jun 2014 00:10:03 +0000 (02:10 +0200)]
remove debug output
Robin Gareus [Sun, 15 Jun 2014 02:09:48 +0000 (04:09 +0200)]
fix pathscanner / stl_vector related memory leaks
John Emmas [Sun, 15 Jun 2014 08:56:49 +0000 (09:56 +0100)]
Add newly introduced sources to our MSVC projects
John Emmas [Sun, 15 Jun 2014 08:55:34 +0000 (09:55 +0100)]
Remove no longer needed sources from MSVC projects
Robin Gareus [Sat, 14 Jun 2014 14:45:55 +0000 (16:45 +0200)]
strtok() is the root of all evil.
Robin Gareus [Sat, 14 Jun 2014 14:38:47 +0000 (16:38 +0200)]
tracking down concurrency issus is fun.
Robin Gareus [Sat, 14 Jun 2014 14:26:14 +0000 (16:26 +0200)]
if we don't have control over the device/backend, allow to proceed.
Robin Gareus [Sat, 14 Jun 2014 14:25:18 +0000 (16:25 +0200)]
simply future debugging of exit at start.
Robin Gareus [Sat, 14 Jun 2014 14:01:46 +0000 (16:01 +0200)]
fix initialization of audio-engine dialog
Paul Davis [Fri, 13 Jun 2014 22:45:12 +0000 (18:45 -0400)]
new anchored trim cursors (for now, just copies of the normal ones)
Paul Davis [Fri, 13 Jun 2014 22:43:16 +0000 (18:43 -0400)]
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
Paul Davis [Fri, 13 Jun 2014 21:15:23 +0000 (17:15 -0400)]
do most of the work related to adding new anchored trim cursors (but debugging/analysis continues)
Robin Gareus [Fri, 13 Jun 2014 22:06:52 +0000 (00:06 +0200)]
enable ArdourButton focus in EngineDialog
Robin Gareus [Fri, 13 Jun 2014 21:50:07 +0000 (23:50 +0200)]
allow ardour button to handle focused keyboard events
Robin Gareus [Fri, 13 Jun 2014 20:18:10 +0000 (22:18 +0200)]
fix keyboard shorcuts in dialogs.
actually, for most dialogs, key-presses should never
be relayed. a get_modal() check might be the appropriate.
Paul Davis [Fri, 13 Jun 2014 19:48:30 +0000 (15:48 -0400)]
disambiguate another use of Rect on OS X
Paul Davis [Fri, 13 Jun 2014 18:27:59 +0000 (14:27 -0400)]
fix scrolling behaviour in track headers (event was stolen by rulers because event coordinates made it look as if the event happened there)
Paul Davis [Fri, 13 Jun 2014 16:51:46 +0000 (12:51 -0400)]
add all the fonts, and use the right name for the rulers as a result
Paul Davis [Fri, 13 Jun 2014 16:38:29 +0000 (12:38 -0400)]
no need to specify sans for ruler font
Paul Davis [Fri, 13 Jun 2014 16:22:32 +0000 (12:22 -0400)]
use canvas ruler font specification rather than get_font_for_style()
Paul Davis [Fri, 13 Jun 2014 16:22:06 +0000 (12:22 -0400)]
define ruler font style (to be subst'ed) in ardour3_ui_default.conf.in
Paul Davis [Fri, 13 Jun 2014 16:21:33 +0000 (12:21 -0400)]
add first canvas string variable to canvas_vars.h - the ruler font
Paul Davis [Fri, 13 Jun 2014 16:21:10 +0000 (12:21 -0400)]
correct CANVAS_STRING_VARIABLE macro in UIConfiguration constructor
Paul Davis [Fri, 13 Jun 2014 16:20:33 +0000 (12:20 -0400)]
build ardour3_ui_default.conf at build time, to allow font substitutions to be done (which are platform dependent)
Paul Davis [Fri, 13 Jun 2014 14:57:07 +0000 (10:57 -0400)]
missing part of ColorVariable commit
Paul Davis [Fri, 13 Jun 2014 14:56:46 +0000 (10:56 -0400)]
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.
Paul Davis [Fri, 13 Jun 2014 14:54:12 +0000 (10:54 -0400)]
rename UIConfigVariable as ColorVariable since that is really it should be used for; use ARDOUR::ConfigVariable for everything else in UI config
Robin Gareus [Fri, 13 Jun 2014 15:18:30 +0000 (17:18 +0200)]
Engine Dialog: Don't save duplicate states (and remove old dups)
Robin Gareus [Fri, 13 Jun 2014 11:33:04 +0000 (13:33 +0200)]
ALSA backend: set latencies to zero when measuring latency
Robin Gareus [Fri, 13 Jun 2014 11:05:10 +0000 (13:05 +0200)]
send-delayline: proper debug output (and sort includes on the way)
Paul Davis [Fri, 13 Jun 2014 11:30:09 +0000 (07:30 -0400)]
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
Robin Gareus [Fri, 13 Jun 2014 10:02:50 +0000 (12:02 +0200)]
MIDI Device Button Style
Robin Gareus [Fri, 13 Jun 2014 09:46:37 +0000 (11:46 +0200)]
update ALSA backend, MIDI device config
Robin Gareus [Fri, 13 Jun 2014 10:01:55 +0000 (12:01 +0200)]
add GUI for midi-device settings (and properly indent the code)
Robin Gareus [Thu, 12 Jun 2014 19:35:25 +0000 (21:35 +0200)]
add AudioEngine API to configure individual MIDI devices
Colin Fletcher [Fri, 6 Jun 2014 12:25:13 +0000 (13:25 +0100)]
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...
Colin Fletcher [Thu, 5 Jun 2014 16:26:16 +0000 (17:26 +0100)]
Prevent creation of session directory with leading or trailing space.
Colin Fletcher [Sat, 31 May 2014 13:47:11 +0000 (14:47 +0100)]
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.
Colin Fletcher [Thu, 29 May 2014 21:21:39 +0000 (22:21 +0100)]
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.
Colin Fletcher [Thu, 29 May 2014 21:17:39 +0000 (22:17 +0100)]
Add #include guards to soundcloud_export_selector.h
Colin Fletcher [Thu, 29 May 2014 21:17:06 +0000 (22:17 +0100)]
Actually pass Soundcloud downloadable flag to export handler
Colin Fletcher [Tue, 27 May 2014 14:48:07 +0000 (15:48 +0100)]
Remove unused function
Remove the unused ExportFileNotebook::get_nth_format_name()
Colin Fletcher [Tue, 27 May 2014 10:23:47 +0000 (11:23 +0100)]
Export dialog: tidy code, & remove some superfluous debug output
Remove some debug output, tidy up a few whitespace inconsistencies, use
DEBUG::Soundcloud in one more place, and zap a couple of unused variables.
Colin Fletcher [Tue, 27 May 2014 10:22:59 +0000 (11:22 +0100)]
Post-export hook tweaks
Remove the Soundcloud username & password from the parameter substitutions
passed to the post-export hook: having thought about this now, I can't
actually think of a case where these are of any use at all.
In compensation, add %s and %n parameters that expand to the session
directory and name - maybe people will think of uses for these.
Colin Fletcher [Tue, 27 May 2014 09:21:34 +0000 (10:21 +0100)]
Search $PATH for command when creating SystemExec from command line
When creating a SystemExec from a command-line, search $PATH for the
command to execute, so that post-export hooks don't need to specify a full
path.
Paul Davis [Thu, 12 Jun 2014 22:14:55 +0000 (18:14 -0400)]
use the alpha/opacity value for the region base whether track colors are in use or not
Paul Davis [Thu, 12 Jun 2014 21:21:41 +0000 (17:21 -0400)]
restored track height adjustment using alt-scroll on track headers
Paul Davis [Thu, 12 Jun 2014 21:21:23 +0000 (17:21 -0400)]
fixed rulers stealing all canvas scroll events and corrected computation of correct track for track-height adjustment using alt-scroll
Paul Davis [Thu, 12 Jun 2014 20:18:38 +0000 (16:18 -0400)]
remove no-longer-used code
Paul Davis [Thu, 12 Jun 2014 20:06:31 +0000 (16:06 -0400)]
add back click behaviour for canvas rulers, and also cursor enforcement
Paul Davis [Thu, 12 Jun 2014 19:58:05 +0000 (15:58 -0400)]
add canvas rulers event dispatch and reinstate scrolling behaviour
Paul Davis [Thu, 12 Jun 2014 18:53:44 +0000 (14:53 -0400)]
change Canvas heirarchy and constructors
Items no longer need a parent group (they require a Canvas pointer instead), so all constructors have been rationalized
and have two variants, one with a parent and one with a canvas.
All Items now inherit from Fill and Outline, to banish diagonal inheritance and virtual base classes and all that.
There were zero changes to the Ardour GUI arising from these changes.
Paul Davis [Thu, 12 Jun 2014 18:51:51 +0000 (14:51 -0400)]
drag handles no longer exist as distinct item types (failed experiment)
Paul Davis [Thu, 12 Jun 2014 14:40:43 +0000 (10:40 -0400)]
remove drag handle canvas object - it was just a stupid unfinished experiment
Paul Davis [Thu, 12 Jun 2014 14:35:32 +0000 (10:35 -0400)]
use new ArdourCanvas::Ruler constructor
Paul Davis [Thu, 12 Jun 2014 14:35:16 +0000 (10:35 -0400)]
derive ArdourCanvas::Ruler from Rectangle
Paul Davis [Thu, 12 Jun 2014 14:32:34 +0000 (10:32 -0400)]
add new canvas vars for rulers
Paul Davis [Thu, 12 Jun 2014 05:06:25 +0000 (01:06 -0400)]
make rulers color-sensitive (e.g. theme manager editable, etc)
Paul Davis [Thu, 12 Jun 2014 05:05:43 +0000 (01:05 -0400)]
remove hard-coded colors
Paul Davis [Thu, 12 Jun 2014 05:04:50 +0000 (01:04 -0400)]
add new default colors for canvas rulers
Paul Davis [Thu, 12 Jun 2014 05:04:19 +0000 (01:04 -0400)]
removed unused rule GTK widget style definition
Paul Davis [Thu, 12 Jun 2014 05:04:02 +0000 (01:04 -0400)]
remove unused GTK style
Paul Davis [Thu, 12 Jun 2014 04:19:33 +0000 (00:19 -0400)]
OS X specific cleanup after canvas ruler introduction
Paul Davis [Thu, 12 Jun 2014 04:18:58 +0000 (00:18 -0400)]
remove header file includes of now-removed gtk custom ruler
Paul Davis [Thu, 12 Jun 2014 04:18:15 +0000 (00:18 -0400)]
remove header file includes of now-removed gtk custom ruler
Paul Davis [Thu, 12 Jun 2014 04:01:30 +0000 (00:01 -0400)]
final ruler file removal
Paul Davis [Thu, 12 Jun 2014 04:01:06 +0000 (00:01 -0400)]
remove gtk ruler widget implementation - no longer in use
Paul Davis [Thu, 12 Jun 2014 03:54:04 +0000 (23:54 -0400)]
use canvas rulers now instead of gtk widgets
Some bugs that exist in master are still present.
Paul Davis [Thu, 12 Jun 2014 03:53:06 +0000 (23:53 -0400)]
many fixes and improvements for a now-working ArdourCanvas::Ruler item
Paul Davis [Thu, 12 Jun 2014 03:51:59 +0000 (23:51 -0400)]
add ruler.cc to canvas wscript
Paul Davis [Thu, 12 Jun 2014 03:51:45 +0000 (23:51 -0400)]
add Ruler to Canvas fwd.h
Paul Davis [Thu, 12 Jun 2014 03:13:26 +0000 (23:13 -0400)]
clamp zoom level to show 3 days on a 4000 pixel wide screen; comment unused variable for now
Paul Davis [Wed, 11 Jun 2014 16:24:43 +0000 (12:24 -0400)]
add initial (untested) implementation of canvas ruler item
Robin Gareus [Thu, 12 Jun 2014 00:10:37 +0000 (02:10 +0200)]
delayline: properly hand-over the shared-pointer.
Robin Gareus [Wed, 11 Jun 2014 20:01:21 +0000 (22:01 +0200)]
add latency callback to dummy backend
Robin Gareus [Wed, 11 Jun 2014 18:21:14 +0000 (20:21 +0200)]
fix possible crash when setting delivery name w/o panshell