ardour.git
9 years agoremove debug output
Robin Gareus [Mon, 16 Jun 2014 21:58:52 +0000 (23:58 +0200)]
remove debug output

9 years agohide "turn down volume" label for midi-latency measurement
Robin Gareus [Mon, 16 Jun 2014 21:36:29 +0000 (23:36 +0200)]
hide "turn down volume" label for midi-latency measurement

9 years agomore alsa-midi debugging
Robin Gareus [Mon, 16 Jun 2014 20:08:52 +0000 (22:08 +0200)]
more alsa-midi debugging

9 years agomore midi latency detection debugging
Robin Gareus [Mon, 16 Jun 2014 18:22:31 +0000 (20:22 +0200)]
more midi latency detection debugging

9 years agodebug alsa midi latency measurement
Robin Gareus [Mon, 16 Jun 2014 17:44:23 +0000 (19:44 +0200)]
debug alsa midi latency measurement

9 years agofix pango font style (prev commit)
Robin Gareus [Mon, 16 Jun 2014 15:56:52 +0000 (17:56 +0200)]
fix pango font style (prev commit)

9 years agono more red latency messages
Robin Gareus [Mon, 16 Jun 2014 15:30:22 +0000 (17:30 +0200)]
no more red latency messages

9 years agofix typo in comment of prev. commit
Robin Gareus [Sun, 15 Jun 2014 22:55:26 +0000 (00:55 +0200)]
fix typo in comment of prev. commit

9 years agofix region un/combine, based on a patch by Tom Brand
Robin Gareus [Sun, 15 Jun 2014 22:51:45 +0000 (00:51 +0200)]
fix region un/combine, based on a patch by Tom Brand

9 years agoanother edge-case, don't crash on invalid files with zero channels
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

9 years agofix edge case - handle error in device owner request
Robin Gareus [Sun, 15 Jun 2014 18:42:34 +0000 (20:42 +0200)]
fix edge case - handle error in device owner request

9 years agoARD: proper cleanup
Robin Gareus [Sun, 15 Jun 2014 18:41:20 +0000 (20:41 +0200)]
ARD: proper cleanup

9 years agocomment correction regarding Canvas::visible_area()
Paul Davis [Sun, 15 Jun 2014 16:18:47 +0000 (12:18 -0400)]
comment correction regarding Canvas::visible_area()

9 years agoinitialize _scroll_parent in Canvas::item
Paul Davis [Sun, 15 Jun 2014 16:17:03 +0000 (12:17 -0400)]
initialize _scroll_parent in Canvas::item

9 years agooptimize midi delayline.
Robin Gareus [Sun, 15 Jun 2014 14:36:13 +0000 (16:36 +0200)]
optimize midi delayline.

9 years agooffset automation by latency
Robin Gareus [Sun, 15 Jun 2014 14:21:09 +0000 (16:21 +0200)]
offset automation by latency

9 years agooffset automation by processor latency for bouncing/freezing
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

9 years agoplug some leaks
Robin Gareus [Sun, 15 Jun 2014 11:04:47 +0000 (13:04 +0200)]
plug some leaks

9 years agoupdate valgrind suppression file (ignore system-wide libs)
Robin Gareus [Sun, 15 Jun 2014 11:01:49 +0000 (13:01 +0200)]
update valgrind suppression file (ignore system-wide libs)

9 years agoreset latency dialog every time.
Robin Gareus [Sun, 15 Jun 2014 10:59:27 +0000 (12:59 +0200)]
reset latency dialog every time.

9 years agobe smart, use boost::shared_ptr
Robin Gareus [Sun, 15 Jun 2014 02:54:39 +0000 (04:54 +0200)]
be smart, use boost::shared_ptr

9 years agoclear engine device combo when no devices are available
Robin Gareus [Sun, 15 Jun 2014 01:08:40 +0000 (03:08 +0200)]
clear engine device combo when no devices are available

9 years agoinitialize uninitialized variable
Robin Gareus [Sun, 15 Jun 2014 00:31:47 +0000 (02:31 +0200)]
initialize uninitialized variable

9 years agotweak ArdourButton focus outline
Robin Gareus [Sun, 15 Jun 2014 00:31:28 +0000 (02:31 +0200)]
tweak ArdourButton focus outline

9 years agoremove debug output
Robin Gareus [Sun, 15 Jun 2014 00:10:03 +0000 (02:10 +0200)]
remove debug output

9 years agofix pathscanner / stl_vector related memory leaks
Robin Gareus [Sun, 15 Jun 2014 02:09:48 +0000 (04:09 +0200)]
fix pathscanner / stl_vector related memory leaks

9 years agoAdd newly introduced sources to our MSVC projects
John Emmas [Sun, 15 Jun 2014 08:56:49 +0000 (09:56 +0100)]
Add newly introduced sources to our MSVC projects

9 years agoRemove no longer needed sources from MSVC projects
John Emmas [Sun, 15 Jun 2014 08:55:34 +0000 (09:55 +0100)]
Remove no longer needed sources from MSVC projects

9 years agostrtok() is the root of all evil.
Robin Gareus [Sat, 14 Jun 2014 14:45:55 +0000 (16:45 +0200)]
strtok() is the root of all evil.

9 years agotracking down concurrency issus is fun.
Robin Gareus [Sat, 14 Jun 2014 14:38:47 +0000 (16:38 +0200)]
tracking down concurrency issus is fun.

9 years agoif we don't have control over the device/backend, allow to proceed.
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.

9 years agosimply future debugging of exit at start.
Robin Gareus [Sat, 14 Jun 2014 14:25:18 +0000 (16:25 +0200)]
simply future debugging of exit at start.

9 years agofix initialization of audio-engine dialog
Robin Gareus [Sat, 14 Jun 2014 14:01:46 +0000 (16:01 +0200)]
fix initialization of audio-engine dialog

10 years agonew anchored trim cursors (for now, just copies of the normal ones)
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)

10 years agofix erroneous start of autoscroll when mouse pointer is left or above the left/upper...
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

10 years agodo most of the work related to adding new anchored trim cursors (but debugging/analys...
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)

10 years agoenable ArdourButton focus in EngineDialog
Robin Gareus [Fri, 13 Jun 2014 22:06:52 +0000 (00:06 +0200)]
enable ArdourButton focus in EngineDialog

10 years agoallow ardour button to handle focused keyboard events
Robin Gareus [Fri, 13 Jun 2014 21:50:07 +0000 (23:50 +0200)]
allow ardour button to handle focused keyboard events

10 years agofix keyboard shorcuts in dialogs.
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.

10 years agodisambiguate another use of Rect on OS X
Paul Davis [Fri, 13 Jun 2014 19:48:30 +0000 (15:48 -0400)]
disambiguate another use of Rect on OS X

10 years agofix scrolling behaviour in track headers (event was stolen by rulers because event...
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)

10 years agoadd all the fonts, and use the right name for the rulers as a result
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

10 years agono need to specify sans for ruler font
Paul Davis [Fri, 13 Jun 2014 16:38:29 +0000 (12:38 -0400)]
no need to specify sans for ruler font

10 years agouse canvas ruler font specification rather than get_font_for_style()
Paul Davis [Fri, 13 Jun 2014 16:22:32 +0000 (12:22 -0400)]
use canvas ruler font specification rather than get_font_for_style()

10 years agodefine ruler font style (to be subst'ed) in ardour3_ui_default.conf.in
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

10 years agoadd first canvas string variable to canvas_vars.h - the ruler font
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

10 years agocorrect CANVAS_STRING_VARIABLE macro in UIConfiguration constructor
Paul Davis [Fri, 13 Jun 2014 16:21:10 +0000 (12:21 -0400)]
correct CANVAS_STRING_VARIABLE macro in UIConfiguration constructor

10 years agobuild ardour3_ui_default.conf at build time, to allow font substitutions to be done...
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)

10 years agomissing part of ColorVariable commit
Paul Davis [Fri, 13 Jun 2014 14:57:07 +0000 (10:57 -0400)]
missing part of ColorVariable commit

10 years agorationalize and coordinate handle of region (time axis view item) opacity.
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.

10 years agorename UIConfigVariable as ColorVariable since that is really it should be used for...
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

10 years agoEngine Dialog: Don't save duplicate states (and remove old dups)
Robin Gareus [Fri, 13 Jun 2014 15:18:30 +0000 (17:18 +0200)]
Engine Dialog: Don't save duplicate states (and remove old dups)

10 years agoALSA backend: set latencies to zero when measuring latency
Robin Gareus [Fri, 13 Jun 2014 11:33:04 +0000 (13:33 +0200)]
ALSA backend: set latencies to zero when measuring latency

10 years agosend-delayline: proper debug output (and sort includes on the way)
Robin Gareus [Fri, 13 Jun 2014 11:05:10 +0000 (13:05 +0200)]
send-delayline: proper debug output (and sort includes on the way)

10 years agoadd CANVAS_STRING_VARIABLE, the first step in being able to avoid using GTK rc files...
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

10 years agoMIDI Device Button Style
Robin Gareus [Fri, 13 Jun 2014 10:02:50 +0000 (12:02 +0200)]
MIDI Device Button Style

10 years agoupdate ALSA backend, MIDI device config
Robin Gareus [Fri, 13 Jun 2014 09:46:37 +0000 (11:46 +0200)]
update ALSA backend, MIDI device config

10 years agoadd GUI for midi-device settings (and properly indent the code)
Robin Gareus [Fri, 13 Jun 2014 10:01:55 +0000 (12:01 +0200)]
add GUI for midi-device settings (and properly indent the code)

10 years agoadd AudioEngine API to configure individual MIDI devices
Robin Gareus [Thu, 12 Jun 2014 19:35:25 +0000 (21:35 +0200)]
add AudioEngine API to configure individual MIDI devices

10 years agoFix opening of recent sessions with mismatched directory & file names
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...

10 years agoPrevent creation of session directory with leading or trailing space.
Colin Fletcher [Thu, 5 Jun 2014 16:26:16 +0000 (17:26 +0100)]
Prevent creation of session directory with leading or trailing space.

10 years agoShow Soundcloud credentials and upload options only when required
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.

10 years agoUse Ardour 3 credentials for soundcloud upload
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.

10 years agoAdd #include guards to soundcloud_export_selector.h
Colin Fletcher [Thu, 29 May 2014 21:17:39 +0000 (22:17 +0100)]
Add #include guards to soundcloud_export_selector.h

10 years agoActually pass Soundcloud downloadable flag to export handler
Colin Fletcher [Thu, 29 May 2014 21:17:06 +0000 (22:17 +0100)]
Actually pass Soundcloud downloadable flag to export handler

10 years agoRemove unused function
Colin Fletcher [Tue, 27 May 2014 14:48:07 +0000 (15:48 +0100)]
Remove unused function

Remove the unused ExportFileNotebook::get_nth_format_name()

10 years agoExport dialog: tidy code, & remove some superfluous debug output
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.

10 years agoPost-export hook tweaks
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.

10 years agoSearch $PATH for command when creating SystemExec from command line
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.

10 years agouse the alpha/opacity value for the region base whether track colors are in use or not
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

10 years agorestored track height adjustment using alt-scroll on track headers
Paul Davis [Thu, 12 Jun 2014 21:21:41 +0000 (17:21 -0400)]
restored track height adjustment using alt-scroll on track headers

10 years agofixed rulers stealing all canvas scroll events and corrected computation of correct...
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

10 years agoremove no-longer-used code
Paul Davis [Thu, 12 Jun 2014 20:18:38 +0000 (16:18 -0400)]
remove no-longer-used code

10 years agoadd back click behaviour for canvas rulers, and also cursor enforcement
Paul Davis [Thu, 12 Jun 2014 20:06:31 +0000 (16:06 -0400)]
add back click behaviour for canvas rulers, and also cursor enforcement

10 years agoadd canvas rulers event dispatch and reinstate scrolling behaviour
Paul Davis [Thu, 12 Jun 2014 19:58:05 +0000 (15:58 -0400)]
add canvas rulers event dispatch and reinstate scrolling behaviour

10 years agochange Canvas heirarchy and constructors
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.

10 years agodrag handles no longer exist as distinct item types (failed experiment)
Paul Davis [Thu, 12 Jun 2014 18:51:51 +0000 (14:51 -0400)]
drag handles no longer exist as distinct item types (failed experiment)

10 years agoremove drag handle canvas object - it was just a stupid unfinished 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

10 years agouse new ArdourCanvas::Ruler constructor
Paul Davis [Thu, 12 Jun 2014 14:35:32 +0000 (10:35 -0400)]
use new ArdourCanvas::Ruler constructor

10 years agoderive ArdourCanvas::Ruler from Rectangle
Paul Davis [Thu, 12 Jun 2014 14:35:16 +0000 (10:35 -0400)]
derive ArdourCanvas::Ruler from Rectangle

10 years agoadd new canvas vars for rulers
Paul Davis [Thu, 12 Jun 2014 14:32:34 +0000 (10:32 -0400)]
add new canvas vars for rulers

10 years agomake rulers color-sensitive (e.g. theme manager editable, etc)
Paul Davis [Thu, 12 Jun 2014 05:06:25 +0000 (01:06 -0400)]
make rulers color-sensitive (e.g. theme manager editable, etc)

10 years agoremove hard-coded colors
Paul Davis [Thu, 12 Jun 2014 05:05:43 +0000 (01:05 -0400)]
remove hard-coded colors

10 years agoadd new default colors for canvas rulers
Paul Davis [Thu, 12 Jun 2014 05:04:50 +0000 (01:04 -0400)]
add new default colors for canvas rulers

10 years agoremoved unused rule GTK widget style definition
Paul Davis [Thu, 12 Jun 2014 05:04:19 +0000 (01:04 -0400)]
removed unused rule GTK widget style definition

10 years agoremove unused GTK style
Paul Davis [Thu, 12 Jun 2014 05:04:02 +0000 (01:04 -0400)]
remove unused GTK style

10 years agoOS X specific cleanup after canvas ruler introduction
Paul Davis [Thu, 12 Jun 2014 04:19:33 +0000 (00:19 -0400)]
OS X specific cleanup after canvas ruler introduction

10 years agoremove header file includes of now-removed gtk custom ruler
Paul Davis [Thu, 12 Jun 2014 04:18:58 +0000 (00:18 -0400)]
remove header file includes of now-removed gtk custom ruler

10 years agoremove 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

10 years agofinal ruler file removal
Paul Davis [Thu, 12 Jun 2014 04:01:30 +0000 (00:01 -0400)]
final ruler file removal

10 years agoremove gtk ruler widget implementation - no longer in use
Paul Davis [Thu, 12 Jun 2014 04:01:06 +0000 (00:01 -0400)]
remove gtk ruler widget implementation - no longer in use

10 years agouse canvas rulers now instead of gtk widgets
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.

10 years agomany fixes and improvements for a now-working ArdourCanvas::Ruler item
Paul Davis [Thu, 12 Jun 2014 03:53:06 +0000 (23:53 -0400)]
many fixes and improvements for a now-working ArdourCanvas::Ruler item

10 years agoadd ruler.cc to canvas wscript
Paul Davis [Thu, 12 Jun 2014 03:51:59 +0000 (23:51 -0400)]
add ruler.cc to canvas wscript

10 years agoadd Ruler to Canvas fwd.h
Paul Davis [Thu, 12 Jun 2014 03:51:45 +0000 (23:51 -0400)]
add Ruler to Canvas fwd.h

10 years agoclamp zoom level to show 3 days on a 4000 pixel wide screen; comment unused variable...
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

10 years agoadd initial (untested) implementation of canvas ruler item
Paul Davis [Wed, 11 Jun 2014 16:24:43 +0000 (12:24 -0400)]
add initial (untested) implementation of canvas ruler item

10 years agodelayline: properly hand-over the shared-pointer.
Robin Gareus [Thu, 12 Jun 2014 00:10:37 +0000 (02:10 +0200)]
delayline: properly hand-over the shared-pointer.

10 years agoadd latency callback to dummy backend
Robin Gareus [Wed, 11 Jun 2014 20:01:21 +0000 (22:01 +0200)]
add latency callback to dummy backend

10 years agofix possible crash when setting delivery name w/o panshell
Robin Gareus [Wed, 11 Jun 2014 18:21:14 +0000 (20:21 +0200)]
fix possible crash when setting delivery name w/o panshell