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 |
|
jules
|
95a3f0b039
|
Whitespace
|
2018-07-03 11:51:36 +01:00 |
|
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
|
2018-07-03 11:51:13 +01:00 |
|
jules
|
0a75197fa6
|
Tweaked ReferenceCountedObjectPtr to try to cause fewer ambiguities when comparing it with raw pointers
|
2018-07-02 12:45:24 +01:00 |
|
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
|
2018-06-26 14:06:52 +01:00 |
|
jules
|
aba7a80ffb
|
Added missing juce namespace to JUCE_DECLARE_WEAK_REFERENCEABLE macro
|
2018-05-22 17:33:55 +01:00 |
|
hogliux
|
4ecd7eb8e8
|
Do not assert in ScopedPointer::reset if you are resetting to a nullptr
|
2018-05-15 10:37:57 +01:00 |
|
ed
|
ddc2f9cc4c
|
Added an assertion to ScopedPointer to catch people resetting it to itself
|
2018-05-14 17:08:48 +01:00 |
|
jules
|
87042769b6
|
Tidied up some more old typedefs
|
2018-05-11 14:44:51 +01:00 |
|
jules
|
dee78f29f6
|
Misc cleanups and modernisation
|
2018-05-11 12:46:30 +01:00 |
|
jules
|
38295f332b
|
Converted some old typedefs to using declarations
|
2018-05-03 09:59:05 +01:00 |
|
jules
|
c6c709f796
|
Fixed a minor documentation typo
|
2018-04-23 08:43:32 +01:00 |
|
Tom Poole
|
ab863a6dc2
|
Replaced all usage of ScopedPointer with std::unique_ptr
|
2018-04-19 20:27:47 +01:00 |
|
jules
|
8e280f3454
|
Removed some erroneous casts from ReferenceCountedObjectPtr that allowed base classes to be implicitly converted to derived classes
|
2018-04-18 15:17:04 +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 |
|
Tom Poole
|
4229dc0a4f
|
Made a lot of ScopedPointer usage conform to the std::unique_ptr interface
|
2018-04-10 18:34:20 +01:00 |
|
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
|
2018-03-26 12:25:02 +01:00 |
|
ed
|
cdbc28c18b
|
Add documentation tags
|
2018-03-15 12:10:32 +00:00 |
|
Tom Poole
|
f1af3908d5
|
Documentation fixes
|
2018-03-11 09:25:09 +00:00 |
|
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
|
2018-01-11 09:08:51 +00:00 |
|
jules
|
48a5fbd333
|
Another batch of ScopedPointer cleanups
|
2018-01-10 14:49:57 +00:00 |
|
jules
|
3ec5c17bb1
|
Misc cleanups relating to ScopedPointer
|
2018-01-08 18:03:26 +00:00 |
|
jules
|
78791be3c5
|
Deleted some old deprecated methods from Component, and tidied a few things up
|
2017-12-20 15:30:40 +00:00 |
|
jules
|
89b4e13423
|
Fixed some incorrect documentation in the singleton macros
|
2017-12-14 14:14:57 +00:00 |
|
jules
|
faa847f443
|
Added a method OptionalScopedPointer::reset()
|
2017-12-13 11:05:22 +00:00 |
|
jules
|
22ad29baba
|
Workaround for a VS compiler warning
|
2017-12-12 17:40:17 +00:00 |
|
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!
|
2017-12-12 16:24:40 +00:00 |
|
Tom Poole
|
170cc39858
|
Fixed data races in the Atomic and AbstractFifo classes
|
2017-12-04 17:22:05 +00:00 |
|
Tom Poole
|
0f6cfda823
|
Removed a legacy Mac implementation of Atomic
|
2017-12-04 13:49:31 +00:00 |
|