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  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								45409bb4e6 
								
									
										
											
								
							
								 
							
						 
						
							
							
								
								FileChooser:  Hide chooser when it leaves scope on Windows  
							
							
								
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad38182530 
								
							
								 
							
						 
						
							
							
								
								Added checks for DOXYGEN #define when excluding modal methods in headers  
							
							
								
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								04c28eaa3b 
								
							
								 
							
						 
						
							
							
								
								Added a missing #if JUCE_MODAL_LOOPS_PERMITTED guard to FileChooser modal methods  
							
							
								
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								f647c54b74 
								
									
										
											
								
							
								 
							
						 
						
							
							
								
								FileChooserDialogBox:  Ensure filechoosers open in front of other windows  
							
							
								
							
							
						 
						4 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								c3f6318c7c 
								
									
										
											
								
							
								 
							
						 
						
							
							
								
								FileBrowserComponent:  Update all filenameBox text when LnF changes  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b096c16c04 
								
							
								 
							
						 
						
							
							
								
								FileBrowserComponent:  Fix issue where up button was hidden after changing the look and feel  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								394c4fd475 
								
							
								 
							
						 
						
							
							
								
								Clang:  Fix warnings when building with clang 10  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								009d685179 
								
							
								 
							
						 
						
							
							
								
								Updated all license headers  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
								
								
							
							
								
							
								39b5c22a29 
								
									
										
											
								
							
								 
							
						 
						
							
							
								
								GUI:  Ensure components refresh correctly when their look and feel changes  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b5214a341e 
								
							
								 
							
						 
						
							
							
								
								Normalised lambda whitespace  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d510b73cdf 
								
							
								 
							
						 
						
							
							
								
								Normalised all whitespace before args in std::function  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1507ceb941 
								
							
								 
							
						 
						
							
							
								
								Ensure that the ContentSharer singleton is cleaned up on shutdown  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								894e7d2bd2 
								
							
								 
							
						 
						
							
							
								
								Updated all license headers  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2d16374b14 
								
							
								 
							
						 
						
							
							
								
								Updated all license headers  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7e1de78fa 
								
							
								 
							
						 
						
							
							
								
								Files:  Add RangedDirectoryIterator  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								327f817b9b 
								
							
								 
							
						 
						
							
							
								
								Copyrights: Update commercial/gpl headers to be gpl-only  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								18df1b0937 
								
							
								 
							
						 
						
							
							
								
								Added JUCE_CONTENT_SHARING define to conditionally compile the native content sharer code  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								59a058fdc6 
								
							
								 
							
						 
						
							
							
								
								Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4b7043b0cd 
								
							
								 
							
						 
						
							
							
								
								OptionalScopedPointer:  Added proper move semantics and convenience constructors  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a54da0b832 
								
							
								 
							
						 
						
							
							
								
								Fixed some more typos  
							
							
								
							
							
						 
						5 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dcd2ee6ef8 
								
							
								 
							
						 
						
							
							
								
								Fixed a couple of typos in the FileChooser docs  
							
							
								
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								670f77f80c 
								
							
								 
							
						 
						
							
							
								
								Fixed some Android compiler warnings  
							
							
								
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								b59fa68724 
								
							
								 
							
						 
						
							
							
								
								Fixed some compiler warnings  
							
							
								
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3c312b9d76 
								
							
								 
							
						 
						
							
							
								
								Reworked the logic in FileBrowserComponent::currentFileIsValid() to ensure that directories can't be selected when only browsing for files  
							
							
								
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fb5d55f052 
								
							
								 
							
						 
						
							
							
								
								Fixed the behaviour of FilenameComponent::getLocationToBrowse() when a default file has been set  
							
							
								
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a46fb3a5f 
								
							
								 
							
						 
						
							
							
								
								Minor whitespace tidying  
							
							
								
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								363d86ce6e 
								
							
								 
							
						 
						
							
							
								
								Ensure that DirectoryContentsList sends a change message when the last file in a directory is deleted  
							
							
								
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a234721110 
								
							
								 
							
						 
						
							
							
								
								Added various clang-tidy modernize-* fixes  
							
							
								
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cadac817c6 
								
							
								 
							
						 
						
							
							
								
								Enabled some more warning flags in Xcode, and fixed the problems they caused  
							
							
								
							
							
						 
						6 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								eaf0f990d4 
								
							
								 
							
						 
						
							
							
								
								Replaced all uses of static_cast<Type&&> with std::move  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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. 
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								302019dd43 
								
							
								 
							
						 
						
							
							
								
								Tidied up some comments and usage of File::createOutputStream() and createInputStream()  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								493591a7ef 
								
							
								 
							
						 
						
							
							
								
								Cleaned up some doc comments  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ceea888507 
								
							
								 
							
						 
						
							
							
								
								Added an option to specify a parent component when creating a file chooser  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3c43bc738 
								
							
								 
							
						 
						
							
							
								
								Only send a single change message when DirectoryContentsList::refresh() is invoked  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0469fde310 
								
							
								 
							
						 
						
							
							
								
								Fixed a data race when iterating directory contents  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab863a6dc2 
								
							
								 
							
						 
						
							
							
								
								Replaced all usage of ScopedPointer with std::unique_ptr  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b0d515f329 
								
							
								 
							
						 
						
							
							
								
								iOS:   fix a crash in ContentSharer upon sharing finish.  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cdbc28c18b 
								
							
								 
							
						 
						
							
							
								
								Add documentation tags  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								e690350df3 
								
							
								 
							
						 
						
							
							
								
								Use lambda callbacks instead of listeners with Slider, Button, Label, ComboBox and TextEditor classes  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								1a60fa9765 
								
							
								 
							
						 
						
							
							
								
								More ScopedPointer/unique_ptr compatibility work  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								48a5fbd333 
								
							
								 
							
						 
						
							
							
								
								Another batch of ScopedPointer cleanups  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4fcedf7be5 
								
							
								 
							
						 
						
							
							
								
								Standardised some lambda syntax  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								80a7718286 
								
							
								 
							
						 
						
							
							
								
								Added some event lambda callbacks for TextEditor and simplified a bit more code using them  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e7a5e520c6 
								
							
								 
							
						 
						
							
							
								
								Updated Button::onClick and added ComboBox::onChange  
							
							
								
							
							
						 
						7 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce8b2d865a 
								
							
								 
							
						 
						
							
							
								
								Used Button::onClick to simplify a bunch of library classes and demo code  
							
							
								
							
							
						 
						7 years ago