reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
...
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
ed
ec990202b1
Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics
2021-05-10 10:53:14 +01:00
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
2021-03-29 14:16:46 +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
ad38182530
Added checks for DOXYGEN #define when excluding modal methods in headers
2021-02-05 14:17:19 +00:00
ed
04c28eaa3b
Added a missing #if JUCE_MODAL_LOOPS_PERMITTED guard to FileChooser modal methods
2021-02-05 14:17:19 +00:00
reuk
f647c54b74
FileChooserDialogBox: Ensure filechoosers open in front of other windows
2021-01-22 10:23:45 +00:00
reuk
c3f6318c7c
FileBrowserComponent: Update all filenameBox text when LnF changes
2020-07-03 17:52:21 +01:00
reuk
b096c16c04
FileBrowserComponent: Fix issue where up button was hidden after changing the look and feel
2020-07-01 10:00:43 +01:00
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
2020-07-01 10:00:43 +01:00
ed
009d685179
Updated all license headers
2020-06-29 08:30:22 +01:00
reuk
39b5c22a29
GUI: Ensure components refresh correctly when their look and feel changes
2020-06-12 17:27:25 +01:00
ed
b5214a341e
Normalised lambda whitespace
2020-06-05 09:37:56 +01:00
ed
d510b73cdf
Normalised all whitespace before args in std::function
2020-06-05 09:37:49 +01:00
ed
1507ceb941
Ensure that the ContentSharer singleton is cleaned up on shutdown
2020-05-20 18:08:11 +01:00
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +01:00
reuk
e7e1de78fa
Files: Add RangedDirectoryIterator
2020-04-13 13:16:06 +01:00
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
2020-04-09 15:22:56 +01:00
ed
18df1b0937
Added JUCE_CONTENT_SHARING define to conditionally compile the native content sharer code
2020-03-31 18:53:14 +01:00
ed
59a058fdc6
Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough
2020-03-09 17:39:28 +00:00
reuk
4b7043b0cd
OptionalScopedPointer: Added proper move semantics and convenience constructors
2020-02-25 17:36:36 +00:00
ed
a54da0b832
Fixed some more typos
2020-01-07 08:53:23 +00:00
ed
dcd2ee6ef8
Fixed a couple of typos in the FileChooser docs
2019-11-11 09:12:33 +00:00
Tom Poole
670f77f80c
Fixed some Android compiler warnings
2019-06-06 16:50:12 +01:00
jules
62ead7dc7d
Added some overloads to OwnedArray to let items be added from std::unique_ptrs. Also removed OwnedArray::addIfNotAlreadyThere because it's ambiguous about whether the object should be deleted if it fails to be added!
2019-05-15 11:02:03 +01:00
Tom Poole
b59fa68724
Fixed some compiler warnings
2019-05-01 11:55:33 +01:00
ed
3c312b9d76
Reworked the logic in FileBrowserComponent::currentFileIsValid() to ensure that directories can't be selected when only browsing for files
2019-04-29 11:24:22 +01:00
ed
fb5d55f052
Fixed the behaviour of FilenameComponent::getLocationToBrowse() when a default file has been set
2019-04-29 10:18:45 +01:00
ed
1a46fb3a5f
Minor whitespace tidying
2019-03-15 14:10:14 +00:00
ed
363d86ce6e
Ensure that DirectoryContentsList sends a change message when the last file in a directory is deleted
2019-02-19 12:06:04 +00:00
ed
a234721110
Added various clang-tidy modernize-* fixes
2019-01-31 15:15:31 +00:00
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
2019-01-11 09:52:10 +00:00
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
2018-11-28 17:29:20 +00:00
hogliux
008b7a9ab2
Re-structured the low-level Android native code
...
Please see the forum post "Re-structuring of JUCE’s low-level Android code" and the BREAKING-CHANGES.txt for more information.
2018-11-13 12:33:40 +00:00
jules
302019dd43
Tidied up some comments and usage of File::createOutputStream() and createInputStream()
2018-10-04 11:29:55 +01:00
Tom Poole
493591a7ef
Cleaned up some doc comments
2018-08-29 10:56:56 +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
c3c43bc738
Only send a single change message when DirectoryContentsList::refresh() is invoked
2018-06-18 09:55:08 +01:00
Tom Poole
0469fde310
Fixed a data race when iterating directory contents
2018-05-21 13:17:16 +01:00
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
2018-04-19 20:27:47 +01:00
Lukasz Kozakiewicz
b0d515f329
iOS: fix a crash in ContentSharer upon sharing finish.
2018-03-20 12:37:30 +01:00
ed
cdbc28c18b
Add documentation tags
2018-03-15 12:10:32 +00:00
hogliux
3724a52ac8
FileBrowserComponents and non-native FileChoosers will now correctly respect the initialFileOrDirectory parameter and actually select the file (if initialFileOrDirectory points to a file)
2018-02-09 12:25:35 +00:00
Noah Dayan
e690350df3
Use lambda callbacks instead of listeners with Slider, Button, Label, ComboBox and TextEditor classes
2018-01-18 15:23:57 +00:00
jules
415f0e4c90
Added an alternative version of File::findChildFiles that returns the results array rather than it being an out-parameter. In almost all cases using this new version will make your code smaller and cleaner, as you can see from all the changes in this commit!
2018-01-17 11:23:12 +00:00
jules
1a60fa9765
More ScopedPointer/unique_ptr compatibility work
2018-01-10 17:35:08 +00:00
jules
48a5fbd333
Another batch of ScopedPointer cleanups
2018-01-10 14:49:57 +00:00
jules
4fcedf7be5
Standardised some lambda syntax
2018-01-08 10:28:41 +00:00
jules
80a7718286
Added some event lambda callbacks for TextEditor and simplified a bit more code using them
2018-01-03 16:34:11 +00:00