151 Commits (bf51d2c076f68fc5a16697c1ea5b51f68d1024a1)

Author SHA1 Message Date
  ed 59a058fdc6 Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough 5 years ago
  reuk 4b7043b0cd OptionalScopedPointer: Added proper move semantics and convenience constructors 5 years ago
  ed a54da0b832 Fixed some more typos 5 years ago
  ed dcd2ee6ef8 Fixed a couple of typos in the FileChooser docs 5 years ago
  Tom Poole 670f77f80c Fixed some Android compiler warnings 6 years ago
  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! 6 years ago
  Tom Poole b59fa68724 Fixed some compiler warnings 6 years ago
  ed 3c312b9d76 Reworked the logic in FileBrowserComponent::currentFileIsValid() to ensure that directories can't be selected when only browsing for files 6 years ago
  ed fb5d55f052 Fixed the behaviour of FilenameComponent::getLocationToBrowse() when a default file has been set 6 years ago
  ed 1a46fb3a5f Minor whitespace tidying 6 years ago
  ed 363d86ce6e Ensure that DirectoryContentsList sends a change message when the last file in a directory is deleted 6 years ago
  ed a234721110 Added various clang-tidy modernize-* fixes 6 years ago
  jules cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 6 years ago
  ed eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 6 years ago
  hogliux 008b7a9ab2 Re-structured the low-level Android native code 6 years ago
  jules 302019dd43 Tidied up some comments and usage of File::createOutputStream() and createInputStream() 6 years ago
  Tom Poole 493591a7ef Cleaned up some doc comments 6 years ago
  hogliux ceea888507 Added an option to specify a parent component when creating a file chooser 6 years ago
  hogliux c3c43bc738 Only send a single change message when DirectoryContentsList::refresh() is invoked 7 years ago
  Tom Poole 0469fde310 Fixed a data race when iterating directory contents 7 years ago
  Tom Poole ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 7 years ago
  Lukasz Kozakiewicz b0d515f329 iOS: fix a crash in ContentSharer upon sharing finish. 7 years ago
  ed cdbc28c18b Add documentation tags 7 years ago
  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) 7 years ago
  Noah Dayan e690350df3 Use lambda callbacks instead of listeners with Slider, Button, Label, ComboBox and TextEditor classes 7 years ago
  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! 7 years ago
  jules 1a60fa9765 More ScopedPointer/unique_ptr compatibility work 7 years ago
  jules 48a5fbd333 Another batch of ScopedPointer cleanups 7 years ago
  jules 4fcedf7be5 Standardised some lambda syntax 7 years ago
  jules 80a7718286 Added some event lambda callbacks for TextEditor and simplified a bit more code using them 7 years ago
  jules e7a5e520c6 Updated Button::onClick and added ComboBox::onChange 7 years ago
  jules ce8b2d865a Used Button::onClick to simplify a bunch of library classes and demo code 7 years ago
  ed 9bb4e025ca Made the documentation of some classes clearer regarding when a notification will be sent 7 years ago
  Tom Poole 43cff0ce48 Updated the documentation to include a MacOS caveat to the FileChooser 7 years ago
  Lukasz Kozakiewicz 4a6ecffd91 ContentSharing: minor tweaks. 7 years ago
  jules faa847f443 Added a method OptionalScopedPointer::reset() 7 years ago
  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! 7 years ago
  Tom Poole 8cecf0baf9 Assorted threading and undefined behaviour fixes 7 years ago
  Lukasz Kozakiewicz 36da4cde05 Add native content sharing support for iOS and Android 7 years ago
  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. 7 years ago
  jules 6a49d6efdc Minor tidying up 7 years ago
  Lukasz Kozakiewicz af254262f6 FileChooser: fix spelling! 7 years ago
  Lukasz Kozakiewicz 5358756d58 FileChooser: misc fixes and improvements to iOS and Android file choosers. 7 years ago
  jules f85d706131 Some minor formatting and comment fixes 7 years ago
  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! 7 years ago
  hogliux 9e74c7ce6b Clean-up the temporary file if the file chooser was canceled or failed 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
  ed 98f8ee9e04 Added some colourIds to FileBrowserComponent to control current path ComboBox and filename TextEditor colours 7 years ago
  ed f24e59e6ff Added DirectoryContentsDisplayComponent::ColourIds::highlightedTextColourId and removed a line in LookAndFeel_V4::drawFileBrowserRow() that could result in multiple unnecessary repaints 7 years ago
  hogliux 7e23bf28ae Added iOS/Android native file chooser support and support for asynchronous invocation of file choosers 7 years ago