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
reuk
c1a7557ac6
Fixed a RefCountedArray const correctness issue
6 years ago
Tom Poole
a9a0f6b92f
Enforced more comprehensive const-correctness in the JUCE container classes
6 years ago
ed
afba45cf08
Added a ReferenceCountedObjectPtr overload of ReferenceCountedArray::set()
6 years ago
Tom Poole
a1dc1b1fce
Fixed an issue iterating arrays of owned objects from object destructors
6 years ago
Tom Poole
bd211ce7df
Fixed a bug limiting the extent of removeRange in ReferenceCountedArray
6 years ago
Tom Poole
4bab8cc1d5
Fixed a bug adding ReferenceCountedArrays
6 years ago
Tom Poole
bc244b23de
Fixed an issue with a ReferenceCountedArray constructor
6 years ago
Tom Poole
f453d4ac4e
Replaced ArrayAllocationBase with a safer storage container
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
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
38295f332b
Converted some old typedefs to using declarations
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
jules
8a7f992725
Small fix in ReferenceCountedArray
7 years ago
jules
b0cd45329f
Fixed a cast warning, added some missing move operators to ReferenceCountedArray and URL, and tidied up some internal array code
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
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
17497122e4
Consistency fix: renamed Array::empty() to Array::isEmpty() and added a method isEmpty() to all container classes which didn't have it yet.
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
d8bf3aabca
Added a method ReferenceCountedArray::clearQuick()
10 years ago
jules
7b1e821800
Spelling correction.
10 years ago
jules
2f1ef234ce
Tightened up a few places where numeric conversion warnings could happen.
11 years ago
jules
0ff1e14b8b
Added assertions to some array methods to avoid false alarms from Clang static analyser.
11 years ago
jules
81c87652db
Removed an incorrect assertion.
11 years ago
jules
8809efcb7a
A few tweaks to help the clang static analyser avoid false alarms.
11 years ago
jules
954312b23c
Changes to ReferenceCountedObject to support more flexible deletion via ContainerDeletePolicy.
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
5a1112ab94
Updated the format of the header include guard macros.
12 years ago
jules
899b1253da
Minor clean-ups.
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
7a3453f48b
Minor clean-ups.
12 years ago
jules
d9f0ac29b6
Fixed a few documentation typos. Tweaked positioning logic for CallOutBox.
12 years ago
jules
842d30fbfa
Minor tidying-up.
12 years ago
jules
1f95f54089
Purged some warnings.
13 years ago
jules
11659678d6
WindowsMediaFormat fix. ReferenceCountedArray::indexOfSorted() method.
13 years ago
jules
22c72de736
VC2011 compiler tweaks. ReferenceCountedArray fix.
13 years ago
jules
2ad5e0bfb7
Couple of tweaks to ReferenceCountedArray to make it better at handling polymorphic types.
13 years ago