reuk
4fd3dfb51b
FileChooser: Temporarily silence deprecation warnings on iOS
4 years ago
ed
bef6a91294
Linux: Made the Desktop singleton usable when running headless
4 years ago
ed
b7e28541ca
Replaced deprecated Displays methods
4 years ago
reuk
b78114cfb3
FileChooser: Add assertion for improved safety when using modal FileChoosers
4 years ago
reuk
2a638b86e7
FileChooser: Use custom save/open panel implementations to ensure that apps cannot terminate while the panel is open
4 years ago
reuk
1d29665e56
FileChooser: Fix issue where preview component may not receive full filename
Some hosts (such as Reaper) weren't creating an instance of exactly
NSOpenPanel or NSSavePanel, which meant that the call to
`getSelectedPaths` was always returning an empty array.
Now, rather than trying to cast the sender to an appropriate type, we
assume that the sender is always the same panel that we opened earlier,
so that we can just query the panel directly for its selection.
4 years ago
reuk
fdf09a6dde
FileChooser: Ensure that macOS preview component always receives user events
Previously, when a file dialog was launched synchronously, the 'dummy' modal
component was preventing user input events from reaching the preview component.
Now, we explicitly allow input events to reach the file preview component, if
it exists.
4 years ago
reuk
dd62aec528
FileChooser: Ensure preview mouse interactions work when showing dialog on macOS
4 years ago
reuk
6fd0baa759
FileChooser: Ensure macOS FileChooserComponent shows when FileChooser is reopened
If the preview is not removed from the desktop, the FileChooser will try to reuse
the same ComponentPeer the next time the preview component is used.
4 years ago
reuk
36664cc487
FileChooser: Fix behaviour of macOS FilePreviewComponent
Previously, when the FileChooser::Native instance entered the
modal state, it was preventing the inner FilePreviewComponent from
receiving events.
4 years ago
reuk
f09b2aa4f5
FileChooser: Ensure macOS accessory panel is initially opened if custom preview component is passed
4 years ago
reuk
2b03936461
FileChooser: Use old-style win32 file chooser if user passes a custom preview component
4 years ago
reuk
8ad5ea0cb1
FileChooser: Fix win32 threading bug
The Win32NativeFileChooser was taking ownership of itself
in its `Thread::run` implementation. This meant that sometimes
the destructor of the file chooser thread would execute directly
in `Thread::run`.
Now, we explicitly transfer ownership into a function object which
will run asynchronously on the main thread. This way, the file chooser
thread will be stopped on the main thread.
4 years ago
reuk
4d27422d9f
GCC: Suppress cast-align warnings
4 years ago
reuk
49588b704e
Linux: Fix some cast warnings
4 years ago
ed
4a09440222
Windows: Return result of ComponentPeer::handleKeyPress() in doAppCommand() to prevent JUCE apps always consuming media keys
4 years ago
ed
a840b48b75
Linux: Added a workaround for kdialog FileChooser wildcard not functioning correctly on KDE
4 years ago
ed
876aceed99
Windows: Made the behaviour of the new native FileChooser consistent with the old when saving a file with no extension specified
4 years ago
reuk
994ba04d7e
FileChooser: Use a newer friendlier filebrowser on Windows
4 years ago
ed
f85d362c9f
iOS: Fixed ContentSharer native window visibility
4 years ago
ed
c73d215cc0
Linux: Use return code of `which` to determine whether executable is available instead of parsing output
4 years ago
ed
00ed43e29a
Linux: Fixed a UTF-8 conversion issue in the system clipboard code
4 years ago
ed
e92749e7ca
Linux: Fixed a bug in detecting which native file browser to use on Manjaro where `which` returns a non-empty string on failure and fixed a bug in zenity wildcard args
4 years ago
ed
9db01c4362
Linux: Set class hint for windows so they behave correctly in the dock
4 years ago
ed
1b2c9c154b
iOS: Don't set the font smoothing property of the graphics context on iOS so that cached Component images render the same as the default
4 years ago
ed
dd3c96b7e7
iOS: Make sure that native FileChooser is visible and is dismissed correctly when user taps outside the chooser window
4 years ago
ed
8152b21bf2
iOS: Fixed warning about adding rootViewController view to view hierarchy
4 years ago
ed
54f65256e2
Cleaned up some whitespace
4 years ago
ed
301f4f5437
iOS: UIViewComponentPeer refactoring
4 years ago
ed
ccfee61773
iOS: Removed some unused deployment target checks
4 years ago
ed
6e9261ea66
macOS: Don't pass native menu key events to currently focused Component
4 years ago
ed
a5d26db341
macOS: Call superclass constrainFrameRect for NSWindow to ensure that native title bar stays on screen
4 years ago
ed
c8a416f476
Obj-C++: Added obc_msgSendSuper_stret overloads for ObjCMsgSendSuper() and refactored the superclass messaging a bit
4 years ago
reuk
4e0f3e8c91
macOS: Fix bug where keyUp messages were forwarding to the superclass keyDown
4 years ago
juce-team
f9f5caa5cc
macOS 11: Fix function pointer conversions
4 years ago
reuk
b27017a5e3
macOS: Initial support for macOS 11 and arm64
4 years ago
ed
af968f5d78
Small fix for previous commit
4 years ago
ed
f1a5f2ef1e
Windows: Fixed drag and drop position for DPI-unaware windows
4 years ago
ed
c64ddc4490
Linux: Use versioned X11 libs to load symbols so we aren't relying on the *-dev libs to be installed on user's machines
4 years ago
reuk
c6861bf96e
Clang: Remove unused data member
4 years ago
ed
009d685179
Updated all license headers
4 years ago
ed
0f6cdd8457
Linux: Fixed some issues with headless builds and don't terminate process when no X server is running
4 years ago
reuk
cbfbd8cf12
CoreGraphics: Use generic colour spaces, instead of device colour spaces
5 years ago
ed
945cf12581
Linux: Don't call XFreeCursor() on invalid display
5 years ago
ed
ce16bd3df9
macOS: Use CGContextGetUserSpaceToDeviceSpaceTransform to get backing scale factor of graphics context to avoid unnecessary upscaling on retina displays on macOS 10.14+
5 years ago
ed
7b17d42039
macOS: Use CGContextGetUserSpaceToDeviceSpaceTransform to get backing scale factor of graphics context to avoid unnecessary upscaling on retina displays on macOS 10.14+
5 years ago
ed
b5214a341e
Normalised lambda whitespace
5 years ago
ed
b883284a1f
Android: Fixed inverted screensaver logic
5 years ago
ed
4c95c227f6
Android: Fixed inverted screensaver logic
5 years ago
ed
889f3baa70
iOS: Fixed a leak in the FileChooser code
5 years ago