reuk
53bfd5b16d
WindowUtils: Make areThereAnyAlwaysOnTopWindows() public
2 years ago
Anthony Nicholls
05d5c94990
Native: Rename all native files for improved consistency
2 years ago
Anthony Nicholls
cff722a4af
GUI Basics: Refactor juce_gui_basics file structure
- Created a new detail namespace
- Moved shared module implementation details into the detail namespace
- Split dependencies so source files only rely on details in the detail namespace
- Removed all code from the juce_gui_basics.cpp file
2 years ago
Anthony Nicholls
c23eab7126
iOS: Refactor get primary display
2 years ago
reuk
79ed81c24a
ScopedMessageBox: Add new helper type to bound alert window lifetimes
The biggest new feature in this commit is the addition of
NativeMessageBox::scopedAsync and AlertWindow::scopedAsync, both of
which return an instance of ScopedMessageBox that will hide the message
box in its destructor.
The code for displaying modal dialogs on Windows has also been updated.
Now, the dialog itself is run from a new thread with its own message
loop. This means that when the dialog is dismissed, the background
thread can be joined safely. In plugins, this means that there's no
danger of the plugin view being destroyed from within the message box
runloop, for example.
2 years ago
reuk
793df5dd3d
iOS Windowing: Avoid private selector warnings
2 years ago
reuk
f3b7b4ca2e
TextInputTarget: Improve input handling on macOS and iOS
2 years ago
reuk
0d8a94ae04
PushNotifications: Silence deprecation warnings
The warnings are only silenced in code that is conditionally used on
older platforms. When the newer (non-deprecated) API is available, it
will be used.
2 years ago
reuk
76e95d01ed
iOS: Remove iOS 12 preprocessor checks
The current minimum-supported Xcode (10.1) includes the iOS 12.1 SDK, so
APIs from iOS 12 will always be available.
2 years ago
reuk
a22b23e335
iOS: Remove iOS 11 preprocessor checks
The current minimum-supported Xcode (10.1) includes the iOS 12.1 SDK, so
APIs from iOS 10 will always be available.
2 years ago
reuk
f821015080
iOS: Remove iOS 10 preprocessor checks
The current minimum-supported Xcode (10.1) includes the iOS 12.1 SDK, so
APIs from iOS 10 will always be available.
2 years ago
reuk
8cab4cf5bb
Displays: Add keyboardInsets member to Display, to allow querying onscreen keyboard size
3 years ago
reuk
869760cb2a
ObjC: Add scoped notification observer
3 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
ed
112f8999fd
iOS: Fix native message box leak when no callback is provided
3 years ago
reuk
81fa777ff7
ObjC Helpers: Automatically derive appropriate signature for function
3 years ago
reuk
cfda532c9f
iOS Windowing: Avoid crashing when displaying a message box from a background thread
3 years ago
ed
7d1918b385
macOS/iOS: Replace compile-time deployment target checks with runtime checks using the available keyword
3 years ago
ed
f2b9ab15d8
iOS: Use UIPasteboard string property in SystemClipboard::getTextFromClipboard() to ensure that only NSStrings are retrieved
3 years ago
ed
3d282c1078
Desktop: Deprecate isOSXDarkModeActive() and add isDarkModeActive() for other platforms
3 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.
3 years ago
ed
f5eee033ba
NativeMessageBox: Return correctly mapped value when shown modally
3 years ago
ed
3b97c40c2d
iOS: Fix a crash in NativeMessageBox implementation when shown modally
3 years ago
ed
551d7b9c5b
Add MessageBoxOptions class for specifying a set of AlertWindow and NativeMessageBox options
- Add AlertWindow::show() and showAsync() methods that take a MessageBoxOptions argument
- Add NativeMessageBox::show() and showAsync() methods that take a MessageBoxOptions argument
- Update the DialogsDemo to demonstrate the new methods
- Deprecate AlertWindow::showNativeDialogBox() in favour of the NativeMessageBox methods
- Pass button strings specified in MesssageBoxOptions to native dialog boxes correctly
- Use modern TaskDialog on Windows for the native dialog box where available
3 years ago
reuk
8fb4541fdb
iOS: Avoid unnecessary numeric conversion
4 years ago
ed
ac1425f94e
Added Display::safeAreaInsets and implementations for iOS and Android
4 years ago
reuk
51170e6073
UIViewComponentPeer: Enable non-full-screen views
4 years ago
ed
088e100c1f
Narrowed the scoped of some undeclared Objective-C selector warnings
4 years ago
ed
301f4f5437
iOS: UIViewComponentPeer refactoring
5 years ago
ed
ccfee61773
iOS: Removed some unused deployment target checks
5 years ago
ed
009d685179
Updated all license headers
5 years ago
ed
5816958001
Squashed some deprecation warnings on the latest iOS and macOS versions
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
Tom Poole
7dd8e40114
iOS: Added a dealloc routine to JuceAppStartupDelegate
6 years ago
ed
b78e63aa02
Moved Displays class out of Desktop and into its own .h/.cpp and deprecated Displays::getDisplayContaining()
6 years ago
ed
4280b51d09
Made the DragAndDropContainer::performExternalDragDropOfFiles() and ::performExternalDragDropOfText() methods asynchronous on Windows so that behaviour is consistent across all platforms and updated the documentation to reflect this
7 years ago
Tom Poole
3a373cfa06
Increased the warning level when building DemoRunner on iOS
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
Tom Poole
8c0f0815f0
iOS: Added memory warning callbacks
7 years ago
jules
4fcedf7be5
Standardised some lambda syntax
7 years ago
Lukasz Kozakiewicz
8ac29a4843
Fix typo.
7 years ago
jules
f3cde9763a
Quick tidy-up of some messaging classes
7 years ago
jules
f85d706131
Some minor formatting and comment fixes
7 years ago
Lukasz Kozakiewicz
e1c181425b
PushNotifications: compile out any PN code on iOS if PNs are not enabled.
7 years ago
Lukasz Kozakiewicz
d31e44b5ab
PushNotifications: compile out any PN code on iOS if PNs are not enabled.
7 years ago
Lukasz Kozakiewicz
b2d2bda7a1
Add Push Notifications feature for iOS and Android.
8 years ago
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
7 years ago