Anthony Nicholls
2685604eb3
SharedResourcePointer: Allow objects with private constructors
1 year ago
Anthony Nicholls
418d7b9c38
SharedResourcePointer: Get a SharedResourcePointer instance without creating one
- Also refactored internals to use weak/shared pointers
1 year ago
Anthony Nicholls
90c458d92e
Includes: Move some miscellaneous includes into module header and source files
1 year ago
Tom Poole
4153d59e39
Formatting
1 year ago
Tom Poole
7d45d498b9
Removed some superfluous consts from definitions
1 year ago
Tom Poole
9b041f3d74
Add a base clang-tidy configuration
1 year ago
Tom Poole
ff835be2ac
Doxygen: Fix some Doxygen issues
1 year ago
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]]
2 years ago
reuk
2336430fea
WeakReference: Remove ambiguous operator==
2 years ago
reuk
7c14c1fcd7
Use more concise stdlib type aliases
2 years ago
Tom Poole
f6995ea217
Fix a compiler crash in GCC < 11
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
Tom Poole
75a5508bdf
Fix some copyright banners
3 years ago
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
4 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
5 years ago
ed
009d685179
Updated all license headers
5 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