Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
1 year ago
Tom Poole
4153d59e39
Formatting
1 year ago
reuk
59727e6860
File: Enable symbolic link creation on BSD
2 years ago
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]]
2 years ago
reuk
9a12e93f5a
File: Add hasReadAccess()
3 years ago
reuk
7d5602f7c3
File: Add hasReadAccess()
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
00e7fbf1c2
DirectoryIterator: Avoid recursing into previously-visited directories
3 years ago
ed
b9542ccc4c
Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
3 years ago
reuk
e4659fd8f2
File: Use unit test random instance to generate unique filename
4 years ago
reuk
cfd85ad4ee
UnitTestRunner: Fix bug in File tests when multiple test instances are run simultaneously
4 years ago
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
4 years ago
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
e7e1de78fa
Files: Add RangedDirectoryIterator
5 years ago
reuk
5af01b9b16
Demos: Convey proper ownership semantics
5 years ago
ed
c898376158
Check for UNC paths when normalising separators in File::parseAbsolutePath()
5 years ago
ed
ecbab99917
Normalise file separators in File::parseAbsolutePath()
5 years ago
jules
df28d11069
Added a method URL::getParentURL()
5 years ago
Tom Poole
6bcf80fb9e
Removed a problematic unit test when running as a Windows system process
5 years ago
ed
497a1b3fb7
Added juce_UnitTestCategories.h to replace raw strings used for test categories
6 years ago
ed
f3af250ff7
Tidied up unit test code layout
6 years ago
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
6 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
7 years ago
hogliux
9b386b86ec
Widnows: Fixed deprecated use of File::separator
7 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
7 years ago
jules
3d7c777238
Some light modernisation of a bunch of old code
7 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
7 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.
7 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.
8 years ago