reuk
d5e9793cb1
Reservoir: Fix bug where incorrect buffer region could be read in some cases
2021-10-14 12:40:46 +01:00
ed
e612481771
HeapBlock: Relax size constructor constraints to allow enums
2021-10-13 15:06:18 +01:00
reuk
4b57909fb0
Singleton: Fix thread sanitizer warning about race on "instance" data member
2021-10-06 16:59:07 +01:00
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
e02a09da0c
HeapBlock: Disable size-based constructor for non-integral arguments
2021-09-27 15:44:48 +01:00
reuk
930a3299f2
Reservoir: Factor out reservoir management code
2021-09-27 13:20:47 +01:00
ed
cf79cc4724
Whitespace
2021-07-22 16:33:42 +01:00
Tom Poole
78be43888e
Update the minimum C++ standard to C++14
2021-06-24 16:09:48 +01:00
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
2021-04-27 09:06:14 +01:00
ed
b2b1685ca6
Added MemoryBlock::isEmpty()
2021-04-22 18:22:06 +01:00
reuk
837ab64dbd
Android: Fix numeric conversion warnings
2021-02-03 16:09:54 +00:00
ed
46f5b126d5
Tidied up some template statement whitespace
2021-01-29 15:40:12 +00:00
reuk
9032f589eb
CoreMIDI: Enable support for new API
2020-12-03 12:30:22 +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
009d685179
Updated all license headers
2020-06-29 08:30:22 +01:00
reuk
fca3429e6e
DSP: Update convolution
2020-05-15 18:06:03 +01:00
reuk
092bc44413
MinGW: Fix windows/gcc warnings
2020-05-11 11:28:28 +01:00
reuk
f49b3733ec
Warnings: Silence some GCC warnings
2020-05-05 12:28:47 +01:00
reuk
4cf66d6522
Cleanup: Remove redundant inlines
2020-04-27 10:22:06 +01:00
Tom Poole
894e7d2bd2
Updated all license headers
2020-04-23 17:30:39 +01:00
Tom Poole
21f054b164
Documentation fix
2020-03-25 15:48:59 +00:00
reuk
dddeb1ad68
Build: Fix Xcode 11.4 compatibility issues
2020-03-25 13:10:32 +00:00
Tom Poole
28e03f0815
Replaced all instances of JUCE_CONSTEXPR with constexpr
2020-03-11 17:21:30 +00:00
reuk
4b7043b0cd
OptionalScopedPointer: Added proper move semantics and convenience constructors
2020-02-25 17:36:36 +00:00
Tom Poole
4859b47f58
Updated the documentation
2019-12-12 15:57:13 +00:00
jules
d268dd39c1
Fix for a bug in OptionalScopedPointer::release()
2019-09-12 19:39:05 +01:00
reuk
f810d3d56a
Made dereferencing WeakRef behave more like the built-in pointer types
2019-07-29 14:38:46 +01:00
Tom Poole
a4bd6cbc66
Fixed some more Linux compiler warnings
2019-06-06 10:25:19 +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
jules
332a9edb57
Added long-overdue deprecation warnings to ScopedPointer, and purged the last couple of places where it was being used.
2019-05-15 11:02:03 +01:00
ed
09daeb3a6d
Remove HashMap dependency from HeavyweightLeakedObjectDetector so it can be included as early as possible
2019-02-22 14:00:16 +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
jules
12ec130cf6
Avoided a possible recursion in ScopedPointer::reset() if called from within the object's own destructor.
2019-01-04 08:49:45 +00:00
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
2018-11-28 17:29:20 +00:00
cesare
ca3f1167fb
Fix Xcode warnings
2018-11-26 10:15:36 +00:00
jules
bc027b5237
Tidied up some spelling and comments
2018-10-17 09:41:01 +01:00
reuk
392bd972ac
Added converting constructors to OwnedArray, ArrayBase and HeapBlock
2018-10-05 15:03:13 +01:00
jules
6fda0bffca
Fixed some stray zeros that were still being passed as null pointers
2018-10-05 12:15:04 +01:00
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
2018-09-13 16:11:52 +01:00
ed
027f329d43
Fixed some whitespace in juce_MemoryBlock.h
2018-09-06 09:35:30 +01:00
jules
38b553da43
Fixed a comment typo
2018-08-31 10:09:08 +01:00
Tom Poole
493591a7ef
Cleaned up some doc comments
2018-08-29 10:56:56 +01:00
Tom Poole
b6c615e6c4
Fixed a bug adding derived ReferenceCountedObjects to base class ReferenceCountedArrays
2018-07-18 10:45:48 +01:00
Tom Poole
c5862246b7
Prevented some implicit casts to bool using JUCE_STRICT_REFCOUNTEDPOINTER
2018-07-17 09:10:43 +01:00
Tom Poole
6cff481c6a
Fixed some gcc 8 compiler warnings
2018-07-11 09:17:31 +01:00
jules
7ed282f314
Fix for obscure order-of-deletion problems involving self-referenctial ReferenceCountedObjectPtrs
2018-07-05 16:46:11 +01:00
jules
72266af609
Fixed a dumb mistake in the last ReferenceCountedObjectPtr change
2018-07-04 08:58:42 +01:00