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 |
jules
|
72266af609
|
Fixed a dumb mistake in the last ReferenceCountedObjectPtr change
|
6 years ago |
jules
|
95a3f0b039
|
Whitespace
|
6 years ago |
jules
|
1e6bbb8da9
|
Added some methods to allow ReferenceCountedObjectPtrs to be constructed or copied from references as well as pointers - as well as increasing safety, this actually makes things a bit more efficient as it skips a nullptr check. Updated lots of places in the code that could take advantage of this
|
6 years ago |
jules
|
0a75197fa6
|
Tweaked ReferenceCountedObjectPtr to try to cause fewer ambiguities when comparing it with raw pointers
|
6 years ago |
jules
|
49aa9c9db4
|
Added flag JUCE_STRICT_REFCOUNTEDPOINTER which is recommended to avoid accidental leaks when using ref-counted pointers. Enabled this flag in the demo projects, and used it to help tidy up some dubious smart-pointer use
|
7 years ago |
jules
|
aba7a80ffb
|
Added missing juce namespace to JUCE_DECLARE_WEAK_REFERENCEABLE macro
|
7 years ago |
hogliux
|
4ecd7eb8e8
|
Do not assert in ScopedPointer::reset if you are resetting to a nullptr
|
7 years ago |
ed
|
ddc2f9cc4c
|
Added an assertion to ScopedPointer to catch people resetting it to itself
|
7 years ago |
jules
|
87042769b6
|
Tidied up some more old typedefs
|
7 years ago |
jules
|
dee78f29f6
|
Misc cleanups and modernisation
|
7 years ago |
jules
|
38295f332b
|
Converted some old typedefs to using declarations
|
7 years ago |
jules
|
c6c709f796
|
Fixed a minor documentation typo
|
7 years ago |
Tom Poole
|
ab863a6dc2
|
Replaced all usage of ScopedPointer with std::unique_ptr
|
7 years ago |
jules
|
8e280f3454
|
Removed some erroneous casts from ReferenceCountedObjectPtr that allowed base classes to be implicitly converted to derived classes
|
7 years ago |
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
|
7 years ago |
Tom Poole
|
4229dc0a4f
|
Made a lot of ScopedPointer usage conform to the std::unique_ptr interface
|
7 years ago |
jules
|
a632b57e7a
|
Simplified ByteOrder, and made it less susceptible to UB when reading from non-aligned addresses. Removed ambiguous method ByteOrder::littleEndianInt (c1, c2, c3, c4), which was probably producing the wrong behaviour on big-endian systems
|
7 years ago |
ed
|
cdbc28c18b
|
Add documentation tags
|
7 years ago |
Tom Poole
|
f1af3908d5
|
Documentation fixes
|
7 years ago |
jules
|
8d09eaadb6
|
Removed some defunct code from the C++1 feature detection macros, and simplified code which no longer needs to test for feature availability
|
7 years ago |
jules
|
48a5fbd333
|
Another batch of ScopedPointer cleanups
|
7 years ago |
jules
|
3ec5c17bb1
|
Misc cleanups relating to ScopedPointer
|
7 years ago |
jules
|
78791be3c5
|
Deleted some old deprecated methods from Component, and tidied a few things up
|
7 years ago |
jules
|
89b4e13423
|
Fixed some incorrect documentation in the singleton macros
|
7 years ago |
jules
|
faa847f443
|
Added a method OptionalScopedPointer::reset()
|
7 years ago |
jules
|
22ad29baba
|
Workaround for a VS compiler warning
|
7 years ago |
jules
|
58a99ff139
|
Dragged the singleton macros into the 21st century.. Cleaned up their implementation and gave them new upper-case names to match juce official style. The old names are still defined to avoid breaking old code, but please update before they get deprecated!
|
7 years ago |
Tom Poole
|
170cc39858
|
Fixed data races in the Atomic and AbstractFifo classes
|
7 years ago |
Tom Poole
|
0f6cfda823
|
Removed a legacy Mac implementation of Atomic
|
7 years ago |
jules
|
f85d706131
|
Some minor formatting and comment fixes
|
7 years ago |
jules
|
2dc9316420
|
Misc ScopedPointer changes to start using reset() and get() rather than assignments and casts (part of an ongoing drift towards more std::unique_ptr compatibility)
|
7 years ago |
hogliux
|
b20141e90e
|
Fixed some documentation in JUCE Atomic class
|
7 years ago |
jules
|
85d9a4cf90
|
Fixed an MSVC warning
|
7 years ago |