reuk
b78114cfb3
FileChooser: Add assertion for improved safety when using modal FileChoosers
4 years ago
reuk
2a638b86e7
FileChooser: Use custom save/open panel implementations to ensure that apps cannot terminate while the panel is open
4 years ago
reuk
1d29665e56
FileChooser: Fix issue where preview component may not receive full filename
Some hosts (such as Reaper) weren't creating an instance of exactly
NSOpenPanel or NSSavePanel, which meant that the call to
`getSelectedPaths` was always returning an empty array.
Now, rather than trying to cast the sender to an appropriate type, we
assume that the sender is always the same panel that we opened earlier,
so that we can just query the panel directly for its selection.
4 years ago
reuk
fdf09a6dde
FileChooser: Ensure that macOS preview component always receives user events
Previously, when a file dialog was launched synchronously, the 'dummy' modal
component was preventing user input events from reaching the preview component.
Now, we explicitly allow input events to reach the file preview component, if
it exists.
4 years ago
reuk
dd62aec528
FileChooser: Ensure preview mouse interactions work when showing dialog on macOS
4 years ago
reuk
6fd0baa759
FileChooser: Ensure macOS FileChooserComponent shows when FileChooser is reopened
If the preview is not removed from the desktop, the FileChooser will try to reuse
the same ComponentPeer the next time the preview component is used.
4 years ago
reuk
36664cc487
FileChooser: Fix behaviour of macOS FilePreviewComponent
Previously, when the FileChooser::Native instance entered the
modal state, it was preventing the inner FilePreviewComponent from
receiving events.
4 years ago
reuk
f09b2aa4f5
FileChooser: Ensure macOS accessory panel is initially opened if custom preview component is passed
4 years ago
ed
54f65256e2
Cleaned up some whitespace
4 years ago
ed
009d685179
Updated all license headers
4 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
3c0ccda6a5
macOS: Cleaned up old 10.6 support ifdefs
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
ed
e5d1e0008e
Allow mouse events to pass to FilePreviewComponent in native file choosers
6 years ago
ed
acd3c0b8ee
Fixed some Objective-C id -> auto* conversion warnings
6 years ago
jules
d9c0f9f082
Updated a deprecated OSX symbol
6 years ago
Tom Poole
81e206f963
MacOS: Fixed a bug parsing local file URLs containing URL escape characters
6 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
jules
1a60fa9765
More ScopedPointer/unique_ptr compatibility work
7 years ago
jules
48a5fbd333
Another batch of ScopedPointer cleanups
7 years ago
Tom Poole
3c370259a9
Fixed an issue with the FileChooser prepending "/localhost" to paths
7 years ago
Tom Poole
3519de9a22
A more careful assertion about allowed file type filters in MacOS FileChoosers
7 years ago
Tom Poole
43cff0ce48
Updated the documentation to include a MacOS caveat to the FileChooser
7 years ago
jules
6a49d6efdc
Minor tidying up
7 years ago
Lukasz Kozakiewicz
5358756d58
FileChooser: misc fixes and improvements to iOS and Android file choosers.
7 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
7 years ago
hogliux
7e23bf28ae
Added iOS/Android native file chooser support and support for asynchronous invocation of file choosers
7 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
jules
74c96208fe
Removed Quicktime from the OSX build, and replaced the video player and camera implementations with AVFoundation
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
9fa0d49be7
Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc.
8 years ago
hogliux
9629de32bb
Add treatFilePackagesAsDirectories flag to native FileChooser
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
8b3935f121
Added support for extra info panels in OSX native file choosers.
10 years ago
jules
7e8cc2734d
Some workarounds for people still using the 10.5 SDK
10 years ago
jules
506ed2663f
Workaround for old versions of Xcode.
10 years ago
jules
61bf9392d0
Cleaned up a few OSX 10.10 deprecated functions.
10 years ago
jules
e0491d4574
Added support a flag JUCE_DISABLE_NATIVE_FILECHOOSERS which is pretty self-explanatory.
11 years ago
jules
c62da6c983
Cleaned up some pedantic warnings in the iOS build.
11 years ago
jules
42aa27900b
Moved most of the functionality from JUCEApplication into JUCEApplicationBase, so that it can be used without needing juce_gui_basics to be present.
11 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
ba2dc52b34
Made use of @autoreleasepool for clang builds.
12 years ago
jules
13c03e6228
Replaced some OSX 10.8 deprecated functions. Also a fix for the OSX recently-used menu.
12 years ago
jules
d273693ce2
OSX file chooser fix.
12 years ago
jules
f0618a1095
OSX file chooser fix.
12 years ago
jules
7dafc1e836
Fix for sandboxed OSX filechoosers.
12 years ago
jules
7a3453f48b
Minor clean-ups.
12 years ago
jules
7d953a629d
OSX modal behaviour fix.
12 years ago