Commit graph

14053 commits

Author SHA1 Message Date
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
Paul Davis
a7a75f105a remove hard-coded colors 2014-08-17 15:08:19 -04:00
Paul Davis
5617432962 add new default colors for canvas rulers 2014-08-17 15:08:13 -04:00
Paul Davis
0ac4dfaa35 removed unused rule GTK widget style definition 2014-08-17 15:08:08 -04:00
Paul Davis
6d08de0233 remove unused GTK style 2014-08-17 15:08:02 -04:00
Paul Davis
2b99520451 OS X specific cleanup after canvas ruler introduction 2014-08-17 15:07:56 -04:00
Paul Davis
1776e12f26 remove header file includes of now-removed gtk custom ruler 2014-08-17 15:07:49 -04:00
Paul Davis
e02dac67b5 remove header file includes of now-removed gtk custom ruler 2014-08-17 15:07:44 -04:00
Paul Davis
0bf68bf76c final ruler file removal 2014-08-17 15:07:39 -04:00
Paul Davis
7979265724 remove gtk ruler widget implementation - no longer in use 2014-08-17 15:07:27 -04:00
Paul Davis
59ccbc8774 use canvas rulers now instead of gtk widgets
Some bugs that exist in master are still present.

Conflicts:
	gtk2_ardour/editor.cc
	gtk2_ardour/editor.h
2014-08-17 15:07:20 -04:00
Paul Davis
473bcc3fa6 many fixes and improvements for a now-working ArdourCanvas::Ruler item 2014-08-17 15:06:11 -04:00
Paul Davis
126a293ab9 add ruler.cc to canvas wscript 2014-08-17 15:06:06 -04:00
Paul Davis
def1f12164 add Ruler to Canvas fwd.h 2014-08-17 15:05:59 -04:00
Paul Davis
cd29e0b7cc clamp zoom level to show 3 days on a 4000 pixel wide screen; comment unused variable for now 2014-08-17 15:05:53 -04:00
Paul Davis
76b9ad2294 add initial (untested) implementation of canvas ruler item 2014-08-17 15:05:48 -04:00
Robin Gareus
494515ee16 delayline: properly hand-over the shared-pointer. 2014-08-17 15:05:38 -04:00
Robin Gareus
1501726cd5 add latency callback to dummy backend 2014-08-17 15:05:31 -04:00
Robin Gareus
65671fd59e fix possible crash when setting delivery name w/o panshell 2014-08-17 15:05:24 -04:00