Robin Gareus
cf1cbfdfb9
if we don't have control over the device/backend, allow to proceed.
2014-08-17 15:26:06 -04:00
Robin Gareus
9da6936c0f
simply future debugging of exit at start.
2014-08-17 15:25:59 -04:00
Robin Gareus
7654532900
fix initialization of audio-engine dialog
2014-08-17 15:25:54 -04:00
Paul Davis
03b1e96508
new anchored trim cursors (for now, just copies of the normal ones)
2014-08-17 15:25:48 -04:00
Paul Davis
c451e21089
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-08-17 15:25:42 -04:00
Paul Davis
41526eec44
do most of the work related to adding new anchored trim cursors (but debugging/analysis continues)
2014-08-17 15:25:36 -04:00
Robin Gareus
525b9f3d39
enable ArdourButton focus in EngineDialog
2014-08-17 15:25:29 -04:00
Robin Gareus
5594527b31
allow ardour button to handle focused keyboard events
2014-08-17 15:25:23 -04:00
Robin Gareus
cc5a3d32e6
fix keyboard shorcuts in dialogs.
...
actually, for most dialogs, key-presses should never
be relayed. a get_modal() check might be the appropriate.
2014-08-17 15:25:16 -04:00
Paul Davis
a7a6de2021
disambiguate another use of Rect on OS X
2014-08-17 15:25:12 -04:00
Paul Davis
d9cee7a6d6
fix scrolling behaviour in track headers (event was stolen by rulers because event coordinates made it look as if the event happened there)
2014-08-17 15:24:46 -04:00
Paul Davis
31f35ca4bf
add all the fonts, and use the right name for the rulers as a result
2014-08-17 15:24:41 -04:00
Paul Davis
4794533df6
no need to specify sans for ruler font
2014-08-17 15:24:34 -04:00
Paul Davis
410e3a62e3
use canvas ruler font specification rather than get_font_for_style()
2014-08-17 15:24:29 -04:00
Paul Davis
7ab834f7b1
define ruler font style (to be subst'ed) in ardour3_ui_default.conf.in
2014-08-17 15:24:24 -04:00
Paul Davis
b2a7c5bc4e
add first canvas string variable to canvas_vars.h - the ruler font
2014-08-17 15:24:19 -04:00
Paul Davis
83e0c084a0
correct CANVAS_STRING_VARIABLE macro in UIConfiguration constructor
2014-08-17 15:24:13 -04:00
Paul Davis
38db61f44f
build ardour3_ui_default.conf at build time, to allow font substitutions to be done (which are platform dependent)
2014-08-17 15:24:05 -04:00
Paul Davis
58e3d7a1a1
missing part of ColorVariable commit
2014-08-17 15:23:57 -04:00
Paul Davis
c5d29d59b5
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.
Conflicts:
gtk2_ardour/time_axis_view_item.cc
2014-08-17 15:23:31 -04:00
Paul Davis
3bde595378
rename UIConfigVariable as ColorVariable since that is really it should be used for; use ARDOUR::ConfigVariable for everything else in UI config
2014-08-17 15:22:56 -04:00
Robin Gareus
de6c43100e
Engine Dialog: Don't save duplicate states (and remove old dups)
2014-08-17 15:22:50 -04:00
Robin Gareus
4416bed4f8
ALSA backend: set latencies to zero when measuring latency
2014-08-17 15:22:45 -04:00
Robin Gareus
109899c894
send-delayline: proper debug output (and sort includes on the way)
2014-08-17 15:22:41 -04:00
Paul Davis
93b34819e5
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-08-17 15:22:36 -04:00
Robin Gareus
3dae0057d1
MIDI Device Button Style
...
Conflicts:
gtk2_ardour/ardour3_ui_default.conf
2014-08-17 15:22:23 -04:00
Robin Gareus
74bd058c73
update ALSA backend, MIDI device config
2014-08-17 15:20:49 -04:00
Robin Gareus
ef0fe0719c
add GUI for midi-device settings (and properly indent the code)
...
Conflicts:
gtk2_ardour/engine_dialog.cc
2014-08-17 15:20:39 -04:00
Robin Gareus
0e6b9e25c3
add AudioEngine API to configure individual MIDI devices
2014-08-17 15:19:55 -04:00
Colin Fletcher
4810e59335
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-08-17 15:14:25 -04:00
Colin Fletcher
988c7773a7
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-08-17 15:14:20 -04:00
Colin Fletcher
c593d40e52
Add #include guards to soundcloud_export_selector.h
2014-08-17 15:14:14 -04:00
Colin Fletcher
67ea174c55
Actually pass Soundcloud downloadable flag to export handler
...
Conflicts:
gtk2_ardour/export_dialog.cc
2014-08-17 15:14:08 -04:00
Colin Fletcher
2b07c3060c
Remove unused function
...
Remove the unused ExportFileNotebook::get_nth_format_name()
2014-08-17 15:13:26 -04:00
Colin Fletcher
0b37220cf9
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.
Conflicts:
libs/ardour/export_handler.cc
2014-08-17 15:13:20 -04:00
Colin Fletcher
ccd4f9ccdc
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.
Conflicts:
libs/ardour/export_handler.cc
2014-08-17 15:12:38 -04:00
Colin Fletcher
f22f2bbb55
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.
Conflicts:
libs/pbd/system_exec.cc
2014-08-17 15:11:27 -04:00
Paul Davis
cea43b4f6a
use the alpha/opacity value for the region base whether track colors are in use or not
2014-08-17 15:09:35 -04:00
Paul Davis
27b2651b28
restored track height adjustment using alt-scroll on track headers
2014-08-17 15:09:28 -04:00
Paul Davis
9620f61933
fixed rulers stealing all canvas scroll events and corrected computation of correct track for track-height adjustment using alt-scroll
2014-08-17 15:09:21 -04:00
Paul Davis
01b84f0ad0
remove no-longer-used code
2014-08-17 15:09:15 -04:00
Paul Davis
835e2fe109
add back click behaviour for canvas rulers, and also cursor enforcement
2014-08-17 15:09:10 -04:00
Paul Davis
f28348ea91
add canvas rulers event dispatch and reinstate scrolling behaviour
2014-08-17 15:09:05 -04:00
Paul Davis
452cf1db35
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.
2014-08-17 15:08:56 -04:00
Paul Davis
eb69fd17fd
drag handles no longer exist as distinct item types (failed experiment)
2014-08-17 15:08:50 -04:00
Paul Davis
3cec76834e
remove drag handle canvas object - it was just a stupid unfinished experiment
2014-08-17 15:08:46 -04:00
Paul Davis
dbd35440aa
use new ArdourCanvas::Ruler constructor
2014-08-17 15:08:39 -04:00
Paul Davis
1a3596b071
derive ArdourCanvas::Ruler from Rectangle
2014-08-17 15:08:33 -04:00
Paul Davis
a401962539
add new canvas vars for rulers
2014-08-17 15:08:28 -04:00
Paul Davis
f35de8c953
make rulers color-sensitive (e.g. theme manager editable, etc)
2014-08-17 15:08:24 -04:00