- Apr 27, 2021
-
-
ed authored
-
ed authored
Projucer: Fixed a potential crash in JucerTreeViewBase when dereferencing a deleted pointer to the underlying TreeViewItem
-
ed authored
-
ed authored
-
ed authored
-
ed authored
-
ed authored
-
ed authored
When passing in valid data with zero size, replaceWith() will do nothing and leave the MemoryBlock in its previous state which may be unexpected. replaceAll() will reset the MemoryBlock and resize it to 0
-
- Apr 26, 2021
- Apr 23, 2021
- Apr 22, 2021
- Apr 21, 2021
-
-
reuk authored
-
ed authored
-
ed authored
-
ed authored
TextEditor: Use caret position relative to the Component top-left when calculating scroll amounts in scrollEditorToPositionCaret() and scrollToMakeSureCursorIsVisible()
-
ed authored
-
ed authored
-
ed authored
-
reuk authored
This fixes a regression introduced by 6e9261ea which meant that components were not given a chance to respond to shortcut keypresses if those same keypresses were registered for a menu item. This resulted in behaviour where shortcuts such as 'cmd+c' would not be passed to a focused TextEditor if a different command with the same shortcut was registered in the main menu. With this change in place, we now check whether the menu item's shortcut keys match the current event's pressed keys. If the keypresses match, we can assume that the event was triggered by the keyboard, and dispatch the keypresses to the ComponentPeer. If the keypresses do not match, then the menu item was likely selected using space/return, or by clicking, in which case the event is dispatched directly to the ApplicationCommandManager.
-
- Apr 20, 2021
- Apr 19, 2021
-
-
reuk authored
-
reuk authored
-
reuk authored
This mostly reverts commit 6e89e61b. MIDI FX plugins are allowed to have audio channels, even if they only produce silence. If a plugin requests a particular bus/channel layout, the host should respect this request, or attempt to update the layout. The host should fill all channels that the plugin expects to be filled. The old commit also meant that we weren't correctly supplying the host sample rate to MIDI FX plugins.
-