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.
3 years ago
reuk
3b93d5d7eb
FileChooser: Allow multiple directory selection on Linux/Zenity
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
ed
a840b48b75
Linux: Added a workaround for kdialog FileChooser wildcard not functioning correctly on KDE
4 years ago
ed
c73d215cc0
Linux: Use return code of `which` to determine whether executable is available instead of parsing output
4 years ago
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
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
a4bd6cbc66
Fixed some more Linux compiler warnings
6 years ago
ed
fec3b7d59e
Linux: Add warnAboutOverwriting flag capability to native file chooser
6 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
hogliux
d6b1796361
Linux: continue servicing the message loop while a file browser modal component is open ( fixes #177 )
8 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
hogliux
24a63ae2e0
If ChildProcess is not interested in stdout/stderr, then redirect to /dev/null instead of closing
9 years ago
hogliux
9629de32bb
Add treatFilePackagesAsDirectories flag to native FileChooser
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
5d56b9bdf5
Removed quotes for zenity file chooser parameters.
10 years ago
jules
9efbd199a6
Fixes for file-filter separator token parsing on linux zenity and win32.
10 years ago
jules
1db9fd9ba9
Linux kdialog file-chooser fix
10 years ago
jules
0c1f2a6a72
Extended linux zenity file chooser to use filters and bring the window to the front.
10 years ago
jules
4a0c5173e9
Fix for linux zenity file chooser.
11 years ago
jules
e0491d4574
Added support a flag JUCE_DISABLE_NATIVE_FILECHOOSERS which is pretty self-explanatory.
11 years ago
jules
8f4efb126b
Added linux support for wildcards when using kdialog.
11 years ago
jules
3bfc0a81e7
Added flags to choose whether stderr and stdout are returned by ChildProcess. Used this to fix linux native file chooser.
11 years ago
jules
0796c7afbc
Avoided an assertion in linux native file chooser
11 years ago
jules
9814792a5e
Linux file chooser fix.
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
e10dfff1af
Cleaned up some FileChooser code, and added a new method showDialog()
12 years ago
jules
c16c3a7c28
Fixed some documentation and minor GCC warnings. Fixed a JACK bug that would have mixed up the input/output channels.
12 years ago
jules
e6faf25559
Added File::userPicturesDirectory, and improved detection of special file locations on linux.
12 years ago
jules
98fcdca3ba
Added a new ChildProcess::start method that takes an argument array.
12 years ago
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.
13 years ago
jules
fce514266e
Refactored the linux Freetype font code and native file chooser (via zenity).
13 years ago
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..
13 years ago
Julian Storer
5d98779f19
Updated the date in the copyright notice.
14 years ago
Julian Storer
1751beed57
Code clean-ups. Jucer development.
15 years ago
Julian Storer
27506c2120
Copyright notice update.
15 years ago
Julian Storer
a728139698
Small fix for demo plugin code. Minor code clean-ups.
15 years ago
Julian Storer
841a6665bd
Minor string literal tidy-ups.
15 years ago
Julian Storer
7228c6b593
Minor clean-ups and fix for posix WaitableEvent.
15 years ago
Julian Storer
34201bf815
Linux build fixes.
15 years ago
Julian Storer
6b79430341
Refactored some String operators to bring them into line with c++ best practices. Removed the JUCE_STRINGS_ARE_UNICODE flag - all strings are now unicode by default. Removed the String class's implicit cast to const char* and copyToBuffer() method, replacing them with toCString(), toUTF8(), copyToCString(), copyToUnicode(), etc., so that it'll force users to think about the encoding they want to use in a particular context. Added the ability to pass a String directly to a std::ostream. Extended the juce version number to include a build number.
15 years ago
Julian Storer
773c7d7407
Changed all uses of OwnedArray<File> to be Array<File> instead, which is a bit more efficient and easier to work with. Optimised the software renderer to improve most drawing operations, particularly simple shapes filling like drawing lines, etc.
15 years ago