reuk
1e7b91b4d2
FileChooser: Avoid potential issue when viewDidDismiss and file selection callbacks are interleaved
viewDidDisappear may be called when a file is successfully selected.
presentationControllerDidDismiss is only called when the controller is
dismissed manually by the user, e.g. by tapping outside the sheet, or by
dragging it away.
Checking for sheet dismissal is necessary in iOS 15, but not in iOS 17.
In iOS 17, tapping outside the file chooser causes a callback to
documentPickerWasCancelled instead.
1 year ago
Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
2 years ago
luzpaz
3c9645fa60
Docs: Fix typos
2 years ago
Anthony Nicholls
05d5c94990
Native: Rename all native files for improved consistency
2 years ago
reuk
9d1a6a3b28
ContentSharer: Update interface to return safer ScopedMessageBox instances
2 years ago
reuk
5401ad6427
FileChooser: Allow directory selection on iOS
2 years ago
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]]
3 years ago
Tom Poole
b1b1bf37f1
iOS: Suppress a compiler warning
3 years ago
hogliux
b01d8c3619
iOS: Fix a crash when an AUv3 editor is dismissed while showing a native iOS file chooser
3 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
0cec50618d
FileChooser: Find an appropriate peer to focus when the FileChooser is destroyed
This works around a rare issue in the DialogsDemo where the AlertWindow
would fail to display because no peer had focus.
3 years ago
reuk
038d6dff32
FileChooser: Avoid calling member functions on pimpl after it is destroyed
3 years ago
reuk
1509d6796b
FileChooser: Allow multiple selection on iOS
3 years ago
reuk
81fa777ff7
ObjC Helpers: Automatically derive appropriate signature for function
4 years ago
ed
7d1918b385
macOS/iOS: Replace compile-time deployment target checks with runtime checks using the available keyword
4 years ago
reuk
a70488e38e
MacOS: Fix API deprecations in macOS 12.0 and iOS 15.0
4 years ago
Tom Poole
a9ad07a945
Use RAII for CFTypes
4 years ago
reuk
fd2f866dd1
FileChooser: Avoid throwing bad_weak_ptr
It seems like shared_from_this may not be enabled when a unique_ptr is
assigned to a shared_ptr (although it *should* be enabled when
constructing a new shared_ptr from a unique_ptr). Functions that return
objects that may need to use shared_from_this now return shared_ptr,
just to be safe.
Additionally, in some cases, shared_from_this was being called from
Thread::run after the last reference to the shared object had been
released. We now call shared_from_this during 'open', which will always
run on the message thread while at least once reference to the shared
object is alive.
4 years ago
reuk
45409bb4e6
FileChooser: Hide chooser when it leaves scope on Windows
4 years ago
ed
e18284978f
FileChooser: Check JUCE_MODAL_LOOPS_PERMITTED in Native::runModally()
4 years ago
reuk
4fd3dfb51b
FileChooser: Temporarily silence deprecation warnings on iOS
5 years ago
ed
b7e28541ca
Replaced deprecated Displays methods
5 years ago
ed
dd3c96b7e7
iOS: Make sure that native FileChooser is visible and is dismissed correctly when user taps outside the chooser window
5 years ago
ed
009d685179
Updated all license headers
5 years ago
ed
889f3baa70
iOS: Fixed a leak in the FileChooser code
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
ed
8d75cc8064
iOS: Fixed a screen rotation bug on iOS 13
6 years ago
Tom Poole
670f77f80c
Fixed some Android compiler warnings
6 years ago
ed
acd3c0b8ee
Fixed some Objective-C id -> auto* conversion warnings
7 years ago
hogliux
ceea888507
Added an option to specify a parent component when creating a file chooser
7 years ago
hogliux
3a8c63f5d4
iOS: Ensured that native file choosers also work in iOS apps
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
hogliux
9d5a489855
Fixed an assertion which could occur if you specified an extra semicolon at the end of your wildcard filter string
7 years ago
jules
51f6c5d01c
Tidied up a few bits of messy String concatenation
8 years ago
Lukasz Kozakiewicz
7297f62182
FileChooser: actually do store URL security bookmark in a smart pointer (as it was originally on an internal branch). Also update the docs to clearly indicate that a user has to use URL returned from FileChooser.
8 years ago
jules
6a49d6efdc
Minor tidying up
8 years ago
Lukasz Kozakiewicz
5358756d58
FileChooser: misc fixes and improvements to iOS and Android file choosers.
8 years ago
hogliux
df8fc9b910
FileChoosers: Added a file-chooser save mode where the caller already supplies a temporary file which should be saved. JUCE will automatically move the temporary file to the location selected by the user
8 years ago
hogliux
7e23bf28ae
Added iOS/Android native file chooser support and support for asynchronous invocation of file choosers
8 years ago