Paul Davis
ab105314fb
when considering whether or not to autoscroll teh canvas, first translate allocation boundary into toplevel coordinates
2017-02-09 16:27:16 +01:00
Paul Davis
182cb89733
NO-OP: whitespace
2017-02-09 12:40:59 +01:00
Paul Davis
c816d34d68
explanatory comment and logic change to cover when we switch to the new session after save-as
2017-02-09 12:40:59 +01:00
Paul Davis
668d970dd0
always hide splash screen after save-as session switch
2017-02-09 12:40:59 +01:00
Paul Davis
5c26a21d49
NO-OP: whitespace
2017-02-08 22:24:17 +01:00
Paul Davis
aef942da1b
make rude alert buttons expand vertically to use all available space.
2017-02-08 22:23:43 +01:00
Paul Davis
675c59652c
NO-OP: whitespace changes
2017-02-08 20:00:49 +01:00
Paul Davis
b911303fdd
improved fix for #7208 , hopefully
2017-02-08 20:00:36 +01:00
Paul Davis
f4cb567fdb
use centralized SMF tempo method in both places where we show it
2017-02-08 19:07:28 +01:00
Paul Davis
234ea15499
do NOT remove tracks from selection during drag selection on the basis of geometry alone.
...
Membership of select-enabled route groups matters too.
2017-02-08 17:40:27 +01:00
Paul Davis
62995bd38d
stop a crash during selection
2017-02-08 16:27:36 +01:00
Alexandre Prokoudine
d806c973d6
Update Russian translation
2017-02-07 17:29:01 +01:00
Paul Davis
4aaf3fcb95
3 actions (trim-front, trim-back, set-sync-position) do not need to be region-selection sensitive.
...
They get regions via ::get_regions_from_selection_and_edit_point().
Many other editor operations need to be manually evaluated for this change, also.
2017-02-07 16:51:32 +01:00
nick_m
bd8ab472f5
tempo dialog uses three decimal places in numeric entry.
2017-02-07 23:31:40 +11:00
Ben Loftis
c59dded55d
Categorize the mixer actions.
2017-02-06 18:18:56 -06:00
Ben Loftis
d5f150b51b
Add several new categories and re-sort some keybindings so they display more nicely in html printout.
2017-02-06 18:05:53 -06:00
Ben Loftis
c3d8967870
Some tweaks to default keybindings:
...
* Moved some actions to match the file organization: actions are in the order they appear on a qwerty keyboard
* Removed actions for F1 and F2, these were hiding View actions
* Removed action H for hide, which was conflicting with play-selected-regions
* Moved the grouping of jump-to-mark actions into Moving the Playhead
2017-02-06 12:52:40 -06:00
Ben Loftis
cdab4c9906
Revert to allowing stacked layer region view for MIDI tracks, for now.
2017-02-06 12:52:40 -06:00
nick_m
931910b046
hotfix for cross-track dragging bug with music-locked regions.
2017-02-07 05:08:54 +11:00
nick_m
b24dd49c1a
update note length when dragging notes (over tempo change)
2017-02-07 03:10:02 +11:00
Paul Davis
edd1061c3d
save/restore VCA master state inside slaves, so that a reloaded session ends up back in the same state
2017-02-06 16:49:08 +01:00
nick_m
4161a60244
NoteDrag copy modifier detection is no longer explicit.
2017-02-07 01:56:47 +11:00
Paul Davis
ea2b00c263
unused code, showing basics of how to define a custom gtkmm-2.4 treemodel for stripables.
...
Not used because it turns out that the model in the GUI
needs to be based on axisviews, some of which correspond
directly to Stripables and some do not
2017-02-05 15:51:00 +01:00
nick_m
987c1cb94a
remove overzealous bounds check when dropping notes.
2017-02-05 05:26:18 +11:00
nick_m
5031bdcf10
midi note drags are music-based.
...
- wysiwyg (during drag) when dragging more than one note across
a tempo change.
- introduces a muscal equivalent of snap_delta (only used for
note drags atm)
- split earliest note in selection into a separate function
- MRV::copy_selection() returns the equivalent _primary note
to avoid offset hell.
- RV::snap_frame_to_frame returns a MusicFrame
- prevent note drag moving before region start.
2017-02-05 05:02:01 +11:00
John Emmas
fac04afbba
If 'MidiRegionView::find_canvas_sys_ex()' fails, make it return a boost::shared_ptr<> (rather than returning an int)
2017-02-04 16:14:56 +00:00
John Emmas
70e4bb30a0
'CheckMenuItem' conflicts with an item already existing in MSVC
2017-02-04 16:14:55 +00:00
Paul Davis
8e06f43f80
make more of an effort to ensure that the last element in Selection::tracks is the most-recently selected
2017-02-04 15:08:22 +01:00
John Emmas
efd859a0ee
Fix a crash in rhythm ferret if the relevant plugin couldn't be found for some reason
...
The crash was caused by not catching 'failed_constructor()' (which gets thrown in the c'tor for AudioAnalyser).
2017-02-04 12:58:33 +00:00
John Emmas
d1599abad3
Some paths weren't getting set up correctly for the MSVC build
...
Fortunately, only the VAMP_PATH was causing a problem. The others were only relevant for a Debug build
2017-02-04 12:54:19 +00:00
nick_m
f7b005ebf1
clean up patch change/sysex headers.
2017-02-04 22:57:36 +11:00
nick_m
2eca71e6f1
set sysex height & position on redisplay.
2017-02-04 22:57:36 +11:00
nick_m
3e4eaf3991
improve sysex data display.
...
- don't add a new SysEx canvas item every time we zoom or drag.
- speed up redisplay generally using PatchChange-like method
for finding items (find_canvas_sys_ex() in boost::unordered_map).
2017-02-04 22:57:36 +11:00
nick_m
52d3c2216d
more inconsistent menu item fiddling.
2017-02-04 22:57:36 +11:00
nick_m
1cfa6bd69f
more messing about with inconsistent menu state.
2017-02-04 22:57:36 +11:00
nick_m
f336f4e6d1
allow "Glue to Bars & Beats" in region menu to be in an inconsistent state.
...
- toggling an inconsistent lock style sets all selected regions
to AudioTime
2017-02-04 22:57:36 +11:00
nick_m
04c484089c
non-primary music-locked regions follow tempo changes while dragging.
...
- the contents still don't update but position is much
more wysiwyg.
2017-02-04 22:57:36 +11:00
nick_m
d38dc86380
rework RegionMotionDrag so that we can actually drag a region to zero.
...
- did this ever work?
2017-02-04 22:57:36 +11:00
nick_m
b04f89be51
make dragging a region from the list not crash.
...
- its still a fake event, but we can at least get the snap correct.
- playlist->add_region() parameters were whacky
(for Playlist::add_region_internal()?)
2017-02-04 22:57:36 +11:00
nick_m
970ed12fee
fix thinko wrt Drag::adjusted_frame()
2017-02-04 22:57:36 +11:00
nick_m
650c1381d4
setup_snap_delta() need only take a framepos_t.
2017-02-04 22:57:36 +11:00
nick_m
59daffea1d
rework snap
...
snap now fills in a struct (MusicFrame) which contins a snapped frame
along with a music divisor.
this gives useful information wrt magnetic snap which may or may not
have rounded to an exact musical position.
region position may now be set musically (using quarter notes for now).
this patch fixes several problems in the current code:
- dragging a list of music-locked regions now maintains correct
musical offsets within the list.
- splitting regions using magnetic snap works correctly (#7192 )
- cut drag should now work correctly with magnetic snap.
- musical length of split midi regions is no longer frame based.
2017-02-04 22:57:36 +11:00
Ben Loftis
306647b1d0
Tweak MIDI channel dialog layout.
2017-02-02 21:44:43 -06:00
Ben Loftis
bc79fc07ce
Remove redundant MIDI submenu. The items are now in the main menu.
2017-02-02 21:44:43 -06:00
Robin Gareus
f84cdb3381
fix crash when closing session w/action hooks
...
drop_callback() deletes the Callback itself (lua state is invalid)
2017-02-02 21:42:57 +01:00
Ben Loftis
b759bae0cd
Right-click on a VCA to assign it to the selected channels.
2017-02-02 11:02:10 -06:00
Paul Davis
71003b0235
toolbar building from file given by command line
2017-02-02 14:36:02 +01:00
Paul Davis
2283e3b6ce
canvas tester tweak
2017-02-02 14:16:27 +01:00
Paul Davis
c20ed6b9f6
toolbar creation from text files
2017-02-02 14:16:17 +01:00
Paul Davis
61138a9ef8
shorten enum/string for icons by avoiding Gtkmm2ext namespace
2017-02-02 14:09:42 +01:00