1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-05 03:50:07 +00:00
Commit graph

25 commits

Author SHA1 Message Date
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