13
0
Commit Graph

11564 Commits

Author SHA1 Message Date
4d05af8e71 improve logic for region action sensitivity settings 2017-02-16 10:29:48 +01:00
nick_m
858e44745b fix constrained region drags across tracks (7242). 2017-02-16 08:57:03 +11:00
d463720b6d simplify arguments to Editor::sensitize_the_right_region_actions() 2017-02-15 20:07:49 +01:00
3d3f2a79f6 use leave/enter from track canvas to be the primary driver of region action sensitivity
This works for context menus also, because GTK sends us leave/enter notify
events when they appear.
2017-02-15 20:07:49 +01:00
0a41daa932 classify all region actions based on how they get a list of regions to operate on; use this in Editor::sensitize_the_right_region_actions()
There are still problems because actions like trim_front()
that use the edit point get the edit point with different
results than the code that sensitizes actions
2017-02-15 20:07:49 +01:00
2cc94f8880 tentative steps in trying to fix region action sensitivity 2017-02-15 20:07:49 +01:00
03dc458645 Separate MSB/LSB MIDI Bank select 2017-02-14 23:53:23 +01:00
8eff36913c Save/restore location clock mode
- save mode separately for Editor-sidebar and Location Window
- cache mode (multiple calls to set_session())
- fix restore: after creating the editor, instant_save() is called,
  potentially overwriting the previous value.
2017-02-14 17:15:16 +01:00
cf66f894bb NO-OP: whitespace 2017-02-14 15:46:37 +01:00
7330357e1c Reset window-size when switching between custom and generic plugin UI.
Both views have uncorrelated geometry, apply one size to the other
makes no sense and usually results in odd window sizes, particularly
for custom plugin UIs with aspect-ratio constraints.
2017-02-14 01:05:43 +01:00
ca65101e49 Clarify session property (now that there's an action) 2017-02-13 23:01:11 +01:00
65b38322db GUI action Transport/RecordCountIn 2017-02-13 23:01:11 +01:00
0f485ffd6b reinstate ensure-time-axis-visible after move-selected-tracks 2017-02-13 22:22:53 +01:00
bd7507590e new implementation of move-selected-tracks
This does not modify the editor treeview/treemodel at all
but instead works directly on the PresentationInfo order
data. Likely needs more testing etc.
2017-02-13 22:10:18 +01:00
0f7ccb8adb update email address 2017-02-13 22:10:18 +01:00
9ce55c1b3d remove unused background expose 2017-02-13 18:44:59 +01:00
4022b86be0 credit where credit is due 2017-02-12 11:59:53 +01:00
Hiroki Inagaki
5668f6b40e Update Japanese translation 2017-02-12 11:59:40 +01:00
08353095df This is the wrong approach to this problem.
Revert "3 actions (trim-front, trim-back, set-sync-position) do not need to be region-selection sensitive."

This reverts commit 4aaf3fcb95.
2017-02-09 17:03:42 +01:00
6e476c515d NO-OP: whitespace conversion 2017-02-09 16:27:34 +01:00
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
182cb89733 NO-OP: whitespace 2017-02-09 12:40:59 +01:00
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
668d970dd0 always hide splash screen after save-as session switch 2017-02-09 12:40:59 +01:00
5c26a21d49 NO-OP: whitespace 2017-02-08 22:24:17 +01:00
aef942da1b make rude alert buttons expand vertically to use all available space. 2017-02-08 22:23:43 +01:00
675c59652c NO-OP: whitespace changes 2017-02-08 20:00:49 +01:00
b911303fdd improved fix for #7208, hopefully 2017-02-08 20:00:36 +01:00
f4cb567fdb use centralized SMF tempo method in both places where we show it 2017-02-08 19:07:28 +01:00
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
62995bd38d stop a crash during selection 2017-02-08 16:27:36 +01:00
d806c973d6 Update Russian translation 2017-02-07 17:29:01 +01:00
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
c59dded55d Categorize the mixer actions. 2017-02-06 18:18:56 -06:00
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
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
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
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
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
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
70e4bb30a0 'CheckMenuItem' conflicts with an item already existing in MSVC 2017-02-04 16:14:55 +00:00
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
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
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
306647b1d0 Tweak MIDI channel dialog layout. 2017-02-02 21:44:43 -06:00
bc79fc07ce Remove redundant MIDI submenu. The items are now in the main menu. 2017-02-02 21:44:43 -06:00
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
b759bae0cd Right-click on a VCA to assign it to the selected channels. 2017-02-02 11:02:10 -06:00
71003b0235 toolbar building from file given by command line 2017-02-02 14:36:02 +01:00
2283e3b6ce canvas tester tweak 2017-02-02 14:16:27 +01:00
c20ed6b9f6 toolbar creation from text files 2017-02-02 14:16:17 +01:00
61138a9ef8 shorten enum/string for icons by avoiding Gtkmm2ext namespace 2017-02-02 14:09:42 +01:00
d9dc2592d0 include ArdourIcon in declared enums 2017-02-02 14:05:11 +01:00
82f104b8f0 use different source file for canvas tester 2017-02-02 13:29:17 +01:00
f50c99e2a9 additional commit for removal of TransportControllables 2017-02-02 13:05:05 +01:00
35f35ad662 ARDOUR_UI transport buttons should use ArdourButton::set_related_action().
I have no idea what I or anyone was thinking with the silly
TransportControllable nonsense, but it's all gone now.
2017-02-02 13:05:05 +01:00
693baa8430 GUI to select export session/snapshot name 2017-02-02 12:44:08 +01:00
9144cbe93a playing games with canvas (grid) test 2017-02-01 21:58:20 +01:00
33bd5b3939 use new Grid API 2017-02-01 21:58:20 +01:00
46041c0afa valgrind option (commented) for canvas tester 2017-02-01 21:58:20 +01:00
b4cc6083b6 more sophisticated canvas tester 2017-02-01 21:58:20 +01:00
52718b3411 some initial bits of work on canvas allocation 2017-02-01 21:58:20 +01:00
6e09e72f11 Skip no-change re-ordering of tracks/busses
e.g. move top-most track up, bottom-most track down.
2017-01-31 20:42:33 +01:00
353eb5601c Don't allow to select VCAs in the route-list 2017-01-31 20:42:33 +01:00
92e02707a4 Potential clock info-text color-glitch fix <span color>
Don't switch between set_text() and set_markup(); always use markup because
set_markup() modifies the attribute list of the pango-layout.

This might fix: "Switch Int. clock to MTC and back to Int. and the
indicator redraws with improper colors"
2017-01-31 11:44:40 +01:00
b157034e83 Prefer General MIDI Synth as default instrument 2017-01-30 16:42:11 +01:00
f2a9c5f625 prevent crash when deselecting track from mixer.
Need to defer PresentationInfo::Change till after we're done
changing our own cached set of axis views
2017-01-30 12:55:43 +01:00
366a247306 left/right align mixer-strips 2017-01-30 11:47:06 +01:00
nick_m
ab052d0565 speed up midi ghost region update
- as MRV removes invalid notes from the GR, we
	  can simply update all events after checking vertical visibility.
2017-01-30 01:46:38 +11:00
d29f6bde5e prevent suggestion that MIDI tracks can be set to stacked view 2017-01-29 15:03:29 +01:00
34da2896c6 Keep tracks visible when re-ordering them in the editor 2017-01-29 09:34:09 +01:00
007ad4e334 fix up default key bindings to use correct binding groups after recent Editor -> Common migration 2017-01-28 21:32:00 +01:00
806bfeced7 more modified key bindings 2017-01-28 18:51:03 +01:00
80ee2f2c4d move 10 more actions from Editor/* to Common/* 2017-01-28 18:51:03 +01:00
3346c69f2d two more modified key bindings 2017-01-28 18:08:39 +01:00
7835a8d9e1 change default keybindings for those using actions just moved from Editor/* to Common/* 2017-01-28 18:06:42 +01:00
3c2e69ea42 move 15 actions out of Editor/* namespace, and into Common/* 2017-01-28 18:02:28 +01:00
570b921e47 further improvement to Mixer_UI::move_stripable_into_view() 2017-01-28 17:08:40 +01:00
c98abcf293 improve the behaviour of Mixer_UI::move_stripable_into_view()
Don't change anything if the strip is visible; if we have to move to show it, try
to show the requested strip in the middle
2017-01-28 16:48:20 +01:00
c786328966 use VCA full name in strips and track headers 2017-01-28 16:06:44 +01:00
415c841645 more consisten code to set menu item name from VCA name 2017-01-28 13:04:32 +01:00
Ed Ward
c0c13d7c45 Patch to bug 0007204 : Some options in the Group List context menu are not working 2017-01-28 13:04:32 +01:00
0092442a64 mark loop button insensitive when there's no loop-range 2017-01-28 12:05:50 +01:00
5a6ddb034e ensure mixer shows a recently selected strip
This doesn't guarantee that is it the MOST recently selected strip
2017-01-28 11:46:04 +01:00
c5047ec431 ensure that most recently stripable is visible in editor 2017-01-28 11:31:11 +01:00
5ba85b0850 end of selected tracks list is the most recently selected 2017-01-28 11:20:24 +01:00
08bca2a07d minor logic changes to editor selection
Prevent mulitple PresentationInfo::Change signals if toggling several
tracks
2017-01-28 11:20:05 +01:00
8ca53c4497 make editor respond to track seleciton change again 2017-01-28 11:16:50 +01:00
cc82fc675b remove editor/mixer selection change signals; make editor and mixer use PresentationInfo::Change more correctly; make Selection a bit smarter when setting track selection 2017-01-27 22:17:53 +01:00
155b1dc4c8 remove debug output/ifdef 2017-01-27 22:17:53 +01:00
e5aa0d774e use RAII for class-wide PresentationInfo::Change signal, along with properties to describe what changed 2017-01-27 22:17:53 +01:00
nick_m
0938b6a9c1 add undo for changing marker lock style from menu 2017-01-27 03:39:33 +11:00
nick_m
7b9784fff4 mark session dirty when dragging tempo markers. 2017-01-27 03:05:32 +11:00
nick_m
86a471f93f MidiGhostRegion micro-optimisation. 2017-01-27 00:58:09 +11:00
nick_m
e7415c6619 MidiRegionView::redisplay_model() - code cleanup 2017-01-27 00:56:39 +11:00
7ef09f98ff Fix mixer continuous multi-selection
Shift+select needs to iterate over strips as they are visually ordered.
(Previously the order of adding/loading strips was used)
2017-01-26 14:08:58 +01:00
6de15a79cf improve range drag semantics
If a track is selected during the drag (by moving the mouse pointer into a new track), but it was not
selected at the start, and is then de-selected (by moving the mouse back out of it), then remove
it from the selection.
2017-01-25 21:46:24 +01:00
6a823402e6 This turns out to have been a band-aid over a deeper issue in libcanvas, fixed
in commit 49422aa89

Revert "fix an issue with selection rects not being redrawn correctly"

This reverts commit fa1a7ae9b9.
2017-01-25 16:54:48 +01:00
fa1a7ae9b9 fix an issue with selection rects not being redrawn correctly 2017-01-25 16:47:42 +01:00
8432a77329 MIDI note copy needs to adjust pitch of new notes before adding them 2017-01-24 23:07:27 +01:00
f2c31a3098 re-fine preferences dialog part 13 of 27 (probably):
* expose try-autostart engine
* move Session settings to sub-menu (general was getting to large)
2017-01-24 17:35:07 +01:00
5c9a5e3362 styleguide #6 2017-01-24 13:47:01 +01:00
Daniel Sheeler
33c74357f0 Meter point toggle button now uses a popup menu instead of toggling 2017-01-24 13:38:23 +01:00
47de9314cc suffix region gain to TAVitem name 2017-01-24 13:37:20 +01:00
8dedea5ffa implement copy-drag for MIDI notes.
Probably some corner cases to be fixed, but pretty functional and largely modelled
on existing code (paste, drag, step add note etc.)
2017-01-23 21:58:02 +01:00
4333a80cb2 make undo/redo work for Regions > Edit > Close Gaps 2017-01-22 22:16:08 +01:00
Hiroki Inagaki
5a5ed37384 Update Japanese translation 2017-01-22 22:03:55 +01:00
50b25571bc consistent capitalization 2017-01-21 23:29:08 +01:00
198ba51c3a ardour runs fine in rr version 4.4.0, add scripts 2017-01-21 23:10:33 +01:00
da081e0108 parse modified-with for up to 5 snapshots. 2017-01-21 13:00:07 +01:00
10d87ceb83 Don't inhertit "last modified" for snapshot 2017-01-21 12:51:10 +01:00
d9a4d03c94 Translatable Metronome tooltip, formatting and typo fix. 2017-01-21 01:46:40 +01:00
Daniel Sheeler
e315b25eb3 Update metronome tooltip on gain change 2017-01-21 01:38:53 +01:00
d4c48390cc Show last modified in recent-list 2017-01-21 01:19:24 +01:00
0808b87138 Add GUI part to immediately fan-out multi-out instruments on track creation 2017-01-21 00:40:18 +01:00
7960e1ddbf GUI follow up for new-MIDI-track API change 2017-01-20 21:47:09 +01:00
17881b3221 update UI, new info API, display created_version in tooltip 2017-01-20 18:16:32 +01:00
6d4fc96f0b Elaborate valgrind options 2017-01-20 13:54:15 +01:00
3dbdc4d837 Leave some notes about memory-leaks 2017-01-20 13:54:12 +01:00
d6106b22cb Breathe at exit: allow event-loops to clean up 2017-01-20 13:53:53 +01:00
c6a7c9417e Plug some mixer memory leaks 2017-01-20 13:53:45 +01:00
1d2a76f239 Free some one time alloc of the UI (cleaner valgrind output)
No incremental leaks here..
* downcase (const char*) uses strdup, caller needs to free
* free allocated cursors when the editor is destroyed
* drop static editor lua-instance & bindings
* delete allocated gtk image/icons
2017-01-20 13:53:37 +01:00
a8afe7faab Remove cruft 2017-01-20 11:43:42 +01:00
aaf441d18f Fix metronome level preference display
click-level fader is not a component added to the top-level, the page
intercepts the parameter_changed signal
2017-01-19 19:27:44 +01:00
e35f11e515 Allow to change metronome level via mouse-wheel 2017-01-19 19:12:25 +01:00
92115dc3ea Update monitor section controls when channelcount changes 2017-01-19 16:29:29 +01:00
425cdb7e48 GUI: use new preroll-rec + trim mode 2017-01-19 13:05:54 +01:00
ebdf3de598 Remove rec-with-preroll, prepare for rework 2017-01-19 13:05:54 +01:00
22eae69078 Remove Editor API to calc preroll duration 2017-01-19 13:05:54 +01:00
7939c2211c Add comment regarding themeable boxes 2017-01-18 18:28:21 -06:00
09e15909e0 Tweak some tooltip text. 2017-01-18 18:25:25 -06:00
45622aff48 Allow editor toolbar and background to be themeable. 2017-01-18 18:25:25 -06:00
f6061b32b2 fix code for ArdourButton so that an existing translation component to the cairo transformation matrix is honored correctly 2017-01-19 00:24:54 +01:00
ef64c7ba19 Promote the preroll_seconds config option to include musical time:
Interpret negative preroll time as bars
2017-01-18 23:47:50 +01:00
d650b3c292 prepare for musical-time preroll 2017-01-18 17:31:42 +01:00
6a486c0bf5 tweak table packing for more consistent spacing between buttons. 2017-01-18 10:33:38 -06:00
bc9b2f01f3 Shuffle the layout of new monitor section, so it is recognizably different than punch section; Standardize the button heights. 2017-01-18 10:33:38 -06:00
645402bc42 Add GUI action to record with preroll 2017-01-18 15:16:05 +01:00
cf31233cd1 Cleanup global monitor options:
- rely on parameter-changed signal emission to update buttons
- use dedicated button/style names
- improve tooltip
2017-01-18 12:25:02 +01:00
48da03e301 push sorted Stripable order back to PI (for control surfaces) 2017-01-18 05:14:48 +01:00
e8a4fe49b9 Add session option to enable count-in 2017-01-17 20:44:50 +01:00
b4ecb2525c Fix a -Wreorder 2017-01-16 22:30:39 +01:00
a9f0e218f5 Prepare generic spill ([mix]busses) 2017-01-16 22:30:26 +01:00
17d54a0d1c Configurable toolbar rec/punch & monitoring buttons 2017-01-16 21:58:53 +01:00
cf5a0de709 Add initial GUI support for global monitor states 2017-01-16 19:54:42 +01:00
1e03ad7336 setlocale(LC_MESSAGES) isn't valid when building with MSVC
In fact AFAICT it isn't supported by MinGW either (I've a feeling it probably isn't valid on Windows at all).
2017-01-16 13:44:23 +00:00
Hiroki Inagaki
777647259e Add Japanese translation 2017-01-15 15:37:38 +01:00
1570b6c088 consolidate --help text, allow to generate man page. 2017-01-14 23:07:44 +01:00
058f1cf9e1 Fix editor-mixer update when deleting a Route before a VCA
When deleting the last track before a VCA, on-delete the editor-mixer
switches to display the next TAV.  If that turns out to be a VCATAV,
the editor-mixer will ignore it and keep displaying the deleted route,
holding a shared pointer reference (ports won't be dropped, etc etc).
2017-01-13 08:43:18 +01:00
7841a75618 update alternate themes with automation-line-fill opacity 2017-01-12 15:21:21 -06:00
a869b39cd9 allow automation line fill opacity to be theme-able 2017-01-12 15:21:21 -06:00
008e51ed03 Minor tweak to bindings editor layout 2017-01-12 20:53:20 +01:00
d36f19ded9 Display name of conflicting keyboard binding 2017-01-12 20:53:20 +01:00
abe093dcc9 rename Bindings -> Keyboard Shortcuts 2017-01-12 11:51:43 -06:00
75c029f65f Support repeated jump-backward-to-mark while playing. 2017-01-12 11:51:43 -06:00
1e30ec7286 Add some explanatory text to the Quirks settings 2017-01-12 11:51:42 -06:00
8dff52ce01 Show plugin format in menu lists. Particularly important on Mac, where you might have both AU and VST formats of a plugin 2017-01-12 11:51:42 -06:00
c6464e9c34 Move some actions into the global group:
This allows common keyboard shortcuts from any Tab (Editor, Mixer).
Discuss: should those actions/methods also be moved to ArdourUI instead of
PublicEditor?
2017-01-12 18:22:56 +01:00
90202f7675 coverage frames must still be deleted when switching back to Overlay mode 2017-01-11 11:43:44 +00:00
d1e7a5bd1c Windows/Videotimeline: support all drives (no fixed docroot/drive-letter) 2017-01-11 03:55:04 +01:00
bbd7b2aeea Prepare for windows video support on all drive-letters.
* add harvid version detection (>= 0.8.2 is needed)
* special case empty docroot (for windows, pass drive-letter)
2017-01-10 22:38:43 +01:00
9ddf80225b Tweak TMM tooltip 2017-01-10 18:25:02 +01:00
522827577e Shrink preferences window when detached 2017-01-10 18:25:02 +01:00
7551f6941f never remove tracks from selection during a range drag 2017-01-10 15:18:00 +00:00
b64dcbb36f correctly display region sync points in the editor region list, when they change 2017-01-10 10:26:23 +00:00
1587364f8d avoid locate when clicking in region fade handles in smart mode+follow edits 2017-01-10 09:53:28 +00:00
82bea45b2b add some preference tooltips and related code consolidation 2017-01-10 10:39:22 +01:00
c906a59a3c Fix spacing for TC display 2017-01-10 10:39:22 +01:00
86e46ae41d Better fix for widgets that do not apply to master bus: leave them in place, but insensitive, to retain layout 2017-01-09 19:41:31 -06:00
69d043766f Revert "Remove the Solo+Iso buttons in the Master bus."
This reverts commit 7f280e2bed.
2017-01-09 19:07:36 -06:00
d3f2451ad0 Fix mixer scrolling 2017-01-09 20:14:44 +01:00
7f280e2bed Remove the Solo+Iso buttons in the Master bus. 2017-01-09 08:17:38 -06:00
fa828e0385 clamp values appropriately in AutomationLine::view_to_model_y()
Before this, drags from one automation track to another could add illegal/stupid values to an automation line. Presumably there needs to be another bounds check in ControlList
2017-01-09 12:41:49 +00:00
ef184b54f2 use reduced height for automation lines when firrst added, not just after a resizing 2017-01-09 12:29:24 +00:00
0006b50cec Tweak Preference label 2017-01-08 17:49:03 +01:00
94a57e64f6 fix route ordering (and related possible crash on re-order) 2017-01-06 18:41:51 +01:00
nick_m
2ca06335f7 amend 4cb009058 (if newly active tempo became last it had no curve) 2017-01-07 03:39:24 +11:00
nick_m
d855ad2856 rename TempoSection::c_func() -> c(). ensure constant tempi have this set to 0. 2017-01-07 01:27:06 +11:00
nick_m
4cb0090583 fix some inactive tempi bugs
- no tempo curve for inactive tempi

	- inactive and meter-locked tempi cannot be deleted.
2017-01-07 01:12:09 +11:00
bdb8cce6e3 Revert transport frame color in Ardour. But now its theme-able for those who are interested. 2017-01-05 17:41:40 -06:00
a5e0f1ff10 make entire transport bar have its own background, specifically themeable 2017-01-05 22:22:14 +00:00
ca9caa0394 Tweak spacings and layout of the Tempo+Meter dialogs. 2017-01-05 14:50:57 -06:00
7b3579bd4d Un-bunch the bunched-up Keybindings editor widgets. 2017-01-05 14:31:27 -06:00
58466b9019 disallow mini-timebar navigation when recording 2017-01-05 17:48:03 +01:00
1de2afa6c3 VCA number-label: match track/bus header behavior 2017-01-05 17:13:33 +01:00
4c7fcc11f7 Attempt to lighten the transport area slightly. A little help needed here, Paul 2017-01-05 10:01:22 -06:00
nick_m
fb91e62d4b tempo dialog disallows changing bbt position of a meter-locked tempo. 2017-01-06 02:56:01 +11:00
nick_m
3060a458eb allow importing tempo maps at selected position. 2017-01-06 02:14:17 +11:00
05c2e4ef9b Modify playlist option labels in Duplicate Track/Bus dialog
To indicate it is only copying the current "active" playlist and not all
playlists as discussed on IRC some time ago.

Resolves: #7149
2017-01-05 23:16:27 +10:00
Olivier Humbert
53a87b240b One more fix. 2017-01-05 09:31:09 +00:00
Olivier Humbert
c78aa84995 Another fix. 2017-01-05 09:31:09 +00:00
Olivier Humbert
777266f220 French translation update 2017-01-05 09:31:09 +00:00
Olivier Humbert
30f6467432 another fix 2017-01-05 09:31:09 +00:00
Olivier Humbert
3d3b44aec4 fixes 2017-01-05 09:31:09 +00:00
Olivier Humbert
5d822f5d0f French translation update 2017-01-05 09:31:09 +00:00
Olivier Humbert
4396e8c22c French translation update 2017-01-05 09:31:09 +00:00
cooltehno
dd305ee819 Update cubasish-ardour.colors 2017-01-05 09:26:54 +00:00
cooltehno
fa853265e8 Update clear_gray-ardour.colors 2017-01-05 09:26:27 +00:00
cooltehno
172829a239 Update caineville-ardour.colors 2017-01-05 09:26:09 +00:00
cooltehno
827f6e1357 Update blueberry_milk-ardour.colors 2017-01-05 09:25:42 +00:00
Edgar Aichinger
805e40741f some german translation improvements 2017-01-05 09:22:09 +00:00
30ca09ca88 make status bar themeable 2017-01-04 23:12:34 +00:00
nick_m
b95ab61ce9 allow import of Beethoven's fifth.
- more popular tunes to follow.
2017-01-05 03:49:59 +11:00
9bbcc0e5d9 File [MIDI] display preference under Appearance 2017-01-04 14:17:35 +01:00
nick_m
31ef417cfe fix import of multiple time signatures. 2017-01-05 00:13:43 +11:00
5fac2c66c9 fix memory corruption any time a SysEx display object is deleted 2017-01-03 22:10:05 +00:00
977cabf54a fix color file installation 2017-01-03 17:35:05 +01:00
nick_m
9e9f99f004 note display performance.
use boost::unordered_map as a note store for ghost & midi region
	views.

	as per otiginal method, only notes within regoin bounds are stored.
2017-01-04 00:19:31 +11:00
1bf0ed533d Update links to preference pages 2017-01-03 10:05:05 +01:00
2721337752 s/GUI/Appearance/ -- part twelve of expected 27 prefs updates 2017-01-02 20:23:03 +01:00
eb06a980c2 Move items not relevant for appearance out of "GUI" preferences 2017-01-02 20:15:34 +01:00
eae6593a7e fix VCA vertical alignment 2017-01-02 17:41:15 +01:00
efd8402502 allow to shrink mixer left-side pane 2017-01-02 17:16:29 +01:00
891ea062fc remove VCA title/heading (increases min width) 2017-01-02 17:16:11 +01:00
f1abc95927 Only display pull-up/down if it's being used. 2017-01-01 16:14:59 +01:00
607e7f3b9e Fix flat buttons for the shuttle-ctrl 2016-12-31 20:57:07 +01:00
ff2f224d0c Add keyboard option reset 2016-12-31 19:36:15 +01:00
1115c26e17 re-fine preferences dialog part eleven of 27 (probably) 2016-12-31 15:20:07 +01:00
c1f47ae031 Prefs treeview borders 2016-12-30 18:44:33 +01:00
e122506c91 re-fine preferences dialog part ten of 27 (probably) 2016-12-30 18:29:15 +01:00
3afe3f32df Remove cruft (old MIDI feedback API) 2016-12-30 17:29:08 +01:00
a2bf54c041 re-group preferences part eight and nine of 27 (probably) 2016-12-30 17:04:50 +01:00
16e4333ad6 re-group preferences part seven of 27 (probably) 2016-12-30 15:45:53 +01:00
c2bb6bcafd re-group preferences part six of 27 (probably) 2016-12-30 15:26:00 +01:00
nick_m
4d274cbf26 fix bug where hidden ghostregions were updated. 2016-12-30 20:40:48 +11:00
bde3010be7 Removed the the 2016-12-30 04:12:46 +01:00
a19a681f9e Clarify some more preferences 2016-12-30 03:39:15 +01:00
064e5219d4 Less verbose phrasing for prefs. 2016-12-30 02:54:34 +01:00
1d431bf6c4 Left align notes in Preferences. 2016-12-30 02:33:27 +01:00
c67e831597 Tweak some open labels 2016-12-30 02:33:11 +01:00
4225560360 re-group preferences part five of 27 (probably) 2016-12-30 01:50:40 +01:00
0b40535e9a re-group preferences part four of 27 (probably) 2016-12-30 01:17:05 +01:00
bde08c9d22 re-group preferences part three of 27 (probably) 2016-12-30 00:50:48 +01:00
84802c9be6 Some more Spinbox size updates 2016-12-30 00:23:05 +01:00
f114a20aa9 Shrink some spinners 2016-12-30 00:12:25 +01:00
d89db694cf re-group preferences part two of 27 (probably) 2016-12-30 00:12:11 +01:00
0abc970ced re-group preferences part one of 27 (probably) 2016-12-29 23:34:51 +01:00
a3b72d52a6 Consistent Session Props Dialog Layout 2016-12-29 23:18:53 +01:00
8b8f705520 Fix updates of region-color 2016-12-29 23:06:15 +01:00
30c785dc37 Turn Theme Manager into an OptionEditor (no direct use of Gtk) 2016-12-29 23:06:15 +01:00
1d97a0fb3e Consolidate Preferences/OptionEditor 2016-12-29 23:06:15 +01:00
nick_m
5091a04362 another small improvement to MGR::add_note() performance. 2016-12-30 02:21:12 +11:00
nick_m
52275254a7 allow the use of static_cast for MGR ghost events (speeds things up a bit). 2016-12-30 01:55:41 +11:00
nick_m
e58fda2fa2 minor MidiRegionView::redisplay_model() cleanup 2016-12-30 00:46:43 +11:00
nick_m
68ca289b92 retain note selection for invalidated notes. 2016-12-30 00:40:20 +11:00
nick_m
f4b3133035 more note performance work (dereference less). 2016-12-29 23:22:06 +11:00
nick_m
149cb402b9 revert 7805217b5 (make note mode change work again). 2016-12-29 23:15:35 +11:00
f6e44ce3b5 Remove "Feedback" from Preferences Ctrl Surface pane. 2016-12-28 23:02:38 +01:00
5860911eb2 Further preference-dialog re-layout work in progress.. 2016-12-28 22:19:37 +01:00
4a0edd68e2 Add Scrollbar to MIDI Port Option List 2016-12-28 22:19:37 +01:00
d166fbc62d NO-OP: whitespace 2016-12-28 22:19:37 +01:00
f2e00dfe07 Prefs Dialog: consistent headings, spacing, reduce width,.. 2016-12-28 22:19:37 +01:00
9b9cb4beaa Pack Color Theme Manager as Box - consistent spacing 2016-12-28 22:19:37 +01:00
nick_m
d49b141e11 improve the performance of MidiRegionView::find_canvas_patch_change().
- also fixes patch changes appearing outside region bounds
	  when copied/trimmed.
2016-12-29 04:21:37 +11:00
nick_m
cee85c34b2 add preference for showing non-quarter note tempi (Misc subsection Tempo). 2016-12-29 03:46:25 +11:00
nick_m
3c3cdd1cbe tempo dialog shows note type on first row where applicable. 2016-12-29 03:44:19 +11:00
nick_m
7805217b5f don't clear note items in MidiRegionView::display_model().
- redisplay_model() does this for us.
2016-12-29 02:39:57 +11:00
nick_m
cee7e0cb53 improve MidiGhostRegion::find_event() performance (end is quite common). 2016-12-29 02:36:58 +11:00
nick_m
d0580ecfbc allow all types of range location (loop, start, end etc.) to be glued to bars and beats. 2016-12-29 01:39:31 +11:00
0869aa0f6c Add Locale config preferences and rearrange UI prefs 2016-12-28 13:38:49 +01:00
4c0ce20941 Allow fine grained control over locale 2016-12-28 13:38:49 +01:00
6d566c9fe0 Correct a namespace typo 2016-12-28 09:20:39 +00:00
9740fb7d76 Move a forward declaration (for class ArdourVSpacer) so that MSVC can also use it 2016-12-28 09:16:12 +00:00
f76e8868ef Add GUI support to extract and open session-archives 2016-12-27 22:25:22 +01:00
e71ea821dd Enable session-archive feature 2016-12-27 18:33:47 +01:00
nick_m
5bada6d533 fix leak in MGR _note_group 2016-12-24 02:14:43 +11:00
nick_m
da92d2d764 speed up load/quit for sessions containing ~25k events.
- MGR uses a _note_group to hold events.

	- MRV & MGR delete canvas notes directly from their note group.

	- sysex is untested (it uses MRV note group).
2016-12-24 02:01:37 +11:00
nick_m
0e8852963e shave another line from MidiGhostRegion::clear_events(). 2016-12-23 23:33:13 +11:00
nick_m
4c12df6cf3 fix thinko in previous commit. 2016-12-23 23:24:54 +11:00
nick_m
efacbb1485 possibly faster way to clear ghost events. 2016-12-23 23:03:22 +11:00
nick_m
cb2bbb87d7 slight speed improvement on GhostEvent ctor. 2016-12-23 22:20:08 +11:00
nick_m
7bf3345ada remove double check for note range in MGR::update_note/hit() 2016-12-23 22:18:43 +11:00
a6b4d8b8c6 fix editor sidebar show/hide with embedded TimeInfo 2016-12-23 03:56:01 +01:00
nick_m
1e487d59d1 MidiGhostRegion::update_contents_height() is only about height (again). 2016-12-23 05:44:29 +11:00
nick_m
ddd085cf4e hide ghost events appropriately (e.g. after split). 2016-12-23 05:07:22 +11:00
nick_m
37e858da7d only update GhostEvents on visible trackviews.
- this requires that MidiGhostRegion::update_contents_height()
	  also controls visibility.
2016-12-23 02:55:51 +11:00
nick_m
96048ad4c0 midi scrooming performance updates.
- MGR visibility is handled by update_note/hit()
	  MRV unconditionally updates MGR events
	- remove MidiGhostRegion::update_range()
	- rename set_contents_height -> update_contents_height
2016-12-23 00:51:34 +11:00
nick_m
ebf60feb13 remove wtfery in MidiGhostRegion ctor 2016-12-23 00:41:25 +11:00
Nil Geisweiller
6431c4a6d9 More 8 whitespace to tab indentation fixes 2016-12-22 14:20:13 +02:00
74f1140e46 show VCA color on number label 2016-12-22 02:00:55 +01:00
851cdf26c9 Display VCAs at the end of the Track/Bus list 2016-12-22 01:38:55 +01:00
7f88207b43 spill chained VCAs 2016-12-22 01:05:53 +01:00
b315ff531e amend 91321272b 2016-12-21 23:36:00 +01:00
Nil Geisweiller
4c66e36b91 Fix indentation 8 whitespaces to tab 2016-12-21 23:09:40 +01:00
91321272b5 Add option to hide the 2ndary clock 2016-12-21 23:04:15 +01:00
nick_m
05c3850ac1 GhostEvent wrangling.
- update_range() solely looks after visibility.
	- update_note/hit() positions both x and y using code stolen from
	  update_range()
	- add update_contents_height() for when we just change the GR height.
	- find_event() is now used rather than map::find()
	- use temp canvas items to avoid constructor overhead.
2016-12-22 04:41:25 +11:00
nick_m
e75788614a use map::find in the currently unused MidiGhostRegion::find_event()
- the next one is still often the one we want.
2016-12-22 04:41:25 +11:00
nick_m
2000349e69 revert b330a8a0ce 2016-12-22 04:41:25 +11:00
98c0adda49 Fix crash when resetting all peak-meters with VCAs. 2016-12-21 15:15:06 +01:00
nick_m
b330a8a0ce improve scroomer performance.
- MRV will redisplay the model on scroom, so there is no need
	  to update the range as well.
2016-12-21 23:43:05 +11:00
63e89b2090 'Rect' is ambiguous (also defined in MacTypes.h) 2016-12-21 13:21:54 +01:00
0053abbaae backport/minimize difference to mixbus branch 2016-12-21 12:14:44 +01:00
a18c13cf21 Don't try to scroll to stripables on different panes 2016-12-21 10:59:58 +01:00
f3ac0929aa Mini-timeline: honor left/right scroll 2016-12-21 03:53:45 +01:00
45eff0fa9f Properly calculate VCA bottom padding & align fader 2016-12-21 03:53:45 +01:00
259c47c2de Align mon-section bottom button 2016-12-21 03:53:45 +01:00
36c34330b2 Vertically line up mixer strip (backport from Mixbus) 2016-12-21 03:53:45 +01:00
deb059ff0d Fix Ardour Editor-button height 2016-12-20 19:01:59 +01:00
0c0ebccdf7 Fix Mixbus Editor-toolbar icons & height 2016-12-20 18:48:10 +01:00
b9e8b5940b Fix Dropdown w/icon size and alignment 2016-12-20 18:48:10 +01:00
nick_m
bf75770939 use a map to find GhostEvents by a pointer to Note. 2016-12-21 03:30:32 +11:00
nick_m
eecc9ed743 fix various midi display bugs introduced by 9038be49d8. 2016-12-21 03:18:18 +11:00
1a500bc00b Don't redraw hidden toolbar elements 2016-12-20 12:34:40 +01:00
1e2bdeb014 Limit max height of PinDialog -- fixes #7177 2016-12-20 12:34:40 +01:00
719250ab56 remove debug output 2016-12-20 12:34:40 +01:00
8b5533478f This commit breaks generic GUIs for many LV2 plugins.
Revert "Add checks for supported variant types"

This reverts commit 00ed7c81d3.
2016-12-20 11:33:30 +00:00
nick_m
9038be49d8 improve midi zoom/scroom performance with lots of notes.
- mostly due to searching a multiset rather than a list of
	  canvas events.
2016-12-20 21:31:54 +11:00
ba970cc191 Rearrange LTC preference entry 2016-12-20 10:51:04 +01:00
Hanspeter Portner
00ed7c81d3 Add checks for supported variant types
Add checks for supported variant types in 'build_control_ui'.
2016-12-20 09:07:50 +00:00
1fbc9aaa69 add tooltip to mini-timeline 2016-12-20 03:59:15 +01:00
da4d29401a fix mini-timeline marker-prelight 2016-12-20 03:59:15 +01:00
73ad6b3766 Allow to customize parts of the main toolbar 2016-12-20 03:59:15 +01:00
f6dc24b901 Prepare for re-use of TimeInfoBox w/o punch-clock 2016-12-20 03:59:15 +01:00
6ebf14c2c2 Fix the case of jump-to-next{prev}-Mark. 2016-12-19 17:25:59 -06:00
05119ae3ee Change default binding of left+right arrow keys to jump by Grid setting. 2016-12-19 17:25:59 -06:00
58124e7544 Don't dynamically allocate ShuttleCtrl
With manage() both the button and shuttle were free'ed when the table
was destroyed.
2016-12-20 00:20:00 +01:00
f5c5a9c72e small fix for italian (#7180) 2016-12-19 22:37:13 +00:00
2561b98f8a Move shuttle/speed text outsize 2016-12-19 22:11:53 +01:00
efd55f7526 Fix a leftover from 3e214e (Follow Range behavior). 2016-12-19 14:10:58 -06:00
386a1ed96e Separate is an Editor action (like Delete), not a Region action. 2016-12-19 14:08:23 -06:00
3e214eb4ea Tweak behavior of Play-With-Preroll action 2016-12-19 13:14:44 -06:00
628c99d555 Follow Edits => Follow Range
* "Follow Edits" button had several behaviors that confused users.
* "Follow Range" only has 2 behaviors:
** Click anywhere in Range mode (or Smart mode) to locate the playhead.
** When you select a Range, "Play" will play the selected range.
2016-12-19 13:14:44 -06:00
267dd5edd9 update mini-timeline to immediately display tempo-map changes 2016-12-19 19:25:14 +01:00
a5f61340ef Show relevant preferences on sync-button right-click 2016-12-19 19:21:38 +01:00
d82abddfff cont'd work on mini-timeline:
* add context-menu to configure visible time-span
* prelight markers on mouse-over
* constrain active click area (mouse-up)
* change scroll-event granularity: multiple of configured span.
2016-12-19 19:12:13 +01:00
ae6a5c95d7 update canvas test tool 2016-12-19 13:38:05 +01:00
b47bfc0121 Update Marker display style: consistent height & color 2016-12-19 13:27:22 +01:00
7ad62ffbed Ruler labels should be normal weight. 2016-12-18 20:13:38 -06:00
f3430409a6 Consolidate clock bg colors to use the same dark grey 2016-12-18 19:51:43 -06:00
61470b3df1 Consolidate green clock colors to use the same green 2016-12-18 19:36:32 -06:00
b44889a55b Reinstate spacer between Punch In,Out. 2016-12-18 17:14:02 -06:00
25bb0873b9 Clean up Clock Tempo, TimeSignature labels 2016-12-18 23:41:42 +01:00
aec3b5d4ad Have the computer count columns for us. 2016-12-18 23:20:14 +01:00
bd0fc8cafc Shorten sync-button label/size 2016-12-18 23:17:29 +01:00
2cb9f4167a fix table layout typo 2016-12-18 22:59:17 +01:00
27415486fc fix blank mini-timeline 2016-12-18 22:58:19 +01:00
1bc0f9a178 consolidate mini-timeline code, latch expose 2016-12-18 22:21:10 +01:00
06938105a4 Simplify spacer code 2016-12-18 21:39:36 +01:00
dae2dcd53e Transport Layout: horizontal separator makes it look too busy. Commented out for now. 2016-12-18 13:47:14 -06:00
ab37491614 repack widgets, and add some spacer elements 2016-12-18 13:34:15 -06:00
0a5236266d Add clock-button tooltips 2016-12-18 19:23:12 +01:00
5b80a6ba04 Tweak Tempo and Meter precision, and shorten the label to accomodate 2016-12-18 18:58:56 +01:00
89b9456024 Revert mini-timeline marker drawing to before 448f921d 2016-12-18 18:18:11 +01:00
76c3337159 consistent size of sync-button 2016-12-18 18:18:11 +01:00
nick_m
5f94259075 show all parameters when adding a meter via the tempo dialog. 2016-12-19 04:15:46 +11:00
nick_m
d4f7f5ffa2 TempoMap - rename some methods.
gui_move_tempo   -> gui_set_tempo_position
	gui_move_meter   -> gui_set_meter_position
	gui_dilate_tempo -> gui_stretch_tempo
2016-12-19 04:13:17 +11:00
nick_m
27b95300e2 add frame parameter for Meter ctor and TempoMap::replace_meter(). allow for various failures. 2016-12-19 04:02:01 +11:00
f9743a1eb1 mini-tl: subscribe to location add/remove signals 2016-12-18 17:25:08 +01:00
448f921dd8 Transport Layout:
* Remove some redundant containers and frames, for a cleaner look.
* Adjust transport button spacing and sizes to more closely match the editor toolbar.
2016-12-18 09:02:13 -06:00
33b1dea98a Transport Layout: Alert buttons do not need to be red when inactive 2016-12-17 22:41:25 -06:00
511e9d2d09 Transport Layout: Attempts to standardize button sizes and padding. 2016-12-17 22:32:38 -06:00
291631759c Mini-timeline: Any click not on a marker should trigger a locate 2016-12-17 19:18:16 -06:00
28b5e8b6e2 Mini-timeline: Use timeline colors from config 2016-12-17 19:16:09 -06:00
f80fb029e2 Prepare configurable mini-timeline time-span 2016-12-18 00:06:39 +01:00
7688d22456 remove channel filter status and button from MIDI track header, access via context menu 2016-12-17 17:59:08 +00:00
8405f642e7 fix gcc4 compilation (local type used in template) 2016-12-17 13:00:33 +01:00
705a7262a3 Refine transport tool bar layout 2016-12-17 02:43:42 +01:00
4a83bd80a5 Prepare mini-timeline widget for toolbar 2016-12-17 02:43:42 +01:00
fab1ef05bc remove cruft 2016-12-17 02:43:42 +01:00
9dad10f691 Add UI to set global track layered mode 2016-12-17 02:43:42 +01:00
8ba7e8f4ef Hide/remove per-track record-mode in favor of global setting. 2016-12-17 02:43:42 +01:00
85e4b1d98f Move selection/punch clocks to editor Sidebar 2016-12-17 02:43:42 +01:00
1a25b906b3 Commence transport tool bar re-layout 2016-12-17 02:43:42 +01:00
a631706059 Rework shuttle control display 2016-12-17 02:43:42 +01:00
e1826f8b1c Add API to query editor's playhead cursor position 2016-12-17 02:43:42 +01:00
cd64f17a9c initial attempt at importing SMF tempo maps during MIDI import.
Still with debug output
2016-12-16 16:49:52 +00:00
ebc7eabea2 add arguments (unusued) to control whether or not SMF tempo map is used during import 2016-12-16 14:57:14 +00:00
8436f392b6 tweak presentation of SMF tempo option 2016-12-16 14:14:08 +00:00
7bf10eda75 show tempo information for MIDI files in preview pane; start to offer choice about using tempo map when importing 2016-12-16 13:46:13 +00:00
c2f4399b3d fix generic plugins for toggle with 2 scalepoints (enum)
Signed-off-by: Robin Gareus <robin@gareus.org>
2016-12-16 01:55:28 +01:00
nick_m
9a2450cafc be a bit less flickery when redrawing tempo/meter markers. 2016-12-16 02:56:58 +11:00
nick_m
a99331a4e9 more work on patch change redisplay.
- fixes just-introduced undo crash.
2016-12-16 01:58:58 +11:00
c9444e048e correct return syntax 2016-12-15 11:57:31 +00:00
nick_m
cfbcadc7ef speed up patch change redisplay when using scroomer / adjusting height.
- zoom is still a bit slow.
2016-12-15 22:35:23 +11:00
9e4b972286 GUI changes to allow user to specify how/if to use SMF track/instrument names during import 2016-12-14 12:31:16 +00:00
9a7823f139 change ordering of options for multichannel import 2016-12-14 11:46:26 +00:00
42d5573e78 temporary default value for ImportStatus.midi_track_name_source 2016-12-14 11:46:26 +00:00
eb58c4108f improving logic/flow for SMF type 1 files part 1:
check num tracks for type1 and offer multichannel option if appropriate
2016-12-14 11:46:26 +00:00
nick_m
176625d9e0 test diff for patch change performance when caching colours. 2016-12-14 04:05:08 +11:00
nick_m
c518bc3fb7 when dragging or copying multiple regions, respect position lock style.
- music-locked regions are moved by drag beat distance
	  (will conform to tempo changes over the drag distance)
	  audio-locked regions are moved by frame distance.
2016-12-14 02:08:59 +11:00
b34a614df4 Further fixes to non-cxx11 enabled builds
Hopefully all that is necessary this time
2016-12-13 17:10:30 +10:00
fced0887aa Fix for non-cxx11 enabled builds 2016-12-13 16:50:41 +10:00
0eff7d4a0c Add option to Zoom to Selection on double click
Currently implemented for Region and Range selections.

The new option is false/off by default to maintain existing behaviour. I'm not
sure it should require another option, perhaps Zoom to Selection should be the
default and accessing the region properties dialog can be via Modifier+double
click, but further changes can be made on user feedback etc.

Related: #7112
2016-12-13 13:02:04 +10:00
89623923bd Change Zoom to Selection action (Z key) to zoom on both axes
Add Zoom to Selection (Horizontal) action to access previous behavior.

Remove Editor::temporal_zoom_region as it was duplicate code and broken for
both_axes

Should Resolve: #7112
2016-12-13 12:25:03 +10:00
afa6720288 UI tweak for the spacer at the bottom of the master bus. 2016-12-12 12:16:43 -06:00
nick_m
44e8181c36 only set the exact musical position of the primary region for move/copy drag. 2016-12-13 04:33:58 +11:00
f22d852d8c Towards making tape-tracks work again.. 2016-12-12 03:20:29 +01:00
nick_m
9c5e1ffb0d sort tempo curves initially as well. 2016-12-12 02:07:00 +11:00
nick_m
782b28a1a8 amend previous commit 2016-12-12 02:07:00 +11:00
nick_m
34e41a3ca6 rename MetricSection movable -> initial, but of course initial is !movable.. 2016-12-12 02:07:00 +11:00
2481db7a7f Add a small tool to experiment with libcanvas 2016-12-11 15:52:56 +01:00
nick_m
165645495c there is no need to do a full set_colors() in MidiGhostRegion ctor. 2016-12-11 23:57:50 +11:00
nick_m
22f17a3007 tempo curve fiddling. 2016-12-11 23:55:13 +11:00
nick_m
dbbe65777f fix flickering in tempo curve when markers are reordered. 2016-12-11 23:46:49 +11:00
nick_m
b830ad3d66 constify TempoCurve::tempo(). 2016-12-11 23:44:25 +11:00
3cfd48f48d fix typo in 914224f 2016-12-11 04:36:29 +01:00
914224f808 Add editor actions to set tempo and meter 2016-12-10 21:30:30 +01:00
cc6f8cf321 Black selection & punch clock bg 2016-12-10 15:54:52 +01:00
1479e2d772 Fix video-monitor "sync-source" changes 2016-12-10 15:54:47 +01:00
b552ed886f Add support for Pango Markup to ArdourButton 2016-12-10 15:54:41 +01:00
6a429cfb7c Consistent ArdourButton sizing for elements with LED 2016-12-10 15:54:37 +01:00
e97404c5de Speed up recent-session display with lots of snapshots.
Given that a session can easily have >100 snapshots and one cannot change
the sample-rate anymore, it's mostly useless to parse them all.
2016-12-08 20:33:26 +01:00
61c7af141d Clarify "frames" (video, timecode) vs "samples" (audio) 2016-12-08 12:45:44 +01:00
3d925ef503 braces, please 2016-12-08 10:49:26 +00:00
d766095732 Further tweaks to EngineDialog z-axis stacking
When there's no main window (initial setup, no transient parent),
preset a normal window listed in the task-bar.

The duality the Engine Dialog being used as Ardour-WM managed non-modal
Window (Menu > A/M Setup) and modal Dialog (AudioEngineSetupRequired)
complicates this a bit.
2016-12-07 14:50:17 +01:00
6ce9efb11d Don't assume patch-banks are populated. 2016-12-06 22:56:04 +01:00
ac814d32d1 Allow to send Immediate Patch Changes 2016-12-06 18:48:36 +01:00
Julien ROGER
c5cda446e0 Fix crash when track creation failed draging region
Add more check when creating a new track from a region drag into editor's empty area.

Fix #6496
2016-12-06 22:23:29 +10:00
6b8cadef01 Don't move the Range Selection after performing Multi Duplicate
This is necessary for a single Duplicate so you can keep duplicating but it
doesn't make sense to move it for Multi Duplicate.
2016-12-06 14:06:18 +10:00
a7d19f8fe5 Rename Duplicate Range action to Duplicate and assign existing Alt+d key binding
This will work the same as the existing binding with a Region Selection and
will also duplicate ranges in range selection mode.

Also add multi-duplicate editor action and use that for the default
multi-duplicate action, which will work the same in Object Selection/Grab Mode
but also supports Multi Duplicate of Range Selections....well it would if
that functionality worked correctly.

The duplicate and duplicate-multi region actions still have to exist to be used
in the Region menu as they should only be sensitive if there is a Region
selection which would not be the case if the editor actions were used.

Resolves: #7153
2016-12-06 14:05:07 +10:00
359a0eb830 Fix theme names (dash is used to separate program-name) 2016-12-05 12:16:49 +01:00
08fffeffec Remove Evoral::MIDIEvent
It is slightly questionable whether type specific methods like
velocity() belong on Event at all, these may be better off as free
functions.  However the code currently uses them as methods in many
places, and it seems like a step in the right direction, since, for
example, we might some day have events that have a velocity but aren't
stored as MIDI messages (e.g. if Ardour uses an internal musical model
that is more expressive).

In any case, the former inheritance and plethora of sloppy casts is
definitely not the right thing.
2016-12-03 15:18:21 -05:00
Olivier Humbert
90fcdcfde9 Making one string translatable
It should allow this dialog window to be translatable : http://pix.toile-libre.org/upload/original/1480706219.png

I hope this is the correct way to do so. Please double-check what I've done before merging.
2016-12-02 20:18:02 +01:00
96cb9ba626 Fix un/setting group colors 2016-12-01 15:51:00 +01:00
9d7279d012 and a more intrusive KDE workaround 2016-11-30 23:19:44 +01:00
ffb7cb2b5e remove scope from translated phrases. 2016-11-30 23:00:59 +01:00
4c4061359c pay some attention to the special guest of the night: KDE window stacking 2016-11-30 22:52:06 +01:00
Olivier Humbert
8c49173cd1 One fix 2016-11-30 21:54:10 +01:00
84fc68cf08 Ensure the window-close button is visible for the Engine-Dialog. 2016-11-30 18:13:35 +01:00
Olivier Humbert
7cef79fb39 French translation update
A few more improvements/fixes and new strings.
2016-11-30 18:10:24 +01:00
27d0b67b8f Remove close/OK buttons from engine dialog 2016-11-30 14:44:36 +01:00
02ded90618 allow to remove a session from the recent list 2016-11-30 11:07:37 +01:00
aebd22cbe6 NO-OP backport changes from Mixbus branch. 2016-11-30 09:21:28 +01:00
ae1d4a9346 Fix route color selection dialog 2016-11-29 22:39:20 +01:00
Olivier Humbert
d3bb4e8b08 French translation update - fixes
a few fixes
2016-11-29 19:52:38 +01:00
Olivier Humbert
499eda35e9 French translation update
- a bunch of "fuzzy" stuffs removed (after checking/correcting those)
- a bunch of min/maj fixed
- >50 new translated strings
- >40 updated/fixed strings
- consistency across "… -> ...", "xrun -> décrochage", "lock -> verrouiller" and "mixer -> console de mixage"
2016-11-29 19:38:11 +01:00
Olivier Humbert
1292eefd3d French translation update
Two small fixes.
2016-11-29 15:12:23 +00:00
0d3c2a9dbf Speed up track deletion when Editor-Mixer is visible 2016-11-28 15:36:04 +01:00
bf15e93cde Consistent sub-menu separators for Preferecens in fr translation 2016-11-28 11:34:20 +01:00
198b8f6b58 Fix reversed behaviour of Playlist -> New and New Copy
Resolves: #7146

Thanks again to elgoun for the patch
2016-11-28 10:59:32 +10:00
1d7d9beef7 update default config (see also 5ec21347a) 2016-11-27 23:00:42 +01:00
5ec21347a9 Don't include program-name with <Option name="color-file" />
This allows for e.g. mixbus and mixbus32c to share the config, but
use different color-files at runtime.
2016-11-27 21:54:28 +01:00