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

43 commits

Author SHA1 Message Date
Anthony Nicholls
05d5c94990
Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +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
7504fa065b
FileChooser: In Linux FileChoosers, prefer to open files rather than directories if both are requested
Zenity and Kdialog only support opening either files or directories
during a single invocation.
2021-09-27 12:48:59 +01:00
reuk
3b93d5d7eb FileChooser: Allow multiple directory selection on Linux/Zenity 2021-05-24 19:41:11 +01: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
ed
a840b48b75 Linux: Added a workaround for kdialog FileChooser wildcard not functioning correctly on KDE 2020-08-21 09:08:31 +01:00
ed
c73d215cc0 Linux: Use return code of which to determine whether executable is available instead of parsing output 2020-07-28 15:23:52 +01:00
ed
e92749e7ca Linux: Fixed a bug in detecting which native file browser to use on Manjaro where which returns a non-empty string on failure and fixed a bug in zenity wildcard args 2020-07-20 17:17:54 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +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
a4bd6cbc66 Fixed some more Linux compiler warnings 2019-06-06 10:25:19 +01:00
ed
fec3b7d59e Linux: Add warnAboutOverwriting flag capability to native file chooser 2019-04-01 10:05:10 +01: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
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
d6b1796361 Linux: continue servicing the message loop while a file browser modal component is open (fixes #177) 2017-05-09 12:43:08 +01:00
hogliux
b5afccc37c Updated file headers and the README with the JUCE 5 license 2017-04-27 14:43:04 +01:00
hogliux
24a63ae2e0 If ChildProcess is not interested in stdout/stderr, then redirect to /dev/null instead of closing 2016-05-21 08:53:03 +01:00
hogliux
9629de32bb Add treatFilePackagesAsDirectories flag to native FileChooser 2016-02-09 09:44:31 +00:00
hogliux
c7b8e77031 Update copyright notice 2015-07-22 15:59:34 +01:00
jules
5d56b9bdf5 Removed quotes for zenity file chooser parameters. 2015-06-29 12:26:49 +01:00
jules
9efbd199a6 Fixes for file-filter separator token parsing on linux zenity and win32. 2015-06-25 10:07:19 +01:00
jules
1db9fd9ba9 Linux kdialog file-chooser fix 2014-10-12 16:14:53 +01:00
jules
0c1f2a6a72 Extended linux zenity file chooser to use filters and bring the window to the front. 2014-07-21 16:51:05 +01:00
jules
4a0c5173e9 Fix for linux zenity file chooser. 2014-04-10 21:01:06 +01:00
jules
e0491d4574 Added support a flag JUCE_DISABLE_NATIVE_FILECHOOSERS which is pretty self-explanatory. 2014-03-25 17:30:26 +00:00
jules
8f4efb126b Added linux support for wildcards when using kdialog. 2014-01-22 16:26:15 +00:00
jules
3bfc0a81e7 Added flags to choose whether stderr and stdout are returned by ChildProcess. Used this to fix linux native file chooser. 2013-10-12 17:00:16 +01:00
jules
0796c7afbc Avoided an assertion in linux native file chooser 2013-10-07 11:22:13 +01:00
jules
9814792a5e Linux file chooser fix. 2013-09-03 10:45:08 +01:00
jules
03c2801f3f Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3 2013-06-13 13:17:12 +01:00
jules
e10dfff1af Cleaned up some FileChooser code, and added a new method showDialog() 2013-03-30 11:22:47 +00:00
jules
c16c3a7c28 Fixed some documentation and minor GCC warnings. Fixed a JACK bug that would have mixed up the input/output channels. 2012-11-14 11:42:17 +00:00
jules
e6faf25559 Added File::userPicturesDirectory, and improved detection of special file locations on linux. 2012-10-15 15:09:55 +01:00
jules
98fcdca3ba Added a new ChildProcess::start method that takes an argument array. 2012-10-14 12:54:40 +01:00
jules
49870de020 Added a bit of extra functionality to WindowsRegistry. Linux: couple of fixes for fullscreen, file chooser, and a bit of tidying up. Internal refactoring in NSViewComponent. 2012-03-18 16:41:03 +00:00
jules
fce514266e Refactored the linux Freetype font code and native file chooser (via zenity). 2011-09-25 21:33:38 +01:00
Julian Storer
b70e0a28d2 First check-in of the "jucequake": a major re-organisation of the library to break it up into modules. For more details about this, see the website forum.. 2011-08-12 10:04:52 +01:00
Renamed from src/native/linux/juce_linux_FileChooser.cpp (Browse further)