reuk
6ae1137d91
MinGW: Fix Windows build
4 years ago
reuk
05c2261efe
LinuxComponentPeer: Use constrainer to limit native window size
4 years ago
reuk
cfda532c9f
iOS Windowing: Avoid crashing when displaying a message box from a background thread
4 years ago
ed
aabd65b0fd
Text: Fix some build issues when JUCE_STRING_UTF_TYPE != 8
4 years ago
reuk
cc2a563725
NSViewComponentPeer: Fix framesize bug introduced in f73f8ee849
4 years ago
reuk
2c90261bd4
Windows: Fix missing field initialiser
4 years ago
reuk
b41aeec9b1
Build: Fix arm64 gcc build warnings
4 years ago
ed
428260a6fd
Whitespace
4 years ago
ed
7d1918b385
macOS/iOS: Replace compile-time deployment target checks with runtime checks using the available keyword
4 years ago
ed
0b844b7d88
Windows Accessibility: Implement AccessibilityEvent::valueChanged
4 years ago
ed
f70fd14065
iOS Accessibility: Implement accessibilityPerformEscape gesture to dismiss modals
4 years ago
ed
e1d1dd380c
iOS: Fix compatibility when targeting older SDK versions
4 years ago
ed
f2b9ab15d8
iOS: Use UIPasteboard string property in SystemClipboard::getTextFromClipboard() to ensure that only NSStrings are retrieved
4 years ago
reuk
c1cd432703
Mac Menu: Avoid errant beeps when triggering menu items
4 years ago
ed
05b49da0fe
macOS: Silence some deprecation warnings
4 years ago
reuk
72f3a15616
HWNDComponentPeer: Avoid auto-scaling child hwnds
The scaling machinery in the component peer was causing problems for
hosted plugin views. Scaling the plugin view size requires close
collaboration between the plugin and the host, and it's important for
the host to have exact control over the size of the plugin's view. The
removed code in the HWNDComponentPeer was modifying the sizes of
embedded plugin windows, which would often leave them at an incorrect
size.
The faulty behaviour was especially noticable with plugins that do not
support DPI-aware behaviour. I tested with the following plugins (VST2 +
VST3), which should all now display correctly in the AudioPluginHost,
and assume the correct size when opened on hi-res displays, or dragged
between displays with different scale factors:
- Plogue AlterEgo
- U-He Hive 2
- FabFilter Pro-C
- Native Instruments Supercharger
- Surge
4 years ago
reuk
7cd04f7d74
Windowing: Refactor DPI-related function loading
4 years ago
ed
8d72e7fccc
Linux: Update displays when DPI settings change
4 years ago
ed
70d36f06db
Linux: Implement dark mode detection
4 years ago
ed
3d282c1078
Desktop: Deprecate isOSXDarkModeActive() and add isDarkModeActive() for other platforms
4 years ago
ed
ea35602f18
X11: Use XSettings to respond to window scale factor changes
4 years ago
ed
f69de31094
X11: Add XSettings class for parsing and storing display settings according to the XSETTINGS specification
4 years ago
ed
5e44bc39e0
X11: Pass Display instance to GetXProperty constructor
4 years ago
ed
a435026b24
macOS: Use available keyword instead of preprocessor version checks where possible
4 years ago
ed
291f88abb2
macOS/iOS: Suppress and fix unguarded availability warnings
4 years ago
ed
1658d3f9ab
Obj-C++: Remove JUCE_OBJC_HAS_AVAILABLE_FEATURE define
4 years ago
reuk
4c95897ad3
XWindowSystem: Only dismiss transient modal windows when other windows are moved or resized
4 years ago
reuk
a130cc5d17
NSViewComponentPeer: Only dismiss transient modal windows when other windows are moved or resized
4 years ago
reuk
c9daf4288d
XWindowSystem: Only restack sibling windows
Previously, BadMatch errors were seen when there were several modal
windows, each with a native titlebar. Moving a window would attempt to
restack the windows, which was not possible because the JUCE windows
were not siblings. We actually need to restack the top level windows,
i.e. the windows containing the server-side decorations.
4 years ago
reuk
4e694c96b3
ScopedDPIAwarenessDisabler: Move to juce_gui_basics
4 years ago
reuk
8b45ff83e2
Windowing: Ignore suggested window sizes for windows that should not be DPI aware
4 years ago
reuk
ea6d095ab5
XWindowSystem: Implement createSnapshotOfNativeWindow
4 years ago
reuk
31500551e1
Move declaration of createSnapshotOfNativeWindow to module header
4 years ago
reuk
6c59a31456
Win32 Windowing: Fix uninitialised data members warning
4 years ago
reuk
836b6edbce
Mac MainMenu: Allow main menu items to be disabled
4 years ago
reuk
0f3e3d365a
iOS: Use safeAreaInsets API on supported platforms, even when deployment target is low
This fixes an issue where building with an old deployment target would
cause apps to display in "unsafe" screen areas.
4 years ago
reuk
7504fa065b
FileChooser: In Linux FileChoosers, prefer to open files rather than directories if both are requested
Zenity and Kdialog only support opening either files or directories
during a single invocation.
4 years ago
ed
a7915ec47e
iOS/macOS Accessibility: Tidy up shared value getter
4 years ago
ed
2abf68d866
iOS Accessibility: Create UIAccessibilityReadingContent protocol-conforming classes dynamically for text elements
4 years ago
ed
a6db2ef4ff
iOS Accessibility: Fix a potential use-after-free when deallocating a container element
4 years ago
reuk
f989182f32
Linux windowing: Display utf-8 native window titles correctly
4 years ago
ed
ae8662ce6d
macOS Accessibility: Silence some unguarded-selector warnings
4 years ago
ed
b65dc65bc2
Android Accessibility: Don't send accessibility events when inside populateNodeInfo() callback
Calling AccessibilityHandler::getChildren() or getParent() may cause an AccessibilityHandler object to be created and an InternalAccessibilityEvent::elementCreated notification to be sent. Calling AndroidAccessibilityEvent.setSource may then cause a recursive populateNodeInfo() call.
4 years ago
ed
d8214732ed
Android Accessibility: Send appropriate content change types for TYPE_WINDOW_CONTENT_CHANGED accessibility event
4 years ago
ed
74a83440e2
Android Accessibility: Check for valid host pointer when calling into C++ peer code from Java accessibility callbacks
4 years ago
ed
dd08be6215
Android Accessibility: Guard app context calls in a few places to prevent potential nullptr dereferences
4 years ago
ed
baa1bbafdf
Windows: Fall back to old-style modal dialog when showing native message box modally since TaskDialog does not support fully modal dialogs
4 years ago
ed
06ca1156e1
macOS Accessibility: Always set our NSWindow as accessible so its title bar is navigable
4 years ago
ed
f5eee033ba
NativeMessageBox: Return correctly mapped value when shown modally
4 years ago
ed
3b97c40c2d
iOS: Fix a crash in NativeMessageBox implementation when shown modally
4 years ago