nick_m
7898435d3f
Tempo ramps - define_one_bar() delivers constant tempo.
...
- also some renaming and code review
2016-05-27 23:38:09 +10:00
nick_m
7fc3b0c34c
Initial stab at tempo ramps.
...
Replaces the list of points in TempoMap with TempoSection functions, which
compute tempo-at or tick-at time relative to tempo section start.
TempoMap consults them additively to determine things like bbt_time(),
frame_time() get_grid() etc.
This has a marked effect on scrolling speed along with the code simplification
in the places it has been attempted.
Several things are broken here.
Currently every ramp except the last one is an exponential ramp. this may
be simple to fix :).
Mouse-over midi grid doesn't match mouse click grid. should also be simple.
Many things seem to work, but their accuracy should be in question until
each area has been addressed.
2016-05-27 23:38:09 +10:00
Robin Gareus
2074dbdbe2
freeze thread is not detached and needs to be joined
2016-05-24 03:33:11 +02:00
Paul Davis
a232673454
make boost shared_ptr debugging a little easier to turn on/off
2016-05-07 13:36:04 -04:00
Robin Gareus
f148d70d41
batch remove tracks
2016-05-03 14:27:57 +02:00
Robin Gareus
8fe2a308a5
GUI updates for transient rework
2016-05-01 02:02:25 +02:00
Robin Gareus
ec0ec95262
change const some functions to const. (prepare lua bindings)
2016-04-09 00:33:03 +02:00
yonideshi
c1ce5dd9ec
Fix for issue #0006803
2016-03-05 15:54:47 +01:00
Paul Davis
16731d07d3
remove use of current_toplevel() where unnecessary, fix broken necessary cases, generally fix up show/hide/attach/detach for Tabbables
2016-02-22 15:31:22 -05:00
Paul Davis
9010262bed
first compilable version of tabbable design.
...
I would have loved to split this apart, but there are just so many interrelated changes,
it makes little sense and would be a huge effort that would break future git bisect
use because so many intermediate commits would not compile
2016-02-22 15:31:21 -05:00
Adrian Knoth
6fa88273aa
Spelling correction patch from Debian
...
Patch taken (and forward-ported to HEAD) from
<https://anonscm.debian.org/cgit/pkg-multimedia/ardour.git/plain/debian/patches/0100-fix-typos.patch >
2016-02-22 15:13:01 -05:00
Colin Fletcher
df76996aaa
insert time: ignore mouse as edit point
...
This is arguable, but at least is now consistent with 'remove time'.
2016-02-06 11:35:45 +00:00
Colin Fletcher
05345048a6
insert time: remove pointless local variable
2016-02-06 11:23:16 +00:00
Colin Fletcher
b69a980d3b
Make name of undo action for 'Remove Time' consistent
2016-02-06 10:21:44 +00:00
Tim Mayberry
45e8bda65f
Change duplicate range to use time range/s rather than a single region
...
This should fix bugs #4980 , #4984 , #4986 and #6579
2016-01-28 12:25:16 +10:00
Paul Davis
9e5b7db89f
first compiling, mostly working version of group controls changes
2016-01-22 11:58:31 -05:00
Tim Mayberry
6ba6cce799
Refactor code into Editor::temporal_zoom_step_mouse_focus method
2016-01-21 11:25:56 +10:00
Tim Mayberry
08cbe0532c
Refactor scrolling in Editor ruler canvas area into two utility methods
2016-01-21 11:25:56 +10:00
Tim Mayberry
c6805c1454
Refactor scrolling track canvas in Editor class into two utility methods
2016-01-21 11:25:55 +10:00
Robin Gareus
c2493141d9
fix "stuck marker focus" after deleting marker.
2015-12-08 23:39:47 +01:00
André Nusser
00c68ae2e6
Remove "Fill Range with Region" from menu and also its function.
2015-12-04 11:40:24 +01:00
André Nusser
0040ab5158
Fix "Crop Region to Range" -- second attempt.
2015-12-03 12:57:01 -05:00
Paul Davis
eb1d1acab8
fix double template syntax
2015-12-02 16:59:11 -05:00
André Nusser
653789424b
Fix "Fill Track".
...
It now behaves like Multi-Duplicate until the end marker. The end
marker is excluded as this would often lead to size 1 regions.
2015-12-02 14:59:43 -05:00
André Nusser
add37c6b96
Fix "Crop Region to Range".
...
Before only regions that contained the start of the range were cropped,
now all are cropped.
2015-12-02 14:58:42 -05:00
Ben Loftis
ca381a908e
provide user preference for pre-roll
2015-11-19 16:56:09 -06:00
André Nusser
2cc707e88f
Fix fencepost error in duplicate_some_regions. Adapt start position.
2015-11-04 17:50:12 -05:00
Robin Gareus
4a3413f2d4
suspend timers while flushing the gtk-event queue.
...
This fixes an issues where Ardour never completes to flush the GUI event
queue due to rapid updates for meters and similar events.
ARDOUR_UI::load_session() never returned and the complete session
ran inside Gtkmm2ext::UI::flush_pending(), this later causes a crash
at exit.
as side effect, this also speeds up session load.
2015-10-30 15:55:27 +01:00
Robin Gareus
d04c16e927
fix edge-case: (move playhead w/o session)
2015-10-22 14:14:27 +02:00
André Nusser
e807fe2b28
Introduce "Transpose..." also in the context menu of selected notes.
2015-10-17 22:12:55 -04:00
André Nusser
bc83699e44
Fix tiny memory leak.
2015-10-17 22:12:54 -04:00
Robin Gareus
f307080808
disable follow-edits with external sync #6577
2015-10-18 02:03:41 +02:00
Robin Gareus
38405fa210
fix crash on 2nd Lock
2015-10-07 15:50:55 +02:00
Robin Gareus
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
Paul Davis
4dc63966f0
globally remove all trailing whitespace from ardour code base.
...
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
Robin Gareus
95df99e6d4
remove unused function
2015-10-04 17:53:02 +02:00
Paul Davis
621fd845e6
Revert "add new action and loop marker menu item for setting up loop record"
...
This reverts commit ebb43508f1 .
2015-09-28 17:44:04 -04:00
Paul Davis
ebb43508f1
add new action and loop marker menu item for setting up loop record
2015-09-28 17:42:11 -04:00
André Nusser
6a248b61f0
fix duplicating multiple selected regions - fixes #6202
2015-09-20 22:22:39 +02:00
Robin Gareus
646bc2bb43
fix possible endless loop in silence detection
2015-09-19 19:00:43 +02:00
Tim Mayberry
6b019a4953
Move UIConfiguration Singleton into UIConfiguration header
...
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
Tim Mayberry
7b82277c7e
Don't try and split a region when dragging, should fix bug #6338
2015-09-16 16:28:18 +10:00
Colin Fletcher
3eb7ee6ac1
Check that a route has a track before trying to insert time on it.
...
Routes which are busses don't have a track, and thus no playlists either:
avoid a crash when inserting time when a bus is selected and 'all
playlists' is chosen.
2015-09-10 11:50:20 +01:00
Ben Loftis
43f3c0e0f2
clean-up previous commit
2015-08-27 10:13:35 -05:00
Ben Loftis
84845833c1
Add missing actions from MB2 for Mike:
...
Set-Loop-Start/End-From-Edit-Point
Set-Punch-Start/End-From-Edit-Point
2015-08-19 14:53:35 -05:00
Ben Loftis
9673e6b271
merge fix again
2015-07-16 17:14:14 -05:00
Ben Loftis
46c8369328
merge fix
2015-07-16 16:13:24 -05:00
Paul Davis
a81bfbfc41
use Tracks' MainMenuDisabler during session lock (could be improved with more RAII)
2015-06-29 14:18:09 -04:00
Paul Davis
ee791f251a
make the quantize dialog persistent so that settings are retained
2015-06-26 12:47:11 -04:00
Colin Fletcher
94e4e2f55f
rename TempoMap::cut_time() to remove_time()
...
Everywhere else, 'cut time' has been renamed to 'remove time': for consistency,
rename this one remaining function to match.
2015-06-25 15:33:53 +01:00