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
jules
88c71bc7af
Removed unwise assertion from File.
12 years ago
jules
b11a88bc01
Moved some duplicated linux/android code into a shared file. Added a method File::isLink()
12 years ago
jules
19425a4502
Optimised a couple of XML and memory block functions.
12 years ago
jules
5051b2ffcc
Optimised some number streaming functions.
12 years ago
jules
abd3babc02
Minor optimisations and clean-ups.
12 years ago
jules
9a193b55f2
Fixed a bug in File relative path parsing.
12 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.
12 years ago
jules
2786eadaf9
Removed a few pedantic warnings.
12 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
c7506df13f
Changed some pass-by-references to pass-by-value to improve compiler optimisation.
12 years ago
jules
bfd9350bed
Changed some types from int to size_t where appropriate. Fixed a CoreMidi build problem in 64-bit mode.
12 years ago
jules
2266501eb9
Small fix for File::createInputStream.
12 years ago
jules
e6d817d20d
Extended MemoryMappedFile to allow loading of file subsections.
12 years ago
jules
e543949bda
Minor clean-ups.
12 years ago