13
0
Commit Graph

13874 Commits

Author SHA1 Message Date
73d98df3d2 add Session::get_tracks() 2014-07-09 11:29:26 -04:00
1fd4d40dbb add mutex to prevent concurrent session state saves.
Why wasn't this done 10 years ago?
2014-07-09 10:18:28 -04:00
7364ca213a 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-07-09 10:10:44 -04:00
0e5d86a825 don't save state when removing sources during session loading (though this should no longer happen) 2014-07-09 10:09:49 -04:00
b37e3229f7 only reset AudioDiskstream write sources if the I/O configuration changed. Do not do this for connection changes etc. 2014-07-09 10:09:14 -04:00
d99b6f0662 call Canvas::re_enter() at the end of a RegionCutDrag so that entered_regionview *might* be set 2014-07-08 21:37:49 -04:00
05bca82117 cut ops can start on automation tracks too 2014-07-08 21:36:05 -04:00
542d1ce01c cut ops can start with the mouse pointer not over a region 2014-07-08 20:28:27 -04:00
f250d16487 cut cursor follows grid 2014-07-08 16:08:31 -04:00
4d61f69078 bolder scissor images to match existing tools more closely 2014-07-08 15:00:19 -05:00
c1166c9f63 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-07-08 15:00:19 -05:00
39ea166620 add --debug-symbols configure option.
This allows for --optimize --debug-symbols for profiling.
2014-07-08 18:40:52 +02:00
2d63489196 Dummy Backend: optimize random-number implementation 2014-07-08 18:40:51 +02:00
941701574e fix and optimize DummyBackend generators
* use Wavetable for sine
* lock generator (concurrency issue)
* always initialize variables
2014-07-08 18:40:51 +02:00
b7f918bdb7 when merging external source files into session folder, if a collision occurs, use the original file suffix in conjunction with md5 hash 2014-07-08 12:25:36 -04:00
66684c6690 Add PBD::get_suffix() for ripping file suffixes from paths 2014-07-08 12:24:56 -04:00
fcabd5d8ee initial implementation of "bring all media into session folder". Incomplete but basically functional for audio files 2014-07-08 00:53:13 -04:00
d3e3f5f005 add operator-= variants for PBD::Searchpath 2014-07-08 00:53:13 -04:00
f4a84a0272 add MD5 implementation to wscript 2014-07-08 00:53:13 -04:00
6b9ef29597 add cleaned up MD5 C++ implementation for general use 2014-07-08 00:53:13 -04:00
e21907d247 make WINDOWS_KEY value propagate correctly into wscript files for use when generating key bindings 2014-07-08 00:53:13 -04:00
bf1de52de5 update callgrind script and add some doc. 2014-07-08 01:11:05 +02:00
eaa17c3951 xfade rects should only pop-up in Object mode, when they are focusable 2014-07-07 15:34:20 -05:00
116a0ad327 fix inconsistency in smart mode where it shows a trim cursor in the top half of the region edge, but a click is actually going to start a range. It is arguable that we _should_ allow trimming in the top half, but that is complicated. This change is small and makes it consistent for now 2014-07-07 14:46:05 -05:00
abe203de65 fix copy paste error in selection 2014-07-07 14:15:25 -05:00
185f06e7f7 add signal generator modules to Dummy Backend. 2014-07-07 16:31:58 +02:00
67eaa62ee9 fix build after copy-n-paste/code change collision 2014-07-07 10:21:47 -04:00
d97199088b some code shuffling to make sure that cut mode always operates at the mouse location, with (maybe) the right regions 2014-07-07 10:13:26 -04:00
b39c30dbd1 remove leftover cruft from link-region-and-track removal 2014-07-07 09:07:06 -05:00
64404a16c1 remove all_group_active_button. if you want to operate on all tracks, choose select-all-tracks ( ctrl+t in the mnemonic bindings ). this is more explicit and allows safer use of the deselected-region-under-mouse operations 2014-07-07 08:46:25 -05:00
c028d223df add icons for cut mouse mode button and cut cursor (both need improving) 2014-07-07 09:13:23 -04:00
a34861c38e use an EditorCursor when dragging in cut mode to indicate cut position 2014-07-07 08:26:37 -04:00
4685a15b1f add new variant of EditorCursor that creates an insensitive full-canvas-height line, and fix destructor leak 2014-07-07 08:16:57 -04:00
a1bc2cb10e fix potential crash if certain Canvas methods are used before its window is realized 2014-07-07 08:00:20 -04:00
936861f6ce Use Canvas::re_enter() after changing mouse mode so we get the right cursor no matter what item we're over; fix return value for button press in cut mode; never change selection in cut mode 2014-07-07 07:54:41 -04:00
b1a8f11565 tentative use of "c" as test binding for scissors/cut mouse mode (will possibly revert) 2014-07-07 07:53:54 -04:00
69a92e67f0 Add Canvas::re_enter() which picks the current item again based on mouse pointer position and generates an enter event for it 2014-07-07 07:53:17 -04:00
779fe6c082 add functionality for cut tool 2014-07-07 07:05:44 -04:00
7ec397c019 add basics of Cut mouse mode, no functionality yet. Icon images are still required 2014-07-07 07:05:43 -04:00
8381c10b59 update audio-export as used by video-export (disable soundcloud) 2014-07-06 23:45:39 +02:00
4b0933938f optimize SystemExec::output_interposer() 2014-07-06 23:44:48 +02:00
cabed6ffce fix timecode > 2^31 samples calculation on 32bit systems 2014-07-06 22:44:22 +02:00
6d97d72999 remove some cruft with previous commits. remove option link-region-and-track-selection since they are now exclusive, and rename select-all-regions to select-all-objects to match the implementation 2014-07-06 14:02:13 -05:00
40d377c288 add number-label at top of mixer-strip 2014-07-06 20:14:12 +02:00
381b6848fc repair ardour-button "fixed color mode" 2014-07-06 19:56:53 +02:00
881703144c show track color on mixer-strip 2014-07-06 19:56:53 +02:00
db60bc86b8 now that track and region selections are mutually exclusive, you need a separate action to select-all-tracks and select-all-regions. also, preserve region selection during a split, iff we are working on a region selection: only add the newly created regions, dont change anything else in the selection; leave that in control of the user 2014-07-06 12:57:36 -05:00
7d13a49761 remove cruft.
periodic save is done with maybe_write_autosave()
2014-07-06 14:43:07 +02:00
c771668f9a Q and W jump between markers. this puts them right next to Tab which creates and deletes markers. numpad left/right arrows are an alternate action for this 2014-07-06 07:02:11 -05:00
36135baaac change reasonable-synth to be sample accurate (note on/off)
at expense of slightly increased CPU load.
2014-07-06 13:24:53 +02:00