reuk
d5e9793cb1
Reservoir: Fix bug where incorrect buffer region could be read in some cases
3 years ago
ed
e612481771
HeapBlock: Relax size constructor constraints to allow enums
3 years ago
reuk
4b57909fb0
Singleton: Fix thread sanitizer warning about race on "instance" data member
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
e02a09da0c
HeapBlock: Disable size-based constructor for non-integral arguments
3 years ago
reuk
930a3299f2
Reservoir: Factor out reservoir management code
3 years ago
ed
cf79cc4724
Whitespace
3 years ago
Tom Poole
78be43888e
Update the minimum C++ standard to C++14
3 years ago
ed
433750941b
MemoryBlock: Added a new replaceAll() method and deprecated the replaceWith() method
When passing in valid data with zero size, replaceWith() will do nothing and leave the MemoryBlock in its previous state which may be unexpected. replaceAll() will reset the MemoryBlock and resize it to 0
4 years ago
ed
b2b1685ca6
Added MemoryBlock::isEmpty()
4 years ago
reuk
837ab64dbd
Android: Fix numeric conversion warnings
4 years ago
ed
46f5b126d5
Tidied up some template statement whitespace
4 years ago
reuk
9032f589eb
CoreMIDI: Enable support for new API
4 years ago
reuk
4d27422d9f
GCC: Suppress cast-align warnings
4 years ago
ed
744e16eebd
Fixed some Doxygen parsing issues
4 years ago
ed
009d685179
Updated all license headers
4 years ago
reuk
fca3429e6e
DSP: Update convolution
5 years ago
reuk
092bc44413
MinGW: Fix windows/gcc warnings
5 years ago
reuk
f49b3733ec
Warnings: Silence some GCC warnings
5 years ago
reuk
4cf66d6522
Cleanup: Remove redundant inlines
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
Tom Poole
21f054b164
Documentation fix
5 years ago
reuk
dddeb1ad68
Build: Fix Xcode 11.4 compatibility issues
5 years ago
Tom Poole
28e03f0815
Replaced all instances of JUCE_CONSTEXPR with constexpr
5 years ago
reuk
4b7043b0cd
OptionalScopedPointer: Added proper move semantics and convenience constructors
5 years ago
Tom Poole
4859b47f58
Updated the documentation
5 years ago
jules
d268dd39c1
Fix for a bug in OptionalScopedPointer::release()
5 years ago
reuk
f810d3d56a
Made dereferencing WeakRef behave more like the built-in pointer types
5 years ago
Tom Poole
a4bd6cbc66
Fixed some more Linux compiler warnings
6 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
Tom Poole
a9a0f6b92f
Enforced more comprehensive const-correctness in the JUCE container classes
6 years ago
jules
332a9edb57
Added long-overdue deprecation warnings to ScopedPointer, and purged the last couple of places where it was being used.
6 years ago
ed
09daeb3a6d
Remove HashMap dependency from HeavyweightLeakedObjectDetector so it can be included as early as possible
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
jules
12ec130cf6
Avoided a possible recursion in ScopedPointer::reset() if called from within the object's own destructor.
6 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
6 years ago
cesare
ca3f1167fb
Fix Xcode warnings
6 years ago
jules
bc027b5237
Tidied up some spelling and comments
6 years ago
reuk
392bd972ac
Added converting constructors to OwnedArray, ArrayBase and HeapBlock
6 years ago
jules
6fda0bffca
Fixed some stray zeros that were still being passed as null pointers
6 years ago
ed
d56e4c3cc3
Added a new HeavyweightLeakedObjectDetector to juce_core which will print out a stack trace showing where the leaked object was created and added a corresponding JUCE_HEAVYWEIGHT_LEAK_DETECTOR macro
6 years ago
ed
027f329d43
Fixed some whitespace in juce_MemoryBlock.h
6 years ago
jules
38b553da43
Fixed a comment typo
6 years ago
Tom Poole
493591a7ef
Cleaned up some doc comments
6 years ago
Tom Poole
b6c615e6c4
Fixed a bug adding derived ReferenceCountedObjects to base class ReferenceCountedArrays
6 years ago
Tom Poole
c5862246b7
Prevented some implicit casts to bool using JUCE_STRICT_REFCOUNTEDPOINTER
6 years ago
Tom Poole
6cff481c6a
Fixed some gcc 8 compiler warnings
6 years ago
jules
7ed282f314
Fix for obscure order-of-deletion problems involving self-referenctial ReferenceCountedObjectPtrs
6 years ago