Tom Poole
6f6451b7d2
Restored compatibility with older versions of Xcode
6 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
7 years ago
hogliux
6d55fe78fe
Added a flag to specify if File::deleteRecursively should follow symlinks or not
7 years ago
jules
d4762f1d9a
Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0
7 years ago
jules
30f6206be9
Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0
7 years ago
jules
8c38c6f57f
Marked as deprecated: String::empty, var::null, File::nonexistent, ValueTree::invalid and other problematic statically-initialised null values. Please just use the default constructor for these classes!
7 years ago
Tom Poole
3a373cfa06
Increased the warning level when building DemoRunner on iOS
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
jules
efda09a512
Added a parameter to File::appendText, File::replaceWithText and OutputStream::writeText to provide control over if/how line-feeds are replaced when writing text to a file
7 years ago
hogliux
06d20b20c0
Files: Added support for creating and reading relative or special path symbolic link files
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
f85d706131
Some minor formatting and comment fixes
8 years ago
hogliux
9b386b86ec
Widnows: Fixed deprecated use of File::separator
8 years ago
jules
2ee168ad46
Deprecated File::separator and File::separatorString, replacing them by static getter functions, so that File methods can be safely used in static constructors without order-of-initialisation problems
8 years ago
jules
3d7c777238
Some light modernisation of a bunch of old code
8 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
8 years ago
ed
6bfcd820b4
Unit tests: Added an optional argument to the UnitTest constructor to specify a category and methods to get and run unit tests in a specified category. Updated the built-in JUCE unit tests and Demo project to use categories.
8 years ago
tpoole
f1409640f8
Added File::isRoot()
8 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
fbee2788ee
Made File::appendText return false if the write failed
8 years ago
jules
44cd80969d
A few C++11 modernisations and comment corrections
8 years ago
jules
8ed41ed14b
Fixed some whitespace style and cleaned up some code using C++11
8 years ago
jules
d3bb833f0e
Made File::getRelativePathFrom() return '.' if comparing two identical folders.
8 years ago
hogliux
9f3fb1c0a6
Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated
8 years ago
jules
9e0370c9b7
Made sure the File::getNonexistentChildFile() method's putNumbersInBrackets is used when the name already ends in a digit
8 years ago
tpoole
2e84129479
Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license
8 years ago
ed
e93eee0eb1
Added NaturalFileComparator struct to File. Reverted File::compareFilenames method to old behaviour.
9 years ago
ed
d6fc589b6d
Reverted File::compareFilenames() method to not compare filenames naturally and added an optional argument to use a natural comparison
9 years ago
ed
2f5b8e5f9f
Changed File::compareFilenames() method to use String::compareNatural() and added argument to String::compareNatural() for case sensitivity
9 years ago
jules
9fa0d49be7
Added an option JUCE_ALLOW_STATIC_NULL_VARIABLES that can be used to turn off dangerous statics like String::empty, var::null, etc.
9 years ago
stefan
8ec9443543
Projucer various fixes
* Use separate folder for disk cache in debug mode to avoid mixing debug/release-mode object files while testing
* Quote the server's file name as it may contain spaces etc.
* Fix saving source files during compilation on Windows
* Fix JuceDemo for live builds on Mac: long chains of recursive operator<< invocations caused compiler crash
* Move code for creating disabled Build tab to extra function and add names to improve readability
* Implement new "subscribe" behavior for createDisabledBuildTab
* Clean up trailing spaces
9 years ago
hogliux
ec9c033cdf
Add exclusive flag to MemoryMappedFile
9 years ago
jules
16913f2cd6
Added a unit test
9 years ago
jules
69a7506274
Made File remove any redundant "/./" subfolders of paths that it is given
9 years ago
jules
28a322138d
Added method Desktop::isOSXDarkModeActive()
9 years ago
jules
e86417b60f
Added some more File unit tests, and fixed a parsing problem with dot-prefixed filenames
9 years ago
jules
bbee942645
Made File::getChildFile handle paths containing double-slashes
9 years ago
jules
f6dd015999
The File class will now canonicalise the paths that it is given, to remove ellipsis
9 years ago
jules
02492b36b9
Lots of small whitespace tweaks.
10 years ago
Joshua Gerrard
e220f35250
Fixed compilation errors on MinGW
10 years ago
jules
810f2bfb2a
Introjucer: Added Android Studio exporter
10 years ago
jules
88ca15e6f2
Added override specifiers to unit test classes
10 years ago
hogliux
c7b8e77031
Update copyright notice
10 years ago
jules
58105cde57
Fix for File::isDirectory on posix when given a File::nonexistent. Also added unit tests for this.
10 years ago
jules
9c884f79d3
Added method File::setExecutePermission()
11 years ago
jules
fe61c37d93
Updated the return types of OutputStream::writeFromInputStream and InputStream::readIntoMemoryBlock
11 years ago
jules
b5af44a485
Couple of minor clean-ups.
11 years ago
jules
e5e24fd541
Avoided assertion in File::isAbsolutePath
11 years ago
jules
a316bd5f6f
Removed a few more places where static objects could cause problems for people who do unwise amounts of work in their static constructors.
12 years ago
jules
2edec00b55
Removed a few more uses of String::empty.
12 years ago