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

295 commits

Author SHA1 Message Date
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
jules
974b4a8351 Removed some legacy friend class declarations that are no longer needed with modern compilers 2018-06-13 17:11:37 +01:00
jules
dee78f29f6 Misc cleanups and modernisation 2018-05-11 12:46:30 +01:00
jules
30f6206be9 Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0 2018-05-10 09:10:09 +01:00
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! 2018-05-09 08:08:46 +01:00
jules
4793cd3fb8 Disambiguated a couple of String + std::string operators 2018-05-03 11:28:39 +01:00
jules
b3390dabc9 Added a constructor to StringRef that takes a std::string 2018-05-03 10:59:39 +01:00
jules
38295f332b Converted some old typedefs to using declarations 2018-05-03 09:59:05 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
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 2018-04-17 18:46:55 +01:00