Attila Szarvas
fbc1a51a67
Windows: replace deprecated OS calls in SystemStats::getDisplayLanguage()
The previously used getUserDefaultUILanguage() was based on the deprecated
LCID/LANGID concept. It had an increasing number of corner cases as not
every locale had associated LCIDs. The new solution is based on locale
names (string based) and will return reasonable names in more situations.
4 years ago
reuk
1ee106d730
PopupMenu: Avoid dismissing PopupMenus in bridged plugin editors
When bridging 32-bit/64-bit plugins on Windows, the plugin is hosted in
an auxilliary process, and the plugin's editor is embedded into an HWND
owned by a different process (the plugin host).
Previously, the `isForegroundProcess` check would fail for bridged
plugins, because the foreground window may belong to the DAW, rather
than to the auxilliary hosting process.
This patch adds an additional check, to find whether the same process
owns both the foreground window, and the window which embeds the
PopupMenu's target component. In this case, we avoid immediately
dismissing the PopupMenu.
4 years ago
ed
550127945d
Added floating-point implementations for some Component hit-testing methods to improve reliability when dealing with scaled Components
4 years ago
ed
e2aa2a2048
Accessibility: Throttle TreeView/ListBox Viewport move AccessibilityEvent::structureChanged notifications
4 years ago
ed
521faf2dc6
macOS Accessibility: Send NSArray for NSAccessibilityLayoutChangedNotification
4 years ago
ed
bbc05adb17
Docs: Updated Viewport scrollbar docs
4 years ago
ed
9ed55a7639
Accessibility: Added AccessibilityEvent::titleChanged
4 years ago
ed
e4f9e7f79b
macOS Accessibility: Use @available keyword where possible to check if accessibility support is available at runtime
4 years ago
ed
8b2f3088d7
Accessibility: Added AccessibilityTextInterface::isReadOnly() method and AccessibilityRole::label to distinguish between navigable and selectable read-only text elements and simple labels
4 years ago
ed
df4ff3b225
Accessibility: Fixed some focus issues with modal components
4 years ago
reuk
75922cac38
VST3 Client: Ensure main buses are enabled by default when using PreferredChannelConfigurations
4 years ago
reuk
712b14a272
VST3 Client: Normalise and denormalise program parameter correctly
4 years ago
ed
ffdfb5b436
Accessibility: Set checked state in ButtonAccessibilityHandler::getCurrentState() if button is part of a radio group
4 years ago
ed
27ead031c0
macOS/iOS: Removed unused WKWebViewConfiguration object in the WebBrowserComponent native implementation
4 years ago
reuk
77ad8b23bb
VST3 Client: Enable support for more FrameRateTypes, and set editOriginTime correctly
4 years ago
reuk
8dc7636fc4
PathFlatteningIterator: Ensure iterator terminates when flattening paths with very large coordinate values
4 years ago
reuk
3399c34d0d
Windows: Fix more warnings emitted by clang with GNU-like command-line
4 years ago
reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings
4 years ago
ed
17d967551c
AAX: Added JucePlugin_AAXDisableDefaultSettingsChunks flag to set the AAX_eProperty_Constraint_DoNotApplyDefaultSettings property
4 years ago
ed
3fd4f7a231
TextEditor: Take border size into account when calculating text bounds
4 years ago
ed
963fd79e6a
Windows Accessibility: Improved support for read-only text interfaces and fixed issue causing text past 1000 characters to not be read out by Narrator
4 years ago
ed
05f987d893
macOS Accessibility: Use value interface for accessible read-only text
4 years ago
ed
13e7ffbdfb
Accessibility: Use AccessibilityTextValueInterface for read-only text in Label, TextEditor and CodeEditorComponent
4 years ago
ed
1634d9f428
macOS: Fixed a build error when building against SDKs < 10.13 for deployment targets < 10.10
4 years ago
ed
e28525b05d
TreeView: Fixed a potential crash when dragging a TreeViewItem with a custom component
4 years ago
ed
7b34d56069
TreeView: Use content component coordinate space in TreeView::getItemAt()
4 years ago
reuk
28882b788a
OpenGL: Add missing function annotations
4 years ago
ed
fa17310dd1
Added back in rounding error fix from e8518048
that was overwritten in 7909af4e
4 years ago
ed
ce72fe4143
Label: Check for deletion before calling repaint() in hideEditor()
4 years ago
ed
083a5af323
TextEditor: Offset selection fill bounds by viewport position to fix bug with multi-line highlighting
4 years ago
reuk
35260b342c
NSViewComponentPeer: Adjust bounds before constraining when resizing
4 years ago
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
4 years ago
reuk
54423f6583
OpenGL: Add GLEW-inspired dynamic function loading
4 years ago
ed
8a6a520026
iOS: Check if text entry caused TextInputTarget deletion before calling updateHiddenTextContent()
4 years ago
ed
b9ae71ae8f
AudioProcessorEditor: Fixed a bug introduced in 5a59c92b
causing editors to always be marked as resizable by the host when using the default ComponentBoundsConstrainer
4 years ago
ed
fd8c6ce15c
Accessibility: Only call grabKeyboardFocus() on focusable components
4 years ago
ed
edd4ff9cfc
ListBox: Select row on focus
4 years ago
ed
8dfb916e9a
ListBox: Send AccessibilityEvent::rowSelectionChanged events
4 years ago
ed
a192e27961
macOS: Set NSWindow accessibilityElement property to prevent VoiceOver reading out notifications for inaccessible windows
4 years ago
ed
02c5ad29db
macOS: Disable accessibility on deployment targets < 10.10
4 years ago
reuk
3b93d5d7eb
FileChooser: Allow multiple directory selection on Linux/Zenity
4 years ago
reuk
0a4a67d439
PopupMenu: Use correct alignment for submenus with large borders
4 years ago
reuk
bcd7ae1fb5
PopupMenu: Avoid cropping menu items at the bottom of long menus with large borders
4 years ago
reuk
bad031aa03
iOS: Enable support for layered/async drawing
4 years ago
reuk
bc796b1636
TooltipWindow: Display tooltips at same scale as hovered components
4 years ago
reuk
1c2abc80d7
Component: Ensure getScreenPosition result is in terms of the logical coordinate space of the screen
Previously, getScreenPosition would return a result in the component's
coordinate space if it was called on a component that was not directly
or indirectly on the desktop. This behaviour is surprising and difficult
to program around. This change should ensure that the result is always
in the screen's coordinate space.
4 years ago
reuk
73523cd6a5
UIViewComponentPeer: Add support for hover and scroll events from external mice and trackpads
4 years ago
reuk
6db900926b
VST3 Client: Fix issue where host failed to receive latency change notifications
In cases where a VST3 plugin set a non-zero latency in its
prepareToPlay, and then set its latency to 0 later on, the host was not
notified about the latency change.
4 years ago
reuk
2f04d6a846
VST3 Client: Fix leak caused by unnecessary manual refcounting
In older versions of the VST3SDK, hostContext is a raw pointer,
in newer versions it's a smart pointer. If we do manual
refcounting with the smart pointer, we may cause leaks.
4 years ago
reuk
706d80216b
AudioBlock: Allow smoothing using SmoothedValues of a broader range of types
4 years ago