ed
fc0f6b1f2f
Tidy up
2021-12-02 09:24:55 +00:00
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.
2021-09-29 16:14:00 +01:00
reuk
b6ab931bcf
File: Add helper function to locate shared containers on macOS and iOS
...
File::getContainerForSecurityApplicationGroupIdentifier will return the
path to a container which is shared between all apps using the specified
app group ID. This might be useful if you need to share resources
between a standalone app and an AUv3 plugin, for example.
2021-09-23 10:28:48 +01:00
reuk
e4659fd8f2
File: Use unit test random instance to generate unique filename
2021-04-09 10:26:28 +01:00
reuk
cfd85ad4ee
UnitTestRunner: Fix bug in File tests when multiple test instances are run simultaneously
2021-04-08 13:33:11 +01:00
Tom Poole
79fbde7099
Added preliminary support for FreeBSD
2021-03-29 14:16:46 +01:00
ed
744e16eebd
Fixed some Doxygen parsing issues
2020-07-03 17:18:35 +01:00
reuk
9cc3fca7d0
RangedDirectoryIterator: Allow querying the estimated progress
2020-07-02 17:25:03 +01:00
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
2020-07-01 10:00:43 +01:00
ed
4855f52e4d
Added missing documentation tags
2020-06-27 17:26:44 +01:00
ed
4b6be143cf
Fixed some doxygen warnings
2020-05-18 14:43:50 +01:00
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +01:00
reuk
e7e1de78fa
Files: Add RangedDirectoryIterator
2020-04-13 13:16:06 +01:00
reuk
6a18c9e153
iOS: Fix type declaration in juce_File.h
2020-03-27 09:45:07 +00:00
reuk
dddeb1ad68
Build: Fix Xcode 11.4 compatibility issues
2020-03-25 13:10:32 +00:00
ed
69d5f16be0
Added some more FileInputStream unit tests
2020-03-16 11:01:49 +00:00
reuk
5af01b9b16
Demos: Convey proper ownership semantics
2020-03-12 18:30:45 +00:00
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
ed
c898376158
Check for UNC paths when normalising separators in File::parseAbsolutePath()
2019-12-02 10:58:59 +00:00
ed
ecbab99917
Normalise file separators in File::parseAbsolutePath()
2019-11-29 12:01:05 +00:00
jules
df28d11069
Added a method URL::getParentURL()
2019-09-16 14:56:44 +01:00
Tom Poole
5f21cf214c
Fixed a bug reporting write success in FileOutputStream
2019-07-22 15:17:26 +01:00
Tom Poole
6bcf80fb9e
Removed a problematic unit test when running as a Windows system process
2019-06-20 17:26:19 +01:00
Tom Poole
8f84192c9b
Fixed some more Android compiler warnings
2019-06-07 12:24:05 +01:00
ed
497a1b3fb7
Added juce_UnitTestCategories.h to replace raw strings used for test categories
2019-04-03 15:10:40 +01:00
ed
f3af250ff7
Tidied up unit test code layout
2019-04-02 11:54:29 +01:00
Tom Poole
6f6451b7d2
Restored compatibility with older versions of Xcode
2019-02-11 14:59:05 +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
Tom Poole
4094bcc45a
Fixed some Doxygen parsing errors
2018-10-25 10:18:20 +01:00
jules
302019dd43
Tidied up some comments and usage of File::createOutputStream() and createInputStream()
2018-10-04 11:29:55 +01:00
Tom Poole
f5cf03d2f5
A minor documentation update
2018-10-04 09:22:04 +01:00
ed
a64183914a
Added unit tests to the InputStream classes
2018-09-06 09:35:30 +01:00
Tom Poole
493591a7ef
Cleaned up some doc comments
2018-08-29 10:56:56 +01:00
Tom Poole
0e1722e387
Multiple spelling fixes
2018-08-20 18:16:24 +01:00
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
2018-06-13 17:11:37 +01:00
hogliux
6d55fe78fe
Added a flag to specify if File::deleteRecursively should follow symlinks or not
2018-06-13 12:07:25 +01:00
jules
30f6206be9
Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0
2018-05-10 09:10:09 +01:00
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!
2018-05-09 08:08:46 +01:00
Tom Poole
3a373cfa06
Increased the warning level when building DemoRunner on iOS
2018-04-23 17:50:04 +01:00
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
2018-04-19 20:27:47 +01:00
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
2018-04-16 12:26:42 +01:00
hogliux
06d20b20c0
Files: Added support for creating and reading relative or special path symbolic link files
2018-04-09 14:02:53 +01:00
ed
cdbc28c18b
Add documentation tags
2018-03-15 12:10:32 +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
48a5fbd333
Another batch of ScopedPointer cleanups
2018-01-10 14:49:57 +00:00
Noah Dayan
381874c20a
Fix typo in juce_TemporaryFile.h
2018-01-08 09:17:07 +00:00
jules
85f74ca7d3
Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated
2017-12-31 10:49:33 +00:00
Noah Dayan
737c82fcfc
Fix Windows doc in juce_File.h
2017-12-11 09:54:38 +00:00