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.
3 years ago
ed
009d685179
Updated all license headers
4 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
ed
c2e3dcd8bf
Updated the documentation of some methods which now return std::unique_ptr instead of raw pointers to remove references to deleting the returned object
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
ed
e36736e0ec
Fixed some typos
5 years ago
jules
49fa0f73e4
Added an overload to ValueTree::fromXml() which can take an XML string and parse it
6 years ago
jules
2e2cfb5f6c
Made a lot of the functions that used to return a raw XmlElement* instead return a std::unique_ptr<XmlElement> to make it safer and more concise to capture them. Also added new methods to XmlElement for generating text, and deprecated the old ones
6 years ago
ed
20864a2f5f
Made all of the ValueTree::Listener methods no longer pure virtual
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
jules
ab8202f04d
Fixed a documentation typo
6 years ago
jules
4d753ed9e4
Added missing ValueTree::Iterator::operator==
6 years ago
jules
95a3f0b039
Whitespace
6 years ago
jules
1e6bbb8da9
Added some methods to allow ReferenceCountedObjectPtrs to be constructed or copied from references as well as pointers - as well as increasing safety, this actually makes things a bit more efficient as it skips a nullptr check. Updated lots of places in the code that could take advantage of this
6 years ago
jules
49aa9c9db4
Added flag JUCE_STRICT_REFCOUNTEDPOINTER which is recommended to avoid accidental leaks when using ref-counted pointers. Enabled this flag in the demo projects, and used it to help tidy up some dubious smart-pointer use
6 years ago
jules
eb093411fc
Added method ValueTree::copyPropertiesAndChildrenFrom()
6 years ago
jules
e2427065e0
Added a handy initialiser-list based constructor for NamedValueSet
6 years ago
jules
d4762f1d9a
Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0
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
c7c26fa9f0
Removed the OS X 10.5 and 10.6 deployment target options from the Projucer and enabled more C++11 features across all platforms
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
jules
5a6f33b987
Added some missing types to the ValueTree::Iterator class
7 years ago
Tom Poole
4c44d96fdf
Added an initialiser list based ValueTree constructor
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
jules
babea0885b
Added a method ValueTree::appendChild(). Also tidied up a lot of the ValueTree comments, which were a bit scrappy.
7 years ago
jules
4d375d0bc2
Added a parameter to ValueTree::getPropertyAsValue() to allow synchronous updates
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
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
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
jules
74004cbbe2
Did a bit of comment and code cleanup in ValueTree
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
7eb534ae88
Added method ValueTree::getRoot()
8 years ago
tpoole
d438fa59e8
Fixed issues with AudioProcessorValueTreeState parameter synchronization
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
jules
1942e3d0c1
Added begin/end iterator methods for ValueTree, for handy range-based-for loops over its children
8 years ago
jules
45e2b00b6c
Added a method ValueTree::getPropertyPointer()
9 years ago
jules
6e7fc1249c
Fixed a spelling mistake
9 years ago
jules
64f36624ec
Added a few missing override and noexcept keywords to ValueTree
9 years ago
jules
ea3026fdfe
Added some comments to ValueTree.
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
e018192de2
Performance optimisations to the way that Identifier objects are passed into var, ValueTree and NamedValueSet. The Identifer class used to be light enough to pass by value but now contains a String so is better passed by reference.
10 years ago
jules
6bc4d7627f
Modified the ValueTree::Listener::valueTreeChildRemoved() and ValueTree::Listener::valueTreeChildOrderChanged() methods to include some extra parameters that give more detailed info about exactly what changed.
10 years ago
jules
6b5ace433c
Added a comment.
10 years ago
jules
5587c16d78
Added a method ValueTree::getReferenceCount()
11 years ago
jules
f9759ecc6b
Documentation fixes.
11 years ago
jules
98f17ab4dc
A few tweaks to support the MSVC DLL build.
11 years ago
jules
6cd2f43afa
Tidied up some ValueTree code.
11 years ago