attila
efcc8bb6f0
Remove unused function
...
The NSWindow class doesn't have isFlipped. Consequently the removed
function wasn't overriding it, and it wasn't called otherwise either.
2025-10-02 15:40:20 +02:00
Oliver James
c01bf65d3f
MacOS: Implement support for extra mouse buttons
2025-08-13 15:38:18 +01:00
reuk
5d7208bb54
ModifierKeys: Avoid direct access to currentModifiers when reading but not writing
2025-06-19 14:42:49 +01:00
reuk
6f1d116279
macOS: Add initial macOS 26 suport
2025-06-10 20:15:58 +01:00
attila
087f915595
NSViewComponentPeer: Ignore mouseDragged messages during DnD operations
...
Prior to this change trying to drag and drop a file onto a target inside
a Viewport could cause hectic scrolling events.
2025-04-17 10:27:24 +02:00
reuk
e3df22a4ea
NSViewComponentPeer: Fix use-after-free when closing windows with the keyboard
2025-04-01 11:49:48 +01:00
attila
7f4176e259
Fix potential crash in Ableton Live when dismissing the plugin window with Esc
...
The crash could be reproduced with a WebBrowserComponent, but it was not
the root cause of it.
2025-03-27 17:41:18 +01:00
reuk
9a6f925bcb
NSViewComponentPeer: Fix typo that prevented graceful exit of kiosk mode
2025-03-03 14:41:32 +00:00
reuk
2d01e326db
ObjCHelpers: Rename makeCGRect from makeNSRect
2025-01-23 12:20:27 +00:00
reuk
2583b06481
NSViewComponentPeer: Guard API availability
2024-12-02 15:20:49 +00:00
reuk
c2f567f3ee
Fix unused variable warnings
2024-12-02 14:44:24 +00:00
Anthony Nicholls
5e803ded5f
Deprecations: Add ignore deprecation warning macros
2024-11-27 11:07:04 +00:00
reuk
b108fe26c3
NSViewComponentPeer: Only forward a mouse move event if the view is not occluded by a child view
2024-11-04 11:10:54 +00:00
reuk
fcf62ab105
NSViewComponentPeer: Fix coordinate system conversion in contains()
...
The argument to hitTest must be in the superview's coordinate system.
The old implementation would sometimes break in the presence of nested
NSViews.
2024-11-04 11:10:54 +00:00
attila
d9a3efd3cb
ComponentPeer::VBlankListener: Add timestamp parameter to the vblank callback
2024-10-25 15:44:34 +02:00
reuk
555b667d22
ComponentPeer: Add isShowing() member, which more closely matches expected behaviour of Component::isShowing
2024-09-18 15:44:05 +01:00
reuk
b89553ae2c
Platform: Remove build-time Apple SDK availability checks
2024-07-03 13:50:08 +01:00
reuk
e71ebb3407
Platform: Remove compatibility checks for macOS 10.11
2024-07-02 18:06:28 +01:00
reuk
8ac7bfc9ca
Platform: Remove compatibility checks for macOS 10.10
2024-07-02 18:06:27 +01:00
reuk
6d4bf60330
Platform: Remove compatibility checks for macOS 10.9
2024-07-02 18:06:27 +01:00
reuk
da8c5fdcb4
Platform: Remove compatibility checks for macOS 10.8
2024-07-02 18:06:27 +01:00
Tom Poole
94d98a2b10
Update licensing information
2024-04-16 11:39:35 +01:00
attila
6056c686b8
MacOS: Fix invisible PopupMenu in Logic
...
We avoid modifying window controls in modal situations if possible.
Doing as much as [window setStyleMask: [window styleMask]]; for a
PopupMenu window will make it invisible on MacOS when the plugin is
hosted in an external subprocess.
This fixes a regression caused by
fb14118771 .
2024-02-01 17:59:40 +01:00
attila
fb14118771
MacOS: Disable window controls for windows created by JUCE when a Component is modal
...
The change does not affect plugin windows, which are created by the
host.
2024-01-17 18:54:37 +01:00
Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
2023-10-10 16:12:38 +01:00
Anthony Nicholls
90c458d92e
Includes: Move some miscellaneous includes into module header and source files
2023-10-09 14:49:18 +01:00
Tom Poole
4153d59e39
Formatting
2023-10-02 15:42:20 +01:00
reuk
160f4a88b1
NSViewComponentPeer: Explicitly set clipsToBounds
...
The default value of this property changed in Sonoma, but we still want
to use the old default.
2023-09-27 11:13:19 +01:00
Tom Poole
82f1fd57a4
Fix some compiler warnings
2023-08-29 12:59:09 +01:00
reuk
13f0e75ab0
NSViewComponentPeer: Fix rendering issue changing size of AUv2 window when JUCE_COREGRAPHICS_RENDER_WITH_MULTIPLE_PAINT_CALLS is enabled
2023-06-27 11:52:06 +01:00
reuk
fa6f5a889a
NSViewComponentPeer: Avoid calling makeKeyWindow on windows that cannot become key
2023-05-31 15:15:24 +01:00
reuk
cf7c865432
NSViewComponentPeer: Ensure inner views that receive key equivalents reset keyDown state correctly
2023-05-31 15:15:24 +01:00
reuk
70d99d1cc4
NSViewComponentPeer: Fix occasional rendering artefacts
...
When clearing deferredRepaints in drawRect, dirty regions in the 'next'
frame could be incorrectly removed while drawing the 'current' frame.
Now, deferredRepaints is cleared in setNeedsDisplayRectangles, as it
was before 9d50ab6c59 .
2023-04-18 16:28:52 +01:00
reuk
68beb74820
NSViewComponentPeer: Fix deferredRepaints bookkeeping when metal rendering is disabled
2023-04-11 12:36:19 +01:00
reuk
9d50ab6c59
CGMetalRenderer: Avoid glitching when resizing views
2023-04-04 19:55:12 +01:00
reuk
fe09902e83
NSViewComponentPeer: Tidying
2023-04-04 19:55:12 +01:00
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2023-04-04 19:55:11 +01:00
reuk
a7563b5e91
NSViewComponentPeer: Ignore peer-level mouse enter/exit events when mouse button is pressed
2023-04-04 19:55:11 +01:00
Anthony Nicholls
05d5c94990
Native: Rename all native files for improved consistency
2023-04-04 19:54:29 +01:00