reuk
35260b342c
NSViewComponentPeer: Adjust bounds before constraining when resizing
2021-05-26 15:37:42 +01:00
ed
a192e27961
macOS: Set NSWindow accessibilityElement property to prevent VoiceOver reading out notifications for inaccessible windows
2021-05-26 09:20:59 +01:00
reuk
bad031aa03
iOS: Enable support for layered/async drawing
2021-05-24 15:55:29 +01:00
ed
ec990202b1
Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics
2021-05-10 10:53:14 +01:00
reuk
e9b26887dd
NSViewComponentPeer: Fix bug where components could draw with unwanted translation
...
When drawing a popup menu for a target component with a non-unity scale,
the contents of the component were being drawn with an unwanted vertical
offset.
2021-04-29 17:43:31 +01:00
reuk
f73f8ee849
NSViewComponentPeer: Use JUCE-style coordinates to position subviews
2021-04-28 15:38:10 +01:00
Tom Poole
a9ad07a945
Use RAII for CFTypes
2021-03-25 15:48:35 +00:00
reuk
5bcd2b0dfb
NSViewComponentPeer: Force repaint when window becomes key
...
This resolves an issue on macOS Catalina when using
JUCE_COREGRAPHICS_DRAW_ASYNC where windows would sometimes fail to
completely repaint when they were unminimized.
2021-03-17 14:29:08 +00:00
ed
f43784dc5b
macOS: Propagate focus loss message when resigning key window status and only grab focus if window can become the key window
2021-01-28 11:26:41 +00:00
Tom Poole
473fc357bb
OSX 10.11: Fixed a CALayer crash
2021-01-21 10:04:23 +00:00
reuk
651c91eb56
ColorSpacePtr: Tidy up uses
2021-01-15 15:05:35 +00:00
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'.
2021-01-15 12:18:31 +00:00
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.
2021-01-15 12:18:31 +00:00
Tom Poole
8fc1195c35
macOS: Set CALayer format to fix Big Sur invalidation region
2021-01-14 23:11:14 +00:00
Tom Poole
9e4fceb031
Revert "macOS: Set CALayer format to fix Big Sur invalidation region"
...
This reverts commit a6217ae9fb .
2021-01-14 17:16:56 +00:00
ed
d3f91fd76c
macOS: Fixed repaint issue with JUCE_COREGRAPHICS_RENDER_WITH_MULTIPLE_PAINT_CALLS enabled that was introduced in 8d3fd927
2021-01-14 16:48:09 +00:00
Tom Poole
a6217ae9fb
macOS: Set CALayer format to fix Big Sur invalidation region
2021-01-14 12:38:45 +00:00
ed
8d3fd92784
macOS: Redraw drop-shadow on repaint for transparent NSWindows to fix some drawing artifacts
2021-01-07 13:27:35 +00:00
ed
088e100c1f
Narrowed the scoped of some undeclared Objective-C selector warnings
2020-12-10 12:48:42 +00:00
ed
30f8594ecf
macOS: Fixed an incorrect selector in JuceNSViewClass
2020-12-10 12:47:40 +00:00
ed
36f1197536
macOS: Forward key events from WKWebView correctly
...
Also added support for selectAll: selector forwarding in NSViewComponentPeer
2020-11-13 18:16:04 +00:00
ed
b7e28541ca
Replaced deprecated Displays methods
2020-10-27 12:38:59 +00:00
ed
a5d26db341
macOS: Call superclass constrainFrameRect for NSWindow to ensure that native title bar stays on screen
2020-07-10 17:50:11 +01:00
ed
c8a416f476
Obj-C++: Added obc_msgSendSuper_stret overloads for ObjCMsgSendSuper() and refactored the superclass messaging a bit
2020-07-10 17:50:05 +01:00
reuk
4e0f3e8c91
macOS: Fix bug where keyUp messages were forwarding to the superclass keyDown
2020-07-09 11:20:25 +01:00
juce-team
f9f5caa5cc
macOS 11: Fix function pointer conversions
2020-07-08 09:58:01 +01:00
reuk
b27017a5e3
macOS: Initial support for macOS 11 and arm64
2020-07-08 09:58:00 +01:00
ed
009d685179
Updated all license headers
2020-06-29 08:30:22 +01:00
reuk
cbfbd8cf12
CoreGraphics: Use generic colour spaces, instead of device colour spaces
2020-06-09 09:40:59 +01:00
ed
7b17d42039
macOS: Use CGContextGetUserSpaceToDeviceSpaceTransform to get backing scale factor of graphics context to avoid unnecessary upscaling on retina displays on macOS 10.14+
2020-06-05 09:55:51 +01:00
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +01:00
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
2020-04-09 15:22:56 +01:00
ed
920f86eace
macOS: Fixed some issues with 32-bit builds
2020-04-09 15:02:46 +01:00
ed
59a058fdc6
Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough
2020-03-09 17:39:28 +00:00
ed
171b7812f4
Updated platform implementations of Desktop::setKioskComponent() to be multi-monitor aware
2020-02-18 11:19:46 +00:00
reuk
f9532f609e
DocumentWindow: Made macOS windows respect constrainer minSize when in split screen
2020-02-10 16:25:59 +00:00
ed
e4d10979ae
macOS: Fixed an NSWindow focus bug introduced in 8ce79e2
2020-02-07 16:21:09 +00:00
ed
efdccd8f1d
macOS: Don't play alert sound if NSWindow is blocked by modal component in canBecomeKeyWindow() and canBecomeMainWindow()
2020-02-05 13:55:06 +00:00
ed
8ce79e20e7
macOS: Fixed a bug causing hidden NSWindows to become unhidden when the app regains focus
2020-01-20 12:46:44 +00:00
ed
a54da0b832
Fixed some more typos
2020-01-07 08:53:23 +00:00
ed
f9781d810e
macOS: Added a method for per-window disabling of asynchronous layer-backed views when JUCE_COREGRAPHICS_DRAW_ASYNC is set
2019-11-12 18:54:54 +00:00
ed
65be5bc9c5
macOS: Removed an SDK version guard for setting transparent window colours in the native peer code
2019-10-24 17:20:59 +01:00
ed
a2772569ec
macOS: Added JUCE_COREGRAPHICS_DRAW_ASYNC flag to enable asynchronous drawing
2019-10-24 15:51:03 +01:00
ed
251d1164ae
macOS: Fixed a compatibility issue with versions < 10.10
2019-07-15 10:02:28 +01:00
ed
bdeaeaf368
macOS: Fixed some deprecation warnings and silenced some others for the time being
2019-06-24 15:05:17 +01:00
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
2019-06-04 16:48:44 +01:00
ed
e8caa05756
macOS: Fixed an issue with fullscreen windows on older versions of macOS
2019-05-21 16:44:20 +01:00
jules
f58eacc135
Added more unique_ptr use, for functions that create LowLevelGraphicsContext or ImageType objects.
2019-05-15 12:08:38 +01:00
ed
387847efd6
macOS: Added a workaround for non-resizable windows increasing in height by the title-bar height when entering fullscreen
2019-05-14 15:09:23 +01:00
Tom Poole
3c0ccda6a5
macOS: Cleaned up old 10.6 support ifdefs
2019-04-05 10:05:21 +01:00