Commit graph

9163 commits

Author SHA1 Message Date
Robin Gareus
aeaf0610d4 GUI for latency-measurement signal-level 2016-01-14 19:25:23 +01:00
Robin Gareus
f2b7d9af92 NO-OP: enums implicitly start at zero
this allows this file to be included to look up enums (bindings)
2016-01-14 19:10:27 +01:00
Tim Mayberry
084af96bf4 Change handling of Midi note selection to eliminate signal emission/delays.
Each MidiRegionView(MRV) is connected to the Selection::ClearMidiNoteSelection
signal that is used to notify the all MRV instances to clear their note
selection.

The MRV class also has a private static SelectionCleared signal that is used to
signal other MRV instances when their selection has been cleared. When the
Selection::ClearMidiNoteSelection signal is emitted it causes each MRV to also
emit the SelectionCleared signal. So the emission takes quadratic time.

With 1500 MRV instances emission takes about 2.2 seconds on my machine, and
some operations like track selection cause it to be emitted 3 times(another
issue).

The Selection class in the Editor knows which MRV instances have note
selections, as it is notified by MidiRegionView whenever the selection count
becomes zero or becomes non-zero. Clearing the Note selection should then just
be O(N) and direct calls can be used rather than signals.

This change removes both the signals and uses the existing references between
Selection and MRV class to control note selection. There should be no
behavioural changes in Midi note selection with this change.
2016-01-14 20:41:44 +10:00
Tim Mayberry
b93a9e2601 Add debug bit for selection debugging output 2016-01-14 20:41:43 +10:00
Robin Gareus
ed8c88d697 don't allow to delete AU presets in the UI
because the backend is not ready for this.
2016-01-13 18:01:39 +01:00
Paul Davis
df5c5d338a space bar action (Transport/ToggleRoll) should still start transport if synced to Engine (JACK) 2016-01-12 08:28:54 -05:00
André Nusser
ef9713d5c6 Comment remaining unsolved bug. 2016-01-12 13:45:39 +01:00
André Nusser
f979d9c0a6 Don't show a ghost note when draw mode is entered over a note. 2016-01-12 13:45:39 +01:00
André Nusser
616c1aa0ce Clean enter_internal and leave_internal in MidiRegionView. 2016-01-12 13:45:39 +01:00
André Nusser
39bd216725 Fix two ghost note drawing problems.
A ghost note could appear:
1) above the region.
2) inside another note even though we haven't yet entered it.
2016-01-12 13:45:38 +01:00
André Nusser
76237a696c Hide MIDI ghost note when over existing note. 2016-01-12 13:45:38 +01:00
André Nusser
688fe8504b Hide ghost note when switching from draw to internal edit mode.
Before it was only hidden after moving the mouse.
2016-01-12 13:45:38 +01:00
André Nusser
2d786617bb Fix appearing ghost note after drag select in internal edit mode. 2016-01-12 13:45:38 +01:00
Robin Gareus
eea8d8e6c0 check sidebar re-order constrains early on. 2016-01-10 00:28:00 +01:00
Robin Gareus
28f8b7d5d6 retain expansion-state when reordering plugins in the sidebar 2016-01-10 00:28:00 +01:00
Robin Gareus
2be5131ea1 fix compiler argument order (ldflags/loadlibes) - patch from Rodney Dawes 2016-01-09 19:03:43 +01:00
Robin Gareus
6a45e4a2b1 GUI update for plugin-preset-list API change 2016-01-09 15:22:40 +01:00
Robin Gareus
3718b4109b index plugins before loading state (favorite order) 2016-01-08 22:07:21 +01:00
Robin Gareus
8f63c81ca9 better version than prev. commit (avoid name ambiguity) 2016-01-08 21:53:12 +01:00
Robin Gareus
b3a1ea664e fix favorite plugin sort (after plugin-scan) 2016-01-08 21:12:48 +01:00
Robin Gareus
5a766dc24d indicate monitor-state 2016-01-08 14:22:02 +01:00
Robin Gareus
559649c338 use config value to avoid race on session-setup. 2016-01-08 11:34:28 +01:00
Robin Gareus
027ffb1b37 monitor-section: re-connect to static actions 2016-01-08 01:31:20 +01:00
Alexandre Prokoudine
425843d2fd Update Russian translation 2016-01-08 00:40:41 +01:00
Robin Gareus
4be4f8fb62 don't allow to delete factory presets 2016-01-07 22:34:19 +01:00
Robin Gareus
4bd4790d11 use new API to query presets 2016-01-07 17:23:39 +01:00
Robin Gareus
34244b3c69 only show plugin context-menu if there is a selection 2016-01-07 14:35:10 +01:00
Robin Gareus
727d6128f1 remove debug output 2016-01-07 13:38:48 +01:00
Ben Loftis
c4b8c03c1a binding expects BackSpace not Backspace 2016-01-06 21:17:04 -06:00
YQ-YSY
9b50022e3d Update zh.po
translate english -> chinese all done.
2016-01-05 12:30:59 -05:00
Robin Gareus
920c56775f safe default button focus for deleting playlists 2016-01-05 15:48:35 +01:00
Robin Gareus
d1cfd95591 fix monitor-section state restore.
Start counting at zero, no weird +1 here, -1 there,
action names are GUI internal anyway.
2016-01-03 21:44:19 +01:00
Robin Gareus
e343434b60 UI port-events are not limited to outputs. 2016-01-03 20:28:16 +01:00
Robin Gareus
396644dcf2 fall back to use video-duration from container if stream duration is n/a
this fixes issues with some .mkv files encoded with
libebml v1.2.0 + libmatroska v1.1.0
2016-01-03 19:50:39 +01:00
Paul Davis
9e3299f97d change Controllable::set_value() API to include grouped control consideration.
This also removes Route::group_gain_control() and associated machinery.
Not yet tested with Mackie or other surfaces. More work to done to
start using the group capabilities, and also potentially to add
or derive more controls as RouteAutomationControls
2016-01-02 04:58:30 -05:00
Robin Gareus
38f199e355 Processors: separate drag-sources and drop-targets 2016-01-01 13:28:47 +01:00
Robin Gareus
ca6ee56347 kunterbunte Monitor-Sektion
reduce color diversity and clean up color definitions of
the monitor section: mute, solo: use mixer-colors, prefix all MS-colors
with "monitor section"
2016-01-01 13:28:47 +01:00
Robin Gareus
acc05bde4a fix typo 2015-12-30 16:52:18 +01:00
Robin Gareus
63c455a557 small VST code cleanup: mostly NO-OP. thread attributes and static vars 2015-12-30 13:51:09 +01:00
Robin Gareus
bcaae13e3e set DnD targets per processor
This prevents DnD of non-processors to the sidebar
2015-12-30 12:25:09 +01:00
Robin Gareus
80e170d7fd keep VST path editor on top of preferences. 2015-12-29 13:31:40 +01:00
Robin Gareus
135eedc685 the return of the proper GUI window titles 2015-12-29 11:03:43 +01:00
Robin Gareus
d959461537 LinuxVST window re-sizing: forward event to child window. 2015-12-29 10:08:42 +01:00
Robin Gareus
74e4081ef4 save users who like to suffix snapshot names some typing. 2015-12-28 19:24:30 +01:00
Robin Gareus
46e479038d plugin-sidebar: select on right-click (before context-menu) 2015-12-28 17:23:45 +01:00
Robin Gareus
9283e97435 refine add preset/favorite dialog
dedicated "Add to Favorites only" mode.
2015-12-28 17:23:45 +01:00
Paul Davis
0d9efc1148 redesign cross-thread registration/signalling system
This new design will work even when threads that need to receive
messages from RT threads are created *after* the RT threads. The
existing design would fail because the RT thread(s) would never
be known the later created threads, and so signals emitted by the
RT thread and causing call_slot() in the receiver would end up
being enqueued using a lock-protected list. The new design ensures
that communication always uses a lock-free FIFO instead
2015-12-28 10:14:17 -05:00
Robin Gareus
db48340278 keep plugin-manager presets in sync 2015-12-28 13:23:42 +01:00
Robin Gareus
4758de37cd allow creating plugin-presets by dragging a plugin to the sidebar 2015-12-28 04:11:45 +01:00
Robin Gareus
d7475e1419 add preset-delete to context menu 2015-12-28 03:19:28 +01:00