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
2023-03-16 08:53:12 +00:00
Anthony Nicholls
c23eab7126
iOS: Refactor get primary display
2023-03-07 18:21:38 +00:00
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.
2023-02-22 21:00:08 +00:00
reuk
793df5dd3d
iOS Windowing: Avoid private selector warnings
2023-02-06 10:22:41 +00:00
reuk
f3b7b4ca2e
TextInputTarget: Improve input handling on macOS and iOS
2022-12-07 13:12:02 +00:00
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.
2022-08-04 22:51:18 +01:00
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.
2022-08-04 22:51:17 +01:00
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.
2022-08-04 22:51:17 +01:00
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.
2022-08-04 22:51:17 +01:00
reuk
8cab4cf5bb
Displays: Add keyboardInsets member to Display, to allow querying onscreen keyboard size
2022-07-29 18:54:50 +01:00
reuk
869760cb2a
ObjC: Add scoped notification observer
2022-07-29 18:54:50 +01:00
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
2022-05-16 17:55:48 +01:00
Tom Poole
dea3fe60e4
Update copyright banners
2022-04-04 12:36:32 +01:00
ed
112f8999fd
iOS: Fix native message box leak when no callback is provided
2021-12-07 16:25:22 +00:00
reuk
81fa777ff7
ObjC Helpers: Automatically derive appropriate signature for function
2021-11-24 11:51:11 +00:00
reuk
cfda532c9f
iOS Windowing: Avoid crashing when displaying a message box from a background thread
2021-10-25 09:51:20 +01:00
ed
7d1918b385
macOS/iOS: Replace compile-time deployment target checks with runtime checks using the available keyword
2021-10-13 15:06:18 +01:00
ed
f2b9ab15d8
iOS: Use UIPasteboard string property in SystemClipboard::getTextFromClipboard() to ensure that only NSStrings are retrieved
2021-10-07 14:30:24 +01:00
ed
3d282c1078
Desktop: Deprecate isOSXDarkModeActive() and add isDarkModeActive() for other platforms
2021-09-29 17:40:58 +01:00
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.
2021-09-28 11:31:48 +01:00
ed
f5eee033ba
NativeMessageBox: Return correctly mapped value when shown modally
2021-09-02 08:35:14 +01:00
ed
3b97c40c2d
iOS: Fix a crash in NativeMessageBox implementation when shown modally
2021-09-02 08:35:14 +01:00
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
2021-07-21 16:34:12 +01:00
reuk
8fb4541fdb
iOS: Avoid unnecessary numeric conversion
2021-03-15 19:23:01 +00:00
ed
ac1425f94e
Added Display::safeAreaInsets and implementations for iOS and Android
2021-02-08 14:38:09 +00:00
reuk
51170e6073
UIViewComponentPeer: Enable non-full-screen views
2021-01-15 10:55:48 +00:00
ed
088e100c1f
Narrowed the scoped of some undeclared Objective-C selector warnings
2020-12-10 12:48:42 +00:00
ed
301f4f5437
iOS: UIViewComponentPeer refactoring
2020-07-20 17:17:53 +01:00
ed
ccfee61773
iOS: Removed some unused deployment target checks
2020-07-20 17:17:53 +01:00
ed
009d685179
Updated all license headers
2020-06-29 08:30:22 +01:00
ed
5816958001
Squashed some deprecation warnings on the latest iOS and macOS versions
2020-05-04 17:41:52 +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
Tom Poole
7dd8e40114
iOS: Added a dealloc routine to JuceAppStartupDelegate
2018-10-12 09:02:17 +01:00
ed
b78e63aa02
Moved Displays class out of Desktop and into its own .h/.cpp and deprecated Displays::getDisplayContaining()
2018-08-10 16:37:52 +01:00
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
2018-07-18 14:54:08 +01:00
Tom Poole
3a373cfa06
Increased the warning level when building DemoRunner on iOS
2018-04-23 17:50:04 +01:00
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
2018-04-19 20:27:47 +01:00
Tom Poole
8c0f0815f0
iOS: Added memory warning callbacks
2018-01-29 15:11:56 +00:00
jules
4fcedf7be5
Standardised some lambda syntax
2018-01-08 10:28:41 +00:00
Lukasz Kozakiewicz
8ac29a4843
Fix typo.
2017-12-14 18:19:08 +00:00
jules
f3cde9763a
Quick tidy-up of some messaging classes
2017-12-04 11:30:15 +00:00
jules
f85d706131
Some minor formatting and comment fixes
2017-11-28 17:46:15 +00:00
Lukasz Kozakiewicz
e1c181425b
PushNotifications: compile out any PN code on iOS if PNs are not enabled.
2017-10-27 16:51:34 +02:00
Lukasz Kozakiewicz
b2d2bda7a1
Add Push Notifications feature for iOS and Android.
2017-10-23 09:31:06 +02:00
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
2017-09-08 08:59:55 +01:00
hogliux
b2576d288a
Added a sourceComponent parameter to the performExternalDragDropOfFiles/performExternalDragDropOfText methods of DragAndDropContainer
2017-07-11 12:54:12 +01:00
jules
21f14c478b
Tweaked an iOS shutdown behaviour
2017-06-20 11:48:55 +01:00
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
2017-04-27 14:43:04 +01:00
ed
b7b8d5be57
Multiple fixes for touch and pen input on Windows
2017-03-15 17:16:04 +00:00