Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
1 year ago
Tom Poole
4153d59e39
Formatting
1 year ago
reuk
8b8ae10059
Build: Replace JUCE_NODISCARD with [[nodiscard]]
2 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
b80927fc91
Nodiscard: Add to builder-pattern functions
3 years ago
Tom Poole
c072b1bc8e
Fix some typos
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
Tom Poole
a6fced64df
Remove some outdated documentation
3 years ago
ed
be84627f93
Docs: Updated XmlElement docs to use getChildIterator() instead of deprecated macros
4 years ago
reuk
c6280f7b8a
XmlElement: Fix rare crash when parsing truncated escape sequences
4 years ago
reuk
64b9366e8f
CharacterFunctions: Add new function to move pointer past whitespace
4 years ago
reuk
6ff54f0a64
XmlElement: Fix conversion issue when passing Identifiers to forEachXmlChildElementWithTagName
4 years ago
reuk
40f6ac7c47
XmlElement: Add range-for-compatible iterators
4 years ago
Tom Poole
f6782fe25b
Revert "XML: Added an additional assertion when parsing/creating malformed namespaced tag names"
This reverts commit 56f11e8611
.
4 years ago
Tom Poole
56f11e8611
XML: Added an additional assertion when parsing/creating malformed namespaced tag names
5 years ago
reuk
4cf66d6522
Cleanup: Remove redundant inlines
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
ed
59a058fdc6
Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough
5 years ago
Tom Poole
fb40c34f5f
Added some missing documentation
5 years ago
Tom Poole
a12bc32979
Fixed some warnings on the latest compilers
5 years ago
Tom Poole
52a4939b62
Updated some documentation
6 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
jules
c6d1828a32
A few more internal updates for better smart pointer use
6 years ago
jules
0fb8c8e82a
Added handy new function parseXMLIfTagMatches(), and refactored a lot of old code that was parsing XML in a more clunky way
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
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
865eabd434
Fixed a bug writing doubles to XML and JSON
6 years ago
ed
62958a79ea
Whitespace
6 years ago
ed
a096b4f707
Added an assertion to XmlElement::removeChildElement() to check that childToRemove is actually a child of the XmlElement
6 years ago
ed
3ba771507d
Avoid unnecessary zeros when writing double values to XML or JSON
6 years ago
Tom Poole
721d732b40
Reverted the numberOfDecimalPlaces behaviour of the String constructor
6 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
6 years ago
jules
768139a298
Added some free functions to help make XML parsing less verbose: parseXML()
6 years ago
Tom Poole
493591a7ef
Cleaned up some doc comments
6 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
hogliux
736a07e4ce
Added a setTagName method to XmlElement
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
jules
8d09eaadb6
Removed some defunct code from the C++1 feature detection macros, and simplified code which no longer needs to test for feature availability
7 years ago
jules
1a60fa9765
More ScopedPointer/unique_ptr compatibility work
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
f0ef700e46
Modernised a bunch of code mainly relating to character/string iteration
7 years ago
jules
95053c0665
Quick spruce-up in the XML parser
7 years ago