tpoole
278505913c
Restored non-flushing behaviour of FileOutputStream
8 years ago
tpoole
495e2bfd56
Fixed file flushing for FileOutputStream on Windows
8 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.
8 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
8 years ago
hogliux
ec9c033cdf
Add exclusive flag to MemoryMappedFile
8 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
Timur Doumler
fc69dc00db
Changed addIfNotAlreadyThere method of all array classes to return a bool, indicating whether the object was added or not.
9 years ago
jules
eca3a5b232
Fixed a typo in a comment
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
db09156251
Added a couple of missing 'override's
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.
9 years ago
jules
41c2e8ea26
Minor documentation correction in File.
9 years ago
Joshua Gerrard
e220f35250
Fixed compilation errors on MinGW
9 years ago
jules
810f2bfb2a
Introjucer: Added Android Studio exporter
9 years ago
jules
8602b8b172
Minor spelling correction
9 years ago
jules
88ca15e6f2
Added override specifiers to unit test classes
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 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
f6395d4cda
Raised the warnings level in the introjucer, and fixed a few warnings that were thrown up by this.
10 years ago
jules
c5d9600fa1
Added comment to a file method.
10 years ago
jules
73d2d1469b
Avoided some recursion in DirectoryIterator which could cause stack overflows in large filesystems
10 years ago
jules
9c884f79d3
Added method File::setExecutePermission()
10 years ago
jules
7a7f7814fb
Moved the new MountedVolumeListChangeDetector into the juce_events module to avoid some win32 problems.
10 years ago
jules
74571aba11
New class: MountedVolumeListChangeDetector
10 years ago
jules
2fd89b0ac4
A few minor clean-ups.
10 years ago
jules
fe61c37d93
Updated the return types of OutputStream::writeFromInputStream and InputStream::readIntoMemoryBlock
10 years ago
jules
ae0383c7db
Added a win32-specific flag File::windowsSystemDirectory
11 years ago
jules
d8180f7ba5
Tweaked FileInputStream::setPosition to make sure it returns false when trying to seek beyond the limits of the file.
11 years ago
jules
27046fd1a7
Added new method File::getFileIdentifier() for retrieving a file's unique ID.
11 years ago
jules
d8c390d7a2
Avoided unnecessary disk flushing in the destructor of FileOutputStream.
11 years ago
jules
b5af44a485
Couple of minor clean-ups.
11 years ago
jules
e5e24fd541
Avoided assertion in File::isAbsolutePath
11 years ago
jules
e80e396f5d
Improved documentation.
11 years ago
jules
844fda7939
Spelling fix.
11 years ago
jules
5cabff2ac2
Moved FileFilter and WildcardFileFilter into the juce_core module.
11 years ago
jules
76c8400049
Really minor clean-ups.
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.
11 years ago
jules
2edec00b55
Removed a few more uses of String::empty.
11 years ago
jules
2623f4d1e1
Added method String::clear(), and used it to replace a few uses of String::empty.
11 years ago
jules
88c71bc7af
Removed unwise assertion from File.
11 years ago
jules
b11a88bc01
Moved some duplicated linux/android code into a shared file. Added a method File::isLink()
11 years ago
jules
19425a4502
Optimised a couple of XML and memory block functions.
11 years ago
jules
5051b2ffcc
Optimised some number streaming functions.
11 years ago
jules
abd3babc02
Minor optimisations and clean-ups.
11 years ago
jules
9a193b55f2
Fixed a bug in File relative path parsing.
11 years ago
jules
fecba9c31c
New class StringRef, to improve performance in function calls that can take either a String or a raw string literal. Modified a few other classes to take advantage of this.
11 years ago