Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
1 year ago
Tom Poole
4153d59e39
Formatting
1 year ago
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2 years ago
reuk
5fcb718ac9
String: Avoid using refcount to detect empty strings
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
fdfc279bea
String: Fix logical error in hex parsing code
3 years ago
reuk
6244fc293f
CharacterFunctions: Avoid UB when parsing hex strings
6 years ago
ed
aabd65b0fd
Text: Fix some build issues when JUCE_STRING_UTF_TYPE != 8
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
c41149f48d
String: Fix documentation for getTrailingIntValue
4 years ago
reuk
4d27422d9f
GCC: Suppress cast-align warnings
4 years ago
ed
e195a25088
Added missing String::operator+=() implementation for long ints
5 years ago
ed
7f4b6e3288
Added missing String::operator+=() implementation for long ints
5 years ago
reuk
092bc44413
MinGW: Fix windows/gcc warnings
5 years ago
reuk
4cf66d6522
Cleanup: Remove redundant inlines
5 years ago
reuk
e13901d912
ClangCl: Silence code which warns when building on Windows with Clang
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
5f348c3040
Warnings: Add warning-wrangling header
5 years ago
reuk
175644e8c1
String: Provide range-for comaptibility
5 years ago
ed
4a5dda489f
Fixed some warnings with -Wconversion enabled
5 years ago
ed
49c82b6ca3
Made the check for empty Strings more robust to fix a symbol collision crash
5 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
Tom Maisey
9d1f6abe49
Avoided some allocations in StringRef/Identifier/String comparisons
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
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
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
Tom Poole
41e7251519
Added a String method to store decimals to a set number of significant figures
6 years ago
jules
cba080396b
Clarified some double-to-string conversion documentation, and made it avoid adding unnecessary trailing zeros (which were bloating XML and other dumps generated by things like ValueTree)
7 years ago
jules
dee78f29f6
Misc cleanups and modernisation
7 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
jules
4793cd3fb8
Disambiguated a couple of String + std::string operators
7 years ago
jules
b3390dabc9
Added a constructor to StringRef that takes a std::string
7 years ago
jules
38295f332b
Converted some old typedefs to using declarations
7 years ago
jules
6ee9030e37
Fixed an edge-case in String::compareNatural
7 years ago
Tom Poole
224d0a9325
Fixed a bug setting the number of decimal places in a String
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
tpoole
51b3eaebb2
Fixed some VS2013 compiler errors
7 years ago
jules
dd4230586f
Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up
7 years ago
jules
31c99d3680
Cleaned up some missing std:: namespaces for maths functions, and updated some old documentation for AudioProcessor
7 years ago
jules
a2020f0177
Removed a defunct unit test
7 years ago