ed
ac1425f94e
Added Display::safeAreaInsets and implementations for iOS and Android
4 years ago
ed
6d8c0b2fc3
Android: Set layoutInDisplayCutoutMode to LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS so fullscreen kiosk apps fill the entire display on devices with cutouts
4 years ago
ed
c0cb5dcf34
Android: Tidied up some code in AndroidComponentPeer
4 years ago
ed
56f9f83638
iOS: Check UIStatusBarHidden .plist value in prefersStatusBarHidden property to correctly hide/show the status bar when requested
4 years ago
ed
4ef5012271
iOS: Fixed UIViewAlertForUnsatisfiableConstraints warning when showing the onscreen keyboard
4 years ago
reuk
837ab64dbd
Android: Fix numeric conversion warnings
4 years ago
ed
46f5b126d5
Tidied up some template statement whitespace
4 years ago
ed
af69be5346
Windows: Tidied up the usage of the JUCE_COMCALL, JUCE_COMCLASS, and JUCE_IUNKNOWNCLASS macros
5 years ago
reuk
dbfdaff00b
XWindowSystem: Prevent PopupMenus from accidentally dismissing themselves
4 years ago
ed
f43784dc5b
macOS: Propagate focus loss message when resigning key window status and only grab focus if window can become the key window
4 years ago
ed
bd86eb667e
Android: Fixed compile error when push notifications are disabled
4 years ago
Tom Poole
473fc357bb
OSX 10.11: Fixed a CALayer crash
4 years ago
reuk
755e93e1c0
HWNDComponentPeer: Avoid assertions when opening submenus
4 years ago
reuk
651c91eb56
ColorSpacePtr: Tidy up uses
4 years ago
reuk
5490003964
LinuxComponentPeer: Dismiss modals more proactively
This patch should resolve an issue where the popupmenu for a combobox
could become 'stranded' if the plugin window was moved while the box was
open.
4 years ago
reuk
838d55569a
LinuxComponentPeer: Add makeXFreePtr helper function
4 years ago
reuk
4a4cca333e
LinuxComponentPeer: Remove magic numbers
4 years ago
reuk
55036de873
LinuxComponentPeer: Get rid of unused templating
4 years ago
reuk
85facf6d6e
HWNDComponentPeer: Dismiss modals more proactively
This change makes heavyweight views listen to window events from higher
in the window hierarchy. If a move or resize event from higher in the
hierarchy is encountered, blocking modal components will be dismissed.
This patch should resolve an issue where the popupmenu for a combobox
could become 'stranded' if the plugin window was moved while the box was
open.
4 years ago
reuk
60f756e22f
NSViewComponentPeer: Dismiss modals more proactively
This change will make plugin views (and other heavyweight views) listen
to their containing window, and dismiss any blocking modal components,
such as PopupMenus when the window is moved or resized.
This should fix issues where opening a combobox then moving the plugin
window could leave the combobox's popupmenu 'stranded'.
4 years ago
reuk
99e2cd0e3f
PopupMenu: Dismiss popups when minimising parent window
This behaviour was already present on windows, so this patch updates
Linux and macOS window-handling to match.
4 years ago
reuk
51170e6073
UIViewComponentPeer: Enable non-full-screen views
4 years ago
reuk
04f2ca61e2
UIViewComponentPeer: Simplify view transition reporting
4 years ago
Tom Poole
8fc1195c35
macOS: Set CALayer format to fix Big Sur invalidation region
4 years ago
Tom Poole
9e4fceb031
Revert "macOS: Set CALayer format to fix Big Sur invalidation region"
This reverts commit a6217ae9fb .
4 years ago
ed
d554365161
macOS: Fixed repaint issue with JUCE_COREGRAPHICS_RENDER_WITH_MULTIPLE_PAINT_CALLS enabled that was introduced in 8d3fd927
4 years ago
ed
d3f91fd76c
macOS: Fixed repaint issue with JUCE_COREGRAPHICS_RENDER_WITH_MULTIPLE_PAINT_CALLS enabled that was introduced in 8d3fd927
4 years ago
Tom Poole
a6217ae9fb
macOS: Set CALayer format to fix Big Sur invalidation region
4 years ago
reuk
cd25daf892
FileChooser: Respect comma delimiters for file filters
4 years ago
ed
8d3fd92784
macOS: Redraw drop-shadow on repaint for transparent NSWindows to fix some drawing artifacts
4 years ago
ed
84d9117054
Linux: Check for valid display in updateScaleFactorFromNewBounds()
4 years ago
ed
6325230f61
Windows: Use rectangleFromRECT() to clean up some code
4 years ago
ed
09c25fedfd
Windows: Retrieve work area rectangle for all connected monitors
4 years ago
ed
b614f9e01e
Windows: Only call Displays::updateToLogical() on per-monitor DPI-aware threads
4 years ago
reuk
88285acae1
DragAndDrop: Fix drag and drop in windows optimised builds
In very optimised builds, SHCore.dll may not be automatically loaded
into the address space of the calling executable. In these cases, the
call to `GetModuleHandle` will fail. Adding the call to LoadLibrary
ensures that the dll is loaded into the program's address space, which
will allow the call to GetModuleHandle to succeed.
4 years ago
reuk
e988c4c671
DragAndDrop: Tidy up windows implementation
4 years ago
reuk
5354d01a89
X11: Properly escape "+" symbols in dragged/dropped filenames
4 years ago
reuk
41ec486dd0
FileChooser: Show desktop folder if requested folder does not exist
This change affects the PostVista version of the Windows FileChooser.
4 years ago
ed
088e100c1f
Narrowed the scoped of some undeclared Objective-C selector warnings
4 years ago
ed
30f8594ecf
macOS: Fixed an incorrect selector in JuceNSViewClass
4 years ago
ed
a7667077f8
Android: Fixed a crash when juce_gui_extra is not present
The default main JuceActivity for JUCE apps calls appNewIntent() in its onNewIntent() implementation which is defined in juce_gui_extra. This commit moves the implementation into juce_gui_basics.
4 years ago
reuk
6ac0e90e58
FileChooser: Allow new filechooser to load paths containing unicode characters
5 years ago
ed
7053df4b5b
iOS: Fixed incorrect desktop window position
5 years ago
ed
36f1197536
macOS: Forward key events from WKWebView correctly
Also added support for selectAll: selector forwarding in NSViewComponentPeer
5 years ago
ed
09ecc0ebef
Linux: Fixed a use-after-free in XWindowSystem::findDisplays()
5 years ago
ed
3f78998b96
Linux: Fixed semi-transparent windows not rendering correctly
Previously we were choosing a Visual and Colormap on initialisation of the X11 Display which could lead to bugs when opening a window with different visual and colour requirements. This commit makes 16, 24 and 32-bit visuals available and chooses the correct one when opening a window.
5 years ago
ed
7901eb6ca1
Linux: Use synchronous X11 error handling in debug builds
5 years ago
reuk
4fd3dfb51b
FileChooser: Temporarily silence deprecation warnings on iOS
5 years ago
ed
bef6a91294
Linux: Made the Desktop singleton usable when running headless
5 years ago
ed
b7e28541ca
Replaced deprecated Displays methods
5 years ago