d30266dfc3
use new record safe control in GUI
2016-05-31 15:30:45 -04:00
e0ff70cf86
first vaguely working version using PresentationInfo
...
remote control ID and "order keys" have been removed.
2016-05-31 15:30:42 -04:00
653ae4acd6
universal change in the design of the way Route/Track controls are designed and used. The controls now own their own state, rather than proxy for state in their owners.
...
Massive changes all over the code to accomodate this. Many things are not finished. Consider this a backup safety commit
2016-05-31 15:30:40 -04:00
nick_m
aad7b129b6
Tempo ramps - rename meter/tempo_section_at() -> meter/tempo_section_at_frame()
2016-05-27 23:38:18 +10:00
nick_m
baf8f37967
Tempo ramps - rename meter_at() -> meter_at_frame() & make the ticker slightly more efficient.
2016-05-27 23:38:17 +10:00
nick_m
074db3b861
Tempo ramps - more code consolidation wrt add meter/tempo.
2016-05-27 23:38:16 +10:00
nick_m
2d3d7a5355
Tempo ramps - fix ambiguous api, fix flickering tempo curves.
2016-05-27 23:38:16 +10:00
nick_m
618a391346
Preformance - reinstate EditorRegions::freeze_tree_model ().
2016-05-27 23:38:14 +10:00
nick_m
a53d94c3d0
Perfornamce - remove dubious optimisation.
2016-05-27 23:38:13 +10:00
nick_m
58d4889ad3
Tempo ramps - music-locked meters now use beats rather than pulses as their reference.
...
- fixes many problems with a non-zero audio-locked first meter.
2016-05-27 23:38:12 +10:00
nick_m
a2495cdff3
Tempo ramps - fix more namespace confusion
2016-05-27 23:38:10 +10:00
nick_m
5c6e18e6a0
Tempo ramps - remove the concept of bars from tempo sections.
...
- this helps where tempo and meter have a somewhat circular
dependency.
MetricSection now has a musical position expressed in beats (a double).
MeterSection still has a bbt, but it really isn't needed as we have
enough information to discover the number of bars at a given beat without it.
TempoSection now has a hack to enable loading of legacy sessions, which will
ultimately be a lot cleaner than the current code.
Removing bars from tempo sections also allows us to place them
at arbitrary frames (implemented here).
2016-05-27 23:38:09 +10:00
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
2074dbdbe2
freeze thread is not detached and needs to be joined
2016-05-24 03:33:11 +02:00
a232673454
make boost shared_ptr debugging a little easier to turn on/off
2016-05-07 13:36:04 -04:00
f148d70d41
batch remove tracks
2016-05-03 14:27:57 +02:00
8fe2a308a5
GUI updates for transient rework
2016-05-01 02:02:25 +02:00
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
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
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
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
05345048a6
insert time: remove pointless local variable
2016-02-06 11:23:16 +00:00
b69a980d3b
Make name of undo action for 'Remove Time' consistent
2016-02-06 10:21:44 +00:00
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
9e5b7db89f
first compiling, mostly working version of group controls changes
2016-01-22 11:58:31 -05:00
6ba6cce799
Refactor code into Editor::temporal_zoom_step_mouse_focus method
2016-01-21 11:25:56 +10:00
08cbe0532c
Refactor scrolling in Editor ruler canvas area into two utility methods
2016-01-21 11:25:56 +10:00
c6805c1454
Refactor scrolling track canvas in Editor class into two utility methods
2016-01-21 11:25:55 +10:00
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
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
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
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
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
f307080808
disable follow-edits with external sync #6577
2015-10-18 02:03:41 +02:00
38405fa210
fix crash on 2nd Lock
2015-10-07 15:50:55 +02:00
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
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
95df99e6d4
remove unused function
2015-10-04 17:53:02 +02:00
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
ebb43508f1
add new action and loop marker menu item for setting up loop record
2015-09-28 17:42:11 -04:00