1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
Commit graph

38 commits

Author SHA1 Message Date
Anthony Nicholls
05d5c94990
Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
reuk
9d1a6a3b28
ContentSharer: Update interface to return safer ScopedMessageBox instances 2023-03-27 11:54:37 +01:00
reuk
5401ad6427
FileChooser: Allow directory selection on iOS 2023-01-25 17:07:24 +00:00
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]] 2022-12-01 11:41:50 +00:00
Tom Poole
b1b1bf37f1 iOS: Suppress a compiler warning 2022-11-23 09:15:38 +00:00
hogliux
b01d8c3619 iOS: Fix a crash when an AUv3 editor is dismissed while showing a native iOS file chooser 2022-11-03 12:06:31 +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
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.
2022-01-10 22:15:20 +00:00
reuk
038d6dff32
FileChooser: Avoid calling member functions on pimpl after it is destroyed 2022-01-10 22:15:20 +00:00
reuk
1509d6796b
FileChooser: Allow multiple selection on iOS 2021-12-01 15:35:54 +00:00
reuk
81fa777ff7
ObjC Helpers: Automatically derive appropriate signature for function 2021-11-24 11:51:11 +00: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
reuk
a70488e38e MacOS: Fix API deprecations in macOS 12.0 and iOS 15.0 2021-06-10 15:20:39 +01:00
Tom Poole
a9ad07a945 Use RAII for CFTypes 2021-03-25 15:48:35 +00:00
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.
2021-03-03 19:21:43 +00:00
reuk
45409bb4e6
FileChooser: Hide chooser when it leaves scope on Windows 2021-03-02 10:49:39 +00:00
ed
e18284978f FileChooser: Check JUCE_MODAL_LOOPS_PERMITTED in Native::runModally() 2021-02-22 09:08:09 +00:00
reuk
4fd3dfb51b FileChooser: Temporarily silence deprecation warnings on iOS 2020-10-29 15:53:33 +00:00
ed
b7e28541ca Replaced deprecated Displays methods 2020-10-27 12:38:59 +00:00
ed
dd3c96b7e7 iOS: Make sure that native FileChooser is visible and is dismissed correctly when user taps outside the chooser window 2020-07-20 17:17:54 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
ed
889f3baa70 iOS: Fixed a leak in the FileChooser code 2020-05-28 14:17: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
ed
8d75cc8064 iOS: Fixed a screen rotation bug on iOS 13 2019-11-01 16:00:40 +00:00
Tom Poole
670f77f80c Fixed some Android compiler warnings 2019-06-06 16:50:12 +01:00
ed
acd3c0b8ee Fixed some Objective-C id -> auto* conversion warnings 2018-10-24 16:20:45 +01:00
hogliux
ceea888507 Added an option to specify a parent component when creating a file chooser 2018-07-10 17:41:40 +01:00
hogliux
3a8c63f5d4 iOS: Ensured that native file choosers also work in iOS apps 2018-07-05 16:33:31 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
hogliux
9d5a489855 Fixed an assertion which could occur if you specified an extra semicolon at the end of your wildcard filter string 2018-03-13 15:44:49 +00:00
jules
51f6c5d01c Tidied up a few bits of messy String concatenation 2017-12-05 12:03:30 +00:00
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. 2017-11-29 22:15:48 +01:00
jules
6a49d6efdc Minor tidying up 2017-11-29 17:33:00 +00:00
Lukasz Kozakiewicz
5358756d58 FileChooser: misc fixes and improvements to iOS and Android file choosers. 2017-11-29 16:46:38 +01:00
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 2017-11-22 14:03:42 +00:00
hogliux
7e23bf28ae Added iOS/Android native file chooser support and support for asynchronous invocation of file choosers 2017-11-20 10:56:08 +00:00