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
jules
f85d706131
Some minor formatting and comment fixes
2017-11-28 17:46:15 +00:00
jules
08a1b7bb6d
Improved error handling in BufferedInputStream and tidied up a few classes in the streams folder
2017-11-02 12:14:10 +00:00
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)
2017-11-01 17:41:06 +00:00
tpoole
c0d409c773
Some minor documentation improvements
2017-10-26 16:36:32 +01:00
jules
e180dbb3f2
Clarified some docs about the order of files when searching directories
2017-10-13 09:30:29 +01:00
hogliux
9b386b86ec
Widnows: Fixed deprecated use of File::separator
2017-10-11 12:23:50 +01:00
hogliux
1135f6fff6
Fixed a compiler warning involving deprecated static variables when compiling with GCC
2017-10-11 12:16:33 +01:00
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
2017-10-10 11:33:55 +01:00
jules
970eda679e
Added 'final' keyword to a lot of classes from which you really shouldn't be inheriting!
2017-10-09 12:38:06 +01:00
jules
3d7c777238
Some light modernisation of a bunch of old code
2017-10-04 12:47:43 +01:00
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
2017-09-08 08:59:55 +01:00
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.
2017-07-20 17:24:05 +01:00
tpoole
8b78e90241
Win32: Added globalApplicationsDirectoryX86 to File::SpecialLocationType
2017-05-11 15:33:00 +01:00
tpoole
f1409640f8
Added File::isRoot()
2017-05-09 17:59:07 +01:00
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
2017-04-27 14:43:04 +01:00
jules
fbee2788ee
Made File::appendText return false if the write failed
2017-04-07 11:24:35 +01:00
jules
44cd80969d
A few C++11 modernisations and comment corrections
2017-03-28 12:31:51 +01:00
jules
8ed41ed14b
Fixed some whitespace style and cleaned up some code using C++11
2017-03-27 13:06:42 +01:00
jules
d3bb833f0e
Made File::getRelativePathFrom() return '.' if comparing two identical folders.
2017-03-06 15:02:24 +00:00
jules
c04c9ee56e
Added a sanity check on the value returned by DirectoryIterator::getEstimatedProgress()
2017-02-23 16:50:52 +00:00
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.
2017-02-13 17:14:34 +00:00
hogliux
2da1bc5f41
Replace include guards with "#pragma once"
2017-02-01 17:18:07 +00:00
hogliux
9f3fb1c0a6
Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated
2017-02-01 17:18:06 +00:00
jules
d4b47809a1
Fixed some spelling mistakes in comments
2017-01-01 11:59:39 +00:00
jules
9e0370c9b7
Made sure the File::getNonexistentChildFile() method's putNumbersInBrackets is used when the name already ends in a digit
2016-12-30 11:39:09 +00:00
tpoole
2e84129479
Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license
2016-12-14 10:07:26 +00:00
ed
fb08261013
Fixed VS2013 warning in File::NaturalFileComparator struct
2016-12-06 14:28:38 +00:00
ed
a0ed11ebee
Made File::NaturalFileComparator::compareElements() method const
2016-12-05 14:09:07 +00:00
ed
e93eee0eb1
Added NaturalFileComparator struct to File. Reverted File::compareFilenames method to old behaviour.
2016-12-05 12:03:44 +00:00
ed
d6fc589b6d
Reverted File::compareFilenames() method to not compare filenames naturally and added an optional argument to use a natural comparison
2016-12-02 16:18:15 +00:00
ed
2f5b8e5f9f
Changed File::compareFilenames() method to use String::compareNatural() and added argument to String::compareNatural() for case sensitivity
2016-11-25 12:41:19 +00:00
hogliux
bfd5605dda
Added comments to specify what File::create vs. FileOutputStream() will do when the parent directoy of the file does not exist
2016-11-07 17:42:11 +00:00
tpoole
278505913c
Restored non-flushing behaviour of FileOutputStream
2016-09-30 15:24:46 +01:00
tpoole
495e2bfd56
Fixed file flushing for FileOutputStream on Windows
2016-09-29 11:39:11 +01:00
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.
2016-09-16 12:03:02 +01:00
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
2016-09-15 17:13:41 +02:00