reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]]
2 years ago
Tom Poole
dea3fe60e4
Update copyright banners
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
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
ed
1de5a9333c
Minor OwnedArray documentation fixes
5 years ago
Tom Poole
fd855f851e
Fixed a const access issue in OwnedArray
6 years ago
Tom Poole
a9a0f6b92f
Enforced more comprehensive const-correctness in the JUCE container classes
6 years ago
jules
62ead7dc7d
Added some overloads to OwnedArray to let items be added from std::unique_ptrs. Also removed OwnedArray::addIfNotAlreadyThere because it's ambiguous about whether the object should be deleted if it fails to be added!
6 years ago
Tom Poole
a1dc1b1fce
Fixed an issue iterating arrays of owned objects from object destructors
6 years ago
reuk
392bd972ac
Added converting constructors to OwnedArray, ArrayBase and HeapBlock
6 years ago
Tom Poole
bd211ce7df
Fixed a bug limiting the extent of removeRange in ReferenceCountedArray
6 years ago
Tom Poole
f453d4ac4e
Replaced ArrayAllocationBase with a safer storage container
6 years ago
jules
38295f332b
Converted some old typedefs to using declarations
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
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
ed
cdbc28c18b
Add documentation tags
7 years ago
reuk
bd290d8283
Avoid sorting arrays which contain one or fewer elements
7 years ago
ed
d77f4fe691
Added an initialiser list constructor to OwnedArray
7 years ago
jules
1a60fa9765
More ScopedPointer/unique_ptr compatibility work
7 years ago
jules
48a5fbd333
Another batch of ScopedPointer cleanups
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
jules
eda613c6db
Moved all "namespace juce" declarations from module headers to the individual .h and .cpp source files. This makes life a lot easier for Intellisense and other IDE autocompletion tools
7 years ago
jules
7c6f3d40b6
Tidied up some method calls involving HeapBlock
7 years ago
hogliux
b5afccc37c
Updated file headers and the README with the JUCE 5 license
8 years ago
hogliux
2da1bc5f41
Replace include guards with "#pragma once"
8 years ago
hogliux
9f3fb1c0a6
Added a compiler error if your compiler is too old and removed numerous code checks for old compilers which are now deprecated
8 years ago
tpoole
2e84129479
Updated the juce_audio_basics, juce_audio_devices, juce_blocks_basics, juce_core and juce_events modules to a new ISC license
8 years ago
Timur Doumler
fc69dc00db
Changed addIfNotAlreadyThere method of all array classes to return a bool, indicating whether the object was added or not.
9 years ago
Timur Doumler
09be38bc46
Added isEmpty() method to OwnedArray.
9 years ago
jules
4583fa3fbf
Used the ignoreUnused() function to tidy up some old code
9 years ago
jules
02492b36b9
Lots of small whitespace tweaks.
9 years ago
hogliux
c7b8e77031
Update copyright notice
9 years ago
jules
5fd933f041
Minor documentation fix.
10 years ago
jules
2b0f3f45e0
Made OwnedArray::addCopiesOf handle null pointers.
11 years ago
jules
aa8fdc8cba
Made a couple of OwnedArray methods return the object that they are passed.
11 years ago
jules
0ff1e14b8b
Added assertions to some array methods to avoid false alarms from Clang static analyser.
11 years ago
jules
8809efcb7a
A few tweaks to help the clang static analyser avoid false alarms.
11 years ago
jules
65c155e372
Added a class ContainerDeletePolicy, to allow custom delete operations on objects held by ScopedPointers or OwnedArrays. Also cleaned away a lot of superfluous includes in juce_core files.
11 years ago
jules
1e3973a212
Doxygen warning fixes and extra comments.
11 years ago
jules
5b25ac6609
Renamed the swapWithArray methods in the array classes to "swapWith" to be more consistent with other swap method naming, and templated the methods for more flexibility.
11 years ago
jules
19b7d59c14
Added method OwnedArray::clearQuick
11 years ago
jules
5a1112ab94
Updated the format of the header include guard macros.
12 years ago
jules
282cf3dac4
constness fix in OwnedArray.
12 years ago
jules
aec3d12753
A few minor tweaks to avoid warnings etc.
12 years ago
jules
7f7cbe73fd
Over-zealous assertion fix.
12 years ago
jules
57832f97e1
Avoided a false assertion.
12 years ago
jules
78aac0995a
Fixes for some clang static analysis warnings.
12 years ago
jules
03c2801f3f
Copyright header update in all module files. juce_core modules are now ISC licensed. All other modules are GPLv2/3/AGPLv3
12 years ago
jules
0ceeb573d8
Minor changes to avoid pedantic compiler warnings.
12 years ago