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

147 commits

Author SHA1 Message Date
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
jules
e7a5e520c6 Updated Button::onClick and added ComboBox::onChange 2018-01-03 12:07:15 +00:00
jules
ce8b2d865a Used Button::onClick to simplify a bunch of library classes and demo code 2018-01-03 11:06:04 +00:00
ed
9bb4e025ca Made the documentation of some classes clearer regarding when a notification will be sent 2017-12-28 17:02:58 +00:00
Tom Poole
43cff0ce48 Updated the documentation to include a MacOS caveat to the FileChooser 2017-12-19 19:18:40 +00:00
Lukasz Kozakiewicz
4a6ecffd91 ContentSharing: minor tweaks. 2017-12-13 12:02:15 +00:00
jules
faa847f443 Added a method OptionalScopedPointer::reset() 2017-12-13 11:05:22 +00:00
jules
58a99ff139 Dragged the singleton macros into the 21st century.. Cleaned up their implementation and gave them new upper-case names to match juce official style. The old names are still defined to avoid breaking old code, but please update before they get deprecated! 2017-12-12 16:24:40 +00:00
Tom Poole
8cecf0baf9 Assorted threading and undefined behaviour fixes 2017-12-11 16:37:17 +00:00
Lukasz Kozakiewicz
36da4cde05 Add native content sharing support for iOS and Android 2017-12-11 16:08:01 +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
af254262f6 FileChooser: fix spelling! 2017-11-29 17:11:51 +01:00
Lukasz Kozakiewicz
5358756d58 FileChooser: misc fixes and improvements to iOS and Android file choosers. 2017-11-29 16:46:38 +01:00
jules
f85d706131 Some minor formatting and comment fixes 2017-11-28 17:46:15 +00:00
jules
a586966c65 Added lambda callback methods to ListenerList. Its old method-invocation callbacks were refactored to use variadic templates instead of the old awful macros they used in the past, but please move your code to use the new lambda functions, as the one stuff will eventually be deprecated! 2017-11-28 16:18:40 +00:00
hogliux
9e74c7ce6b Clean-up the temporary file if the file chooser was canceled or failed 2017-11-24 18:36:32 +00: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
ed
98f8ee9e04 Added some colourIds to FileBrowserComponent to control current path ComboBox and filename TextEditor colours 2017-11-21 15:06:10 +00:00
ed
f24e59e6ff Added DirectoryContentsDisplayComponent::ColourIds::highlightedTextColourId and removed a line in LookAndFeel_V4::drawFileBrowserRow() that could result in multiple unnecessary repaints 2017-11-20 16:47:38 +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