Commit graph

14717 commits

Author SHA1 Message Date
Paul Davis
b4610bf550 move fit-tracks back onto "f" and use / for fade-range, moving set-region-fade-(in|out)-length to PRIMARY-/ and PRIMARY-\ respectively 2014-08-17 21:12:21 -04:00
Paul Davis
f6fd3d18b9 restore correct functioning of fit-tracks, which was mistakenly removed because of a failure to understand its complexities 2014-08-17 21:12:15 -04:00
Robin Gareus
a46ff2bc31 fix TC entry beyond 2^31 frames. 2014-08-17 21:12:10 -04:00
Paul Davis
8e79c77dfc remove awful, inobvious, wrong and no longer necessary "_i_am_the_modifier" crap from RouteUI, except in one case where it might be useful
Conflicts:
	gtk2_ardour/route_ui.cc
2014-08-17 21:11:57 -04:00
Paul Davis
cff24575d9 fix key editor resize behaviour 2014-08-17 21:01:26 -04:00
Paul Davis
9cd11ccb82 add reset bindings button to key bindings editor 2014-08-17 21:01:20 -04:00
Paul Davis
1edeaf3395 add Gtkmm2ext::Keyboard::reset_bindings() 2014-08-17 21:01:15 -04:00
Paul Davis
6fc47dfb41 use lower-case PROGRAM_NAME for user bindings file name 2014-08-17 21:01:10 -04:00
Paul Davis
867a54cf80 make f be bound to fade-range by default 2014-08-17 21:01:04 -04:00
Paul Davis
10becc1411 add "fade range" operation, bound to alt-f at present by default 2014-08-17 21:00:59 -04:00
Paul Davis
81888a63ce add libardour infrastructure for "fade range" edit operation 2014-08-17 21:00:50 -04:00
Paul Davis
edd95566fd do not call basename_nosuffix() before using matching_unsuffixed_filename_exists_in() because the latter does that call itself.
As the code used to be, if we are testing for a candidate filename of aaa.bbb.ccc, the call strips .ccc and matching_... strips .bbb
resulting in a match with aaa, which is not intended at all.
2014-08-17 21:00:44 -04:00
Paul Davis
bb2cb9f01d remove unused variable 2014-08-17 21:00:01 -04:00
Paul Davis
6b7a118376 size various ArdourDropdowns according to the pixel width, not character length, of their various strings 2014-08-17 20:59:53 -04:00
Paul Davis
94a2e799ae Revert "adjust horizontal-offset for snap/grid dropdown." Wrong fix for the problem.
This reverts commit c90d35c4a1.
2014-08-17 20:59:48 -04:00
Robin Gareus
a3c71e8f65 adjust horizontal-offset for snap/grid dropdown. 2014-08-17 20:59:38 -04:00
Paul Davis
b117d26743 use standardized timecode formatting in verbose cursor 2014-08-17 20:59:30 -04:00
Paul Davis
f257a513a6 break out AudioClock::print_minsec() so that AudioClock and VerboseCursor can use the same formatting code. 2014-08-17 20:59:23 -04:00
Paul Davis
485bafff37 verbose cursor should use primary clock mode even when showing a duration, not just absolute position 2014-08-17 20:51:53 -04:00
Paul Davis
381a3c0a99 add Editor::edit_mode_strings to allow for i18n; correctly size ArdourDropdowns using longest, translated strings
Conflicts:
	gtk2_ardour/editor.cc
2014-08-17 20:51:45 -04:00
Paul Davis
e614f1f7c2 add std::string variant of set_size_request_to_display_given_string() 2014-08-17 20:50:07 -04:00
Robin Gareus
53d8318a26 shorten grid/snap label "Timecode" -> "TC" 2014-08-17 20:49:33 -04:00
Robin Gareus
d8909ab83f automatically set ArdourDropdown box width.
..according to longest text in English.

Conflicts:
	gtk2_ardour/editor.cc
2014-08-17 20:49:24 -04:00
Ben Loftis
7b41724c3d polish a few blemishes and add some comments 2014-08-17 20:48:41 -04:00
Ben Loftis
1ed1a23b6c fix range select so it picks up grouped tracks 2014-08-17 20:48:37 -04:00
Paul Davis
fc69f36063 make sure that copy constructors and operator= for ControlList pass along the _interpolation value 2014-08-17 20:48:32 -04:00
Paul Davis
9ac7b636a5 make AutomationList::operator==() private and abort() as its core, because it should never be called/used.
Also make AutomationList::operator=() use ControlList::operator=() rather than try to reimplement it
2014-08-17 20:48:27 -04:00
Paul Davis
b1fe57e4c5 remove debug output 2014-08-17 20:46:14 -04:00
Paul Davis
6ea7beb56f fix crash initiated by never configuring track write sources when reloading a session, caused by earlier commits to avoid unnecessary write source resets 2014-08-17 20:46:08 -04:00
Paul Davis
57d0aa4354 add mutex to prevent concurrent session state saves.
Why wasn't this done 10 years ago?
2014-08-17 20:45:19 -04:00
Paul Davis
a0fdeed441 do not attempt to save undo history if it is empty, and do not do any part of history save if we're not going to write a new file 2014-08-17 20:45:13 -04:00
Paul Davis
a097b65db5 don't save state when removing sources during session loading (though this should no longer happen) 2014-08-17 20:45:08 -04:00
Paul Davis
d18e1fbe1c only reset AudioDiskstream write sources if the I/O configuration changed. Do not do this for connection changes etc. 2014-08-17 20:45:03 -04:00
Paul Davis
c95a9cd490 call Canvas::re_enter() at the end of a RegionCutDrag so that entered_regionview *might* be set 2014-08-17 20:44:58 -04:00
Paul Davis
199414f495 cut ops can start on automation tracks too 2014-08-17 20:44:53 -04:00
Paul Davis
020fc013a9 cut ops can start with the mouse pointer not over a region 2014-08-17 20:44:47 -04:00
Paul Davis
806f3f9f15 cut cursor follows grid 2014-08-17 20:44:42 -04:00
Ben Loftis
31ffc2aa85 fix thinko with split selections. also ignore follow_edits when we are splitting, because the playlist freeze and the newly added regions cause the playhead to jump to unexpected locations 2014-08-17 20:44:22 -04:00
Robin Gareus
a3bd4de11d add --debug-symbols configure option.
This allows for --optimize --debug-symbols for profiling.
2014-08-17 20:44:15 -04:00
Robin Gareus
172774c76d Dummy Backend: optimize random-number implementation 2014-08-17 20:44:11 -04:00
Robin Gareus
2e63956536 fix and optimize DummyBackend generators
* use Wavetable for sine
* lock generator (concurrency issue)
* always initialize variables
2014-08-17 20:44:06 -04:00
Paul Davis
9e18119c86 when merging external source files into session folder, if a collision occurs, use the original file suffix in conjunction with md5 hash 2014-08-17 20:44:01 -04:00
Paul Davis
226fd3e1b7 Add PBD::get_suffix() for ripping file suffixes from paths 2014-08-17 20:43:55 -04:00
Paul Davis
3b0ce4038e initial implementation of "bring all media into session folder". Incomplete but basically functional for audio files 2014-08-17 20:43:49 -04:00
Paul Davis
f5ac8d22fc add operator-= variants for PBD::Searchpath 2014-08-17 20:43:42 -04:00
Paul Davis
9537555f59 add MD5 implementation to wscript 2014-08-17 20:43:37 -04:00
Paul Davis
deb6c227e7 add cleaned up MD5 C++ implementation for general use 2014-08-17 20:43:32 -04:00
Paul Davis
9658096de3 make WINDOWS_KEY value propagate correctly into wscript files for use when generating key bindings 2014-08-17 20:43:28 -04:00
Robin Gareus
4eea756c5f update callgrind script and add some doc. 2014-08-17 20:43:23 -04:00
Ben Loftis
9583faed27 xfade rects should only pop-up in Object mode, when they are focusable 2014-08-17 20:43:17 -04:00