1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-15 00:24:19 +00:00
Commit graph

304 commits

Author SHA1 Message Date
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.
2021-09-29 16:14:00 +01:00
reuk
3c68581567
Use jassertquiet where possible 2021-07-23 10:58:44 +01:00
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
Tom Poole
bfdda737a2 Projucer: Removed the live build 2021-05-14 12:54:07 +01:00
Tom Poole
79fbde7099 Added preliminary support for FreeBSD 2021-03-29 14:16:46 +01:00
reuk
64b9366e8f
CharacterFunctions: Add new function to move pointer past whitespace 2021-02-18 10:54:29 +00:00
Tom Poole
7c33b2132f Fixed some parsing issues in readDoubleValue 2021-02-03 17:53:32 +00:00
reuk
c41149f48d
String: Fix documentation for getTrailingIntValue 2021-01-28 15:59:24 +00:00
reuk
ff758a53b4
Array: Fix perfect forwarding when adding elements 2021-01-22 10:23:11 +00:00
reuk
5d26b6a20f
Aiff: Fix extremely slow loads of pathological files
If an aiff file advertied a large number of metadata keys, the
StringPairArray::set calls resulted in quadratic complexity.

We now read keys into a std::map instead, as it enables much faster
lookup, and then convert back to a StringPairArray at the last possible
moment.
2020-12-03 12:06:00 +00:00
reuk
4d27422d9f GCC: Suppress cast-align warnings 2020-09-24 12:52:45 +01:00
ed
744e16eebd Fixed some Doxygen parsing issues 2020-07-03 17:18:35 +01:00
ed
7f4b6e3288 Added missing String::operator+=() implementation for long ints 2020-06-08 12:48:32 +01:00
ed
b5214a341e Normalised lambda whitespace 2020-06-05 09:37:56 +01:00
reuk
092bc44413
MinGW: Fix windows/gcc warnings 2020-05-11 11:28:28 +01:00
reuk
4cf66d6522 Cleanup: Remove redundant inlines 2020-04-27 10:22:06 +01:00
reuk
e13901d912 ClangCl: Silence code which warns when building on Windows with Clang 2020-04-27 10:22:06 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
5f348c3040 Warnings: Add warning-wrangling header 2020-04-13 13:16:05 +01:00
reuk
175644e8c1 String: Provide range-for comaptibility 2020-04-13 13:16:05 +01:00
reuk
dddeb1ad68 Build: Fix Xcode 11.4 compatibility issues 2020-03-25 13:10:32 +00:00
ed
4a5dda489f Fixed some warnings with -Wconversion enabled 2020-03-17 09:02:57 +00:00
Tom Poole
28e03f0815 Replaced all instances of JUCE_CONSTEXPR with constexpr 2020-03-11 17:21:30 +00:00
ed
59a058fdc6 Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough 2020-03-09 17:39:28 +00:00
ed
e36736e0ec Fixed some typos 2020-01-06 14:04:16 +00:00
ed
38e640c5d5 Fixed a typo 2019-07-15 11:09:20 +01:00
ed
49c82b6ca3 Made the check for empty Strings more robust to fix a symbol collision crash 2019-07-10 11:33:23 +01:00
Tom Poole
16dd26649a Fixed some GCC compiler warnings and removed deprecated functions 2019-06-04 16:48:44 +01:00
Tom Poole
a9a0f6b92f Enforced more comprehensive const-correctness in the JUCE container classes 2019-05-29 08:52:16 +01:00
Tom Poole
717be11eac Updated the documentation 2019-04-29 11:25:38 +01:00
James Hurst
f4eec3d80a Use ignoreCase in StringPairArray::containsKey 2019-04-15 15:11:28 +01:00
Tom Maisey
9d1f6abe49 Avoided some allocations in StringRef/Identifier/String comparisons 2019-04-03 18:17:04 +01:00
ed
497a1b3fb7 Added juce_UnitTestCategories.h to replace raw strings used for test categories 2019-04-03 15:10:40 +01:00
ed
f3af250ff7 Tidied up unit test code layout 2019-04-02 11:54:29 +01:00
Tom Poole
0d019acd1c Added a trailing decimal when serialising integer valued doubles 2019-03-21 17:50:11 +00:00
Tom Poole
bbe49f6b36 Serialise doubles into more human friendly XML and JSON 2019-02-27 17:59:24 +00:00
Tom Poole
aa361c9cf5 Documentation fixes 2019-02-22 10:01:53 +00:00
Tom Poole
865eabd434 Fixed a bug writing doubles to XML and JSON 2019-02-11 11:11:44 +00:00
Tom Poole
66691fc602 Fixed a bug parsing long double strings 2019-02-08 23:30:56 +00:00
ed
a234721110 Added various clang-tidy modernize-* fixes 2019-01-31 15:15:31 +00:00
jules
cadac817c6 Enabled some more warning flags in Xcode, and fixed the problems they caused 2019-01-11 09:52:10 +00:00
ed
3ba771507d Avoid unnecessary zeros when writing double values to XML or JSON 2018-12-17 16:32:57 +00:00
Tom Poole
721d732b40 Reverted the numberOfDecimalPlaces behaviour of the String constructor 2018-12-07 13:52:54 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
Tom Poole
eb1f8641f8 Fixed a documentation typo 2018-09-17 09:13:24 +01:00
Tom Poole
41e7251519 Added a String method to store decimals to a set number of significant figures 2018-08-23 09:20:20 +01:00
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. 2018-08-13 10:22:23 +01:00
Tom Poole
102ed4a9f2 Fixed some compiler warnings 2018-06-27 17:02:25 +01:00
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) 2018-06-18 12:14:39 +01:00
jules
383528ec6e Added some helpers to StringArray to allow creation from Arrays of string-convertible objects 2018-06-15 10:02:25 +01:00