reuk
6f657d2a9b
CachedValue: Suppress float equality warnings
2 years ago
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2 years ago
reuk
ed3c40c2d1
ValueTree: Avoid void*
2 years ago
Tom Poole
417bd3b342
ValueTree: Add early exit when copying a ValueTree to itself
2 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
Tom Poole
169a6f2d08
Value: Update refersToSameSourceAs documentation
3 years ago
Tom Poole
fe46afaf71
Value: Update refersToSameSourceAs documentation
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
ed
53c6d19ed9
ValueTreePropertyWithDefault: Remove message thread dependency
3 years ago
ed
08283c9969
ValueTreePropertyWithDefault: Initialise MessageManager in default setting unit test
3 years ago
ed
dea0f1638b
Rename ValueWithDefault -> ValueTreePropertyWithDefault and store default value in shared Value object to propagate changes
3 years ago
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
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
4 years ago
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators
4 years ago
ed
009d685179
Updated all license headers
5 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
59a058fdc6
Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough
5 years ago
ed
c2c98d3fdb
Updated some incorrect documentation in ValueWithDefault
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
497a1b3fb7
Added juce_UnitTestCategories.h to replace raw strings used for test categories
6 years ago
ed
f3af250ff7
Tidied up unit test code layout
6 years ago
ed
c96bf71488
Removed some empty ValueTree::Listener methods that are no longer needed
6 years ago
ed
20864a2f5f
Made all of the ValueTree::Listener methods no longer pure virtual
6 years ago
Tom Poole
ce6339f332
Added a trailing decimal when serialising integer valued doubles
6 years ago
Tom Poole
0d019acd1c
Added a trailing decimal when serialising integer valued doubles
6 years ago
Tom Poole
4700dd9773
Serialise doubles into more human friendly XML and JSON
6 years ago
Tom Poole
bbe49f6b36
Serialise doubles into more human friendly XML and JSON
6 years ago
Tom Poole
306e7e4360
Fixed a few more places where doubles were not serialised to full accuracy
6 years ago
ed
3913269620
Revert commit 49359df
and e5204ba
to ensure that ValueWithDefault objects can be set to non-default empty strings
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
jules
da2b10ada6
Got rid of some methods which had inexplicably ended up marked both 'virtual' and 'override'.
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
ed
665f1fbedf
Fixed an incorrect return value from ValueWithDefault::isUsingDefault()
6 years ago
ed
e5204bafe9
Fixed some incorrect documentation in ValueWithDefault and added some unit tests to the class
6 years ago
ed
c29eea44e3
Added a getUndoManager() method to CachedValue and ValueWithDefault and made CachedValue weak referenceable
6 years ago
ed
717cc49382
Added the JUCE_DECLARE_WEAK_REFERENCEABLE macro to ValueWithDefault and fixed some places which were potentially accessing a deleted ValueWithDefault object
6 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
6 years ago
ed
35890478a3
Added the JUCE_DECLARE_WEAK_REFERENCEABLE macro to ValueWithDefault and fixed some places which were potentially accessing a deleted ValueWithDefault object
6 years ago
jules
8166b0018d
Reverted the change to ValueTree::toXmlString(), as omitting the XML header could break existing code (will address this differently in a future commit)
6 years ago
jules
e07782ff38
Tweaked ValueTree::toXmlString() to make it return a bare document without the XML header
6 years ago
jules
ab8202f04d
Fixed a documentation typo
6 years ago
jules
e26049f141
Added assertions to Array to catch situations where a reference to a member is passed into an add() method. Also changed the form of StringArray method params to avoid this problem.
6 years ago
ed
a725f4e2b3
Fixed a bug in ValueTree::getSibling() + some misc cleanup
6 years ago
jules
4d753ed9e4
Added missing ValueTree::Iterator::operator==
6 years ago
jules
95a3f0b039
Whitespace
7 years ago