jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
7 years ago
hogliux
6d55fe78fe
Added a flag to specify if File::deleteRecursively should follow symlinks or not
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
ed
cdbc28c18b
Add documentation tags
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
48a5fbd333
Another batch of ScopedPointer cleanups
7 years ago
Noah Dayan
381874c20a
Fix typo in juce_TemporaryFile.h
7 years ago
jules
85f74ca7d3
Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated
7 years ago
Noah Dayan
737c82fcfc
Fix Windows doc in juce_File.h
7 years ago
jules
f85d706131
Some minor formatting and comment fixes
7 years ago
jules
08a1b7bb6d
Improved error handling in BufferedInputStream and tidied up a few classes in the streams folder
7 years ago
jules
2dc9316420
Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility)
7 years ago
tpoole
ca5620710c
Some minor documentation improvements
7 years ago
tpoole
c0d409c773
Some minor documentation improvements
7 years ago
jules
e180dbb3f2
Clarified some docs about the order of files when searching directories
7 years ago
hogliux
9b386b86ec
Widnows: Fixed deprecated use of File::separator
7 years ago
hogliux
1135f6fff6
Fixed a compiler warning involving deprecated static variables when compiling with GCC
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
970eda679e
Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting!
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
8b78e90241
Win32: Added globalApplicationsDirectoryX86 to File::SpecialLocationType
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
jules
c04c9ee56e
Added a sanity check on the value returned by DirectoryIterator::getEstimatedProgress()
8 years ago
Felipe F. Tonello
c2100022cc
Added several linux improvements to the event loop, MIDI and X11 (see commit messsage)
MIDI: Several ALSA Seq improvements
===================================
Many things were done in this patch (I couldn't really split in several
patches):
* Only one ALSA Sequencer client per application
* ALSA Sequencer client name is the application's name by default
* Fixed a bug when getDeivces() would return devices created by the
application itself
* Only ports created with createNewDevice() are allowed to be subscribed,
other ports (created by openDevice()) doesn't allow subscription
* AlsaPort is now handled by AlsaClient, basically having the proper
representation such as the ALSA Sequencer has.
Files: Fix default directory paths
==================================
Some information on:
* Linux LSB FHS:
http://www.linuxfoundation.org/collaborate/workgroups/lsb/fhs-30
* https://wiki.archlinux.org/index.php/Xdg_user_directories
Refactor Event loop to remove X11 dependency
============================================
The goal of this refactor was to remove X11 dependencies on juce_events
to enable non-gui applications (example, Embedded Linux apps) to have no
libx11 dependency.
The side-effect of this refactor is easy implementation of other Linux
graphical back-end, cleanup some code, better handling of X displays and
other benefits.
I removed a lot of the code from juce_linux_Windowing to separate files
for clarity. I also renamed all Linux X11 files to *linux_X11* instead of
just *linux*.
X11: Remove unnecessary XGrabButton call
========================================
This call is made unnecessary if used proper window flags when a window
is created.
8 years ago
hogliux
2da1bc5f41
Replace include guards with "#pragma once"
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
d4b47809a1
Fixed some spelling mistakes in comments
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
fb08261013
Fixed VS2013 warning in File::NaturalFileComparator struct
8 years ago
ed
a0ed11ebee
Made File::NaturalFileComparator::compareElements() method const
8 years ago
ed
e93eee0eb1
Added NaturalFileComparator struct to File. Reverted File::compareFilenames method to old behaviour.
8 years ago
ed
d6fc589b6d
Reverted File::compareFilenames() method to not compare filenames naturally and added an optional argument to use a natural comparison
8 years ago
ed
2f5b8e5f9f
Changed File::compareFilenames() method to use String::compareNatural() and added argument to String::compareNatural() for case sensitivity
8 years ago
hogliux
bfd5605dda
Added comments to specify what File::create vs. FileOutputStream() will do when the parent directoy of the file does not exist
8 years ago
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