Commit graph

14331 commits

Author SHA1 Message Date
Robin Gareus
59ece6d511 be smart, use boost::shared_ptr 2014-08-17 15:28:18 -04:00
Robin Gareus
c3a508dc49 clear engine device combo when no devices are available 2014-08-17 15:28:11 -04:00
Robin Gareus
c56d3ad812 initialize uninitialized variable 2014-08-17 15:28:03 -04:00
Robin Gareus
08c4bf319f tweak ArdourButton focus outline 2014-08-17 15:27:58 -04:00
Robin Gareus
84a23ed9fe remove debug output 2014-08-17 15:27:53 -04:00
Robin Gareus
632e23de2c fix pathscanner / stl_vector related memory leaks
Conflicts:
	gtk2_ardour/session_dialog.cc
2014-08-17 15:27:45 -04:00
John Emmas
37a2ac8617 Add newly introduced sources to our MSVC projects 2014-08-17 15:26:34 -04:00
John Emmas
cb0abfb008 Remove no longer needed sources from MSVC projects 2014-08-17 15:26:28 -04:00
Robin Gareus
977da7e08a strtok() is the root of all evil. 2014-08-17 15:26:22 -04:00
Robin Gareus
7804841022 tracking down concurrency issus is fun. 2014-08-17 15:26:16 -04:00
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