13
0
Commit Graph

11564 Commits

Author SHA1 Message Date
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
0cb9d4a3d2 Restrict Device selection to valid choices. 2016-11-26 15:31:21 +01:00
43b468aa14 speed up track/bus creation a bit 2016-11-25 18:16:08 +01:00
01f8ca831a cont'd work to prevent duplicate playlist names 2016-11-25 14:24:29 +01:00
e07f465516 fix default output map display for no plugin processors
(eg. mono->stereo deliveries)
2016-11-25 13:03:25 +01:00
ca55fbf2f8 The DisplaySuspender is useless with async Session RTEvents 2016-11-25 10:05:36 +01:00
91ee1b6186 Don't allow duplicate playlist names 2016-11-24 22:11:19 +01:00
nick_m
c876aea64d midi ghost region fill colour is per event. don't store it. ensure _outline is set. 2016-11-25 04:50:46 +11:00
nick_m
9f1deb9ea4 amend last commit. 2016-11-25 01:06:22 +11:00
nick_m
2ec2c1c017 midi scroomer updates streamview during drags. 2016-11-25 00:50:29 +11:00
Olivier Humbert
910cbc600c French translation update
Mainly improvements to the Preference tabs.
2016-11-24 11:47:57 +01:00
edogawa23
fe597e8581 small correction to de.po 2016-11-24 08:45:34 +00:00
Edgar Aichinger
dbd8909fad catch up with .de translation 2016-11-23 14:12:57 +01:00
nick_m
434ca0e6ee clean up pending region selection if a region goes away. 2016-11-23 15:36:26 +11:00
nick_m
bd107a28c6 MidiRegionView::clear_events() does _selection.clear(). remove the extra one. 2016-11-23 15:32:13 +11:00
nick_m
390f56a5e1 fix a crash when deleting a MIDI region with CC automation (see recipe below)
- object mode: select a MIDI region that has CC automation.
	  Move the mouse over a CC automation event,
	  then press backspace to delete the selected region

	- the recipe is mentioned in #7049, but seems unrelated.
2016-11-23 15:29:57 +11:00
nick_m
522264f5d6 clicking on an automation line selects adjacent points correctly. 2016-11-23 15:09:54 +11:00
nick_m
fcad5a337f decouple midi region note range and height from midi streamview.
- this allows a midi region drag to update the visible notes
	  correctly while crossing MIDI streamviews with a differing
	  note range.
	  as a side effect, fixes a bug where changing
	  note range on a track did not draw some notes
	  (apply_note_range redisplays the model).
2016-11-23 08:04:14 +11:00
nick_m
cef341631b son't try to select non-existent notes after editing (and thus crash).
- should fix 7135
2016-11-23 04:55:56 +11:00
nick_m
766fa9aa5b don't display notes that start at region end.
- its not obvious that this is happening in sustained mode,
	  but Percussive reveals all.
2016-11-22 02:59:57 +11:00
nick_m
a14c577b8a fix thinko in 8e8c4a73f1. 2016-11-22 02:21:05 +11:00
nick_m
62f37da989 filter events in HitCreateDrag, remove some code. 2016-11-22 02:05:32 +11:00
nick_m
8e8c4a73f1 prevent Percussive mode from displaying a ghost hit at region end. 2016-11-22 02:01:01 +11:00
nick_m
cc1d33a91d NoteCreateDrag - remove some code 2016-11-22 01:59:57 +11:00
73f3e479d3 Make Cut mode respect snap modifer 2016-11-21 22:19:56 +10:00
d4190d3761 Show cursor in Cut mode on button press at cutting position
Previously it would be shown at the mouse cursor position even though the
Region is cut/split at the snap/quantize point if no motion occurred.
2016-11-21 20:45:35 +10:00
4ec299779c Reparent cursor used in Cut mode so that it is on top and visible 2016-11-21 20:11:47 +10:00
Olivier Humbert
47d186d1a3 Make menu item for Add Track/Bus/VCA dialog consistent with window title 2016-11-21 09:22:13 +10:00
Edgar Aichinger
979d5d12f3 update german translation 2016-11-20 23:29:03 +01:00
nick_m
e0c06f39e1 clean up HitCreateDrag. should be a no-op. 2016-11-21 04:57:32 +11:00
nick_m
eef18c47fd fix compilation, rename PercussiveCreateDrag -> HitCreateDrag 2016-11-21 04:20:27 +11:00
nick_m
71c0c872b7 only spray percussive hits during create drag if the grid is in use. 2016-11-21 04:11:54 +11:00
nick_m
5bcb9adbf8 rework mouse hit creation (percussive mode) - mostly as per #7130.
- snap behaviour is round to nearest

	- holding down button 1 while dragging creates many
	  (if not already present) hits.
2016-11-21 04:02:21 +11:00
nick_m
4d0422a0fc NoteCreateDrag scope fix - should be a no-op. 2016-11-21 01:46:42 +11:00
nick_m
d92d9d3a79 use a minimum note length of whatever 1 px is in beats in NoteCreateDrag. 2016-11-21 01:44:56 +11:00
nick_m
7eed31a4b2 MRV handles an alt key press even if nothing happened.
- nothing else treats a modifier press as
	  a key press event, so don't pass it on.
	  amends 0af9fb0d
2016-11-21 01:17:24 +11:00
nick_m
f989ed5b7f fix for short notes being displayed as infinitely long. 2016-11-21 00:17:31 +11:00
nick_m
3d1d2feff7 make it clear that there is no drag threshold for NoteCreateDrag. 2016-11-20 04:55:34 +11:00
nick_m
0af9fb0dee pressing alt while creating a note (snap modifier) keeps mouse_state. 2016-11-20 04:54:20 +11:00
nick_m
e525be86d6 after creating a note, don't add the ghost note until next motion. 2016-11-20 04:51:38 +11:00
nick_m
cb64e926c2 NoteCreateDrag starts on button press.
- removes the separation between click and
	  drag-creation of notes noth now handled by the drag code).
2016-11-20 04:49:18 +11:00
nick_m
0e0b7667ed NoteCreateDrag::grid_frames works over a tempo change. 2016-11-20 04:42:20 +11:00
nick_m
0e0ef41ed4 remove unused variable. 2016-11-19 21:42:50 +11:00
nick_m
c9dd1d39d1 further to 1a6a72b57, handle deleting a note while a non-selected one is entered. 2016-11-19 21:40:41 +11:00
a8e05a50e4 Fix for widget visibility with detached preferences window
Should finally resolve bug #7002

The reason 95e3f766 didn't resolve this is because OptionEditorContainer ctor
is called before adding all the widgets in RCOptionEditor so they will still be
hidden.
2016-11-19 14:19:11 +10:00
0b8a7d3429 Don't allow recursive calls to EngineDialog
OK -> start_engine() can eg. trigger an interactive plugin scan,
which in turn leaves the EngineDialog responsive. changing settings
or clicking OK again can lead to undefined behavior.
2016-11-19 04:54:36 +01:00
nick_m
1a6a72b57a fix for ghost note becoming stuck after note selection deleted.
- thanks ristic for the report
2016-11-19 03:03:20 +11:00
nick_m
ca046a8bb2 fix incorrect subdivision when dragging/trimming regions using magnetic snap.
- amends d2d2308588
2016-11-18 01:04:30 +11:00
cb9f4df0ad GUI to disable MacVST at runtime 2016-11-17 14:06:47 +01:00
nick_m
d2d2308588 magnetic snap uses note divisor appropriately.
- also looks nicer when resizing MIDI regions.
2016-11-17 04:08:13 +11:00
nick_m
05355d0306 fix incorrect return type for Editor::get_grid_music_divisions(). 2016-11-17 03:13:16 +11:00
5ab33bdb63 Fix crash when fanning out from editor mixer
when creating a new track or bus editor-selection changes and the
editor-mixer's _route changes.
2016-11-16 05:24:01 +01:00
ac6f44d92b MacVST UI resizing 2016-11-15 18:17:47 +01:00
a15a316236 consolidate VST UI code 2016-11-15 17:10:13 +01:00
Olivier Humbert
3ff588e189 French translation update
more translations
2016-11-15 03:15:10 +01:00
Olivier Humbert
c5f176ad48 Adding myself
adding my name
2016-11-15 03:15:10 +01:00
Olivier Humbert
7b1432fef1 French translation update
one small fix
2016-11-15 03:15:10 +01:00
Olivier Humbert
9abc5403e9 French translation update
A few more translations and fixes for French.
2016-11-15 03:15:09 +01:00
Olivier Humbert
fbd301ae09 French translation update
This one:
* adds a French translation for a string
* adds myself on the header
2016-11-15 03:15:09 +01:00
Olivier Humbert
5c1f7b2a7d French translation update
This translates one string.
2016-11-15 03:15:09 +01:00
9280e148cc Add missing #include 2016-11-15 00:44:14 +01:00
ea1231fb95 show VST preset clean/dirty state 2016-11-15 00:32:59 +01:00
a610157955 MacVST Program/Preset support 2016-11-15 00:32:59 +01:00
c16eb83fec Fix crash when selecting MIDI note
Replace now always invalid assertion with initialization

Related to #7110
2016-11-15 08:16:31 +10:00
f30fbcaaf9 Fix VST state-lock SNAFU (effSetChunk and process are exclusive) 2016-11-14 21:06:18 +01:00
nick_m
0b2ae7dad9 change note selection node name - should fix 7110 2016-11-15 03:48:20 +11:00
6794a83661 potential fix for #7110 (older sessions have no id) 2016-11-14 04:12:58 +01:00
da480d5540 Suffix plugin type in instrument-list to avoid ambiguities 2016-11-14 01:14:52 +01:00
68cbbe892f fix MacVST UI idle calls 2016-11-13 18:47:08 +01:00
80fa696564 basic Mac VST Cocoa UI support 2016-11-13 16:35:06 +01:00
7daee17f87 fix buffer overflow printing tempo/meter 2016-11-12 16:19:27 +01:00
857c0d4a5e Refine instrument fan-out:
* prefix (rather than suffix) portgroup-name
* check if group already exists
* disconnect targets (when autoconnect preference is enabled)
* expose tracks/busses option
2016-11-11 10:48:33 +01:00
dac2d41ee2 Add option to zoom using button press in the time rulers and dragging vertically
This is a common operation used for zooming in other DAWs like Ableton Live and
Cubase. To support such a usage pattern without changing the existing behaviour
of the ruler area I've made it an option that is false by default.

The behaviour of RulerDragZoom is intentionally different than a CursorDrag
that occurs in the rest of the ruler area in that it doesn't follow the snap to
grid setting and no locate related stuff occurs until button release.

There are some issues with responsiveness with more than a few hundred regions
or a large amount of MIDI events/notes.

Implements feature #6768
2016-11-11 14:13:53 +10:00
37a7d87786 Use the frame corresponding to the current mouse position when zoom dragging
Editor::mouse_frame only works within the track canvas. If a zoom drag is
initiated and the mouse cursor goes outside of the track canvas the zoom
position should still based on the current x position of the cursor.
2016-11-11 14:13:53 +10:00
9485748e17 Change Editor temporal zoom methods to be able to use different scale for the zoom 2016-11-11 14:13:53 +10:00
4499066f39 static MonitorSection Action -- fixes #7098
ActionManager registered actions are static global and cannot reference
an instance (this) directly.
2016-11-11 03:54:50 +01:00
f83dbf83f4 keep meterbridge on top 2016-11-11 01:14:18 +01:00
9990da35d8 prevent crash during track-deletion (un-selecting deleted tracks) 2016-11-10 23:20:58 +01:00
33942e6d52 Implement instrument fan-out options (group, track/bus) 2016-11-10 21:39:20 +01:00
nick_m
d9dea0a3aa rename Region pos_beats -> quarter_note 2016-11-11 03:37:08 +11:00
nick_m
a432f6585c TempoSection::tempo_at methods return a Tempo, document the opposite direction. 2016-11-11 03:37:08 +11:00
nick_m
33e95a1577 rename Tempo _beats_per_minute to _note_types_per_minute, provide pulse helpers.
- adds quarter_notes_per_minute(), note_divisions_per_minute (double)
	  pulses_per_minute() and frames_per_quarter_note()

	- this should be a no-op except for the use of tempo by
	  the vst callback which definitely uses quarter notes per minute.

	- the XML node for TempoSection named 'beats-per-minute'
	  has been renamed.
2016-11-11 03:37:08 +11:00
nick_m
594137f5cc remove public pulse methods from TempoMap.
- the only object whose musical position is not expressed in
	  quarter notes is MetricSection.
	  there is now no need to expose this.
2016-11-11 03:37:08 +11:00
nick_m
1d540605ac clamp setting tempo via vertical drag.
- a bit suboptimal. we really need the opposite of _trackview_only
	  to prevent jumping to track canvas scrolled coordinates in the first place.
2016-11-11 03:37:08 +11:00
nick_m
dca96d8b5d rename Region pulse to pos_beats. use new beat distance api where required.
- add more debugging output detecting regions whose
	  beat and frame position do not align on a playlist.
	  this is required as a check as we have never used
	  frame rounding on constant tempi before 8884a5723dc
2016-11-11 03:37:08 +11:00
nick_m
ac23496b40 MidiRegion _start/_length beats are frame based only when lock style is Audiotime 2016-11-11 03:37:08 +11:00
nick_m
0e867b544b Refactor tempo api, include quarter-note distance in frames method.
- moves frame rounding up to TempoMap, which is needed
	  in order to calculate pulse distance without frame rounding.

	- the time unit for tempo is still minute, but this now also
	  applies to meter sections. (new audio locked meter sections no
	  longer require a frame position).

	- there is no longer a discontinuity
	  in the pulse for audio-locked meter/tempi.

	- temporarily add debugging output in Region::set_position()
	  to test for region beat not matching region frame.
2016-11-11 03:37:08 +11:00
8520312f97 Check and link to the pangoft2 module with a mingw build if it exists
This is necessary when pango has been built without all modules included as
bundle_env_mingw.cc uses a function from the pango module and results a linker
error:

bundle_env_mingw.cc:114: undefined reference to `pango_ft2_font_map_get_type'

Minimum pango version is taken from the official build scripts.
2016-11-10 15:23:43 +10:00
b116a68a5c C++ implementation of fan_out_instrument.lua 2016-11-10 04:54:59 +01:00
b63af3162e Set session dirty if tracks are reordered by user. 2016-11-07 08:29:34 -08:00
932cc4d347 One more piece to the moving master puzzle. 2016-11-06 21:59:33 -08:00
1457050d7a Fix Drifting Master hopefully for real this time. 2016-11-04 08:39:41 -07:00
da32ae4e1f prevent infinite loop when calculating tick marks on low zoom levels 2016-11-02 17:54:24 +01:00
9773cfa926 Drop UpdateMidnam shared_ptr reference when the plugin is removed 2016-10-30 17:39:55 +01:00
997b48baf7 Fix moving master 2016-10-30 06:48:05 -07:00
cfafb01b32 GUI support for plugin provided midnam 2016-10-29 19:57:43 +02:00
01747f54d8 Prevent duplicate moves when selecting regions on shared playlists
selecting regions on multiple tracks which share playlists and
dragging them has various odd side-effects. This prevents the worst
of such edge-cases.

A cleaner solution would be to not allow selecting the same region
on multiple tracks at the same time in the first place.

Comments are welcome.
2016-10-27 03:33:51 +02:00
nick_m
24846f478b clean up ghost note wrt create drag.
- hide ghost note when add dragging.

	- new note length snaps as per ghost note start (shifted snap).

	- prevent ghost note from appearing before region start.
2016-10-26 04:52:09 +11:00
7df9917a11 minor code-tidying tweak - continue if port handle is null, rather than nest inside conditional 2016-10-21 16:31:16 -04:00
259f049adc Track Insert/Remove Time dialog:
Disambiguate "glued" -> glued-to-musical-time (MIDI) regions.
 *Users didn't know that this is necessary to operate on MIDI regions.
2016-10-20 16:18:19 -05:00
9e5811d13e Track Insert/Remove dialog improvements:
By default, enable glued regions and markers.
 If you are removing time, you probably want MIDI regions to move.
2016-10-20 16:02:18 -05:00