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
|
e2427065e0
|
Added a handy initialiser-list based constructor for NamedValueSet
|
7 years ago |
jules
|
974b4a8351
|
Removed some legacy friend class declarations that are no longer needed with modern compilers
|
7 years ago |
hogliux
|
5799a4ee5b
|
MSVC: Added a workaround for a compiler bug
|
7 years ago |
jules
|
a1b6f2aa34
|
Whitespace
|
7 years ago |
jules
|
172c580200
|
Added an assertion in Array::removeLast
|
7 years ago |
jules
|
108d79d8d9
|
Made Array::addArray() more flexible, so it can read from other array classes
|
7 years ago |
jules
|
87042769b6
|
Tidied up some more old typedefs
|
7 years ago |
jules
|
30f6206be9
|
Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0
|
7 years ago |
jules
|
8c38c6f57f
|
Marked as deprecated: String::empty, var::null, File::nonexistent, ValueTree::invalid and other problematic statically-initialised null values. Please just use the default constructor for these classes!
|
7 years ago |
jules
|
38295f332b
|
Converted some old typedefs to using declarations
|
7 years ago |
Lukasz Kozakiewicz
|
9edfea2486
|
SparseSet: fix removeRange() and add unit tests.
|
7 years ago |
hogliux
|
825320dafa
|
Adding missing locks in ListenerList when the underlying array of the ListenerList uses a CriticalSection
|
7 years ago |
Lukasz Kozakiewicz
|
bac6996d98
|
SparseSet: fix removeRange() and add unit tests.
|
7 years ago |
jules
|
13a6acfe15
|
Added some hashing support for the Uuid class
|
7 years ago |
Tom Poole
|
ab863a6dc2
|
Replaced all usage of ScopedPointer with std::unique_ptr
|
7 years ago |
hogliux
|
89ec1375f3
|
Adding missing locks in ListenerList when the underlying array of the ListenerList uses a CriticalSection
|
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 |
jules
|
809651694e
|
Simplified the SparseSet class using Ranges
|
7 years ago |
jules
|
c734e03dd0
|
Avoided some UB warnings when trying to sort empty arrays
|
7 years ago |
ed
|
cdbc28c18b
|
Add documentation tags
|
7 years ago |
Tom Poole
|
f1af3908d5
|
Documentation fixes
|
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
|
13cbb960f4
|
Fixed a warning on Android
|
7 years ago |
jules
|
e2688eec0a
|
Added methods AbstractFifo::read() and AbstractFifo::write() which return a scope-based object to make it easy to hold, release and iterate blocks of items.
|
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
|
1a60fa9765
|
More ScopedPointer/unique_ptr compatibility work
|
7 years ago |
jules
|
48a5fbd333
|
Another batch of ScopedPointer cleanups
|
7 years ago |
jules
|
85f74ca7d3
|
Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated
|
7 years ago |
Tom Poole
|
170cc39858
|
Fixed data races in the Atomic and AbstractFifo classes
|
7 years ago |
jules
|
f4963a27d7
|
Minor optimisations and cleanups in Array
|
7 years ago |
jules
|
a586966c65
|
Added lambda callback methods to ListenerList. Its old method-invocation callbacks were refactored to use variadic templates instead of the old awful macros they used in the past, but please move your code to use the new lambda functions, as the one stuff will eventually be deprecated!
|
7 years ago |
jules
|
27df960a52
|
Fix for VS2015
|
7 years ago |
jules
|
117df12136
|
Fixed constness of a few SparseSet methods, and added some move operators
|
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
|
6b45923426
|
Made the NamedValueSet begin/end iterators const, and tidied up a few other things in that class, including a fix to its equality operator
|
7 years ago |
jules
|
9e78aa7b32
|
Spelling fix
|
7 years ago |
jules
|
f0ef700e46
|
Modernised a bunch of code mainly relating to character/string iteration
|
7 years ago |
jules
|
6cb79e1414
|
Added back std::initializer_list constructors for Array and StringArray in addition to the variadic constructors
|
7 years ago |
jules
|
acf28c6fa7
|
Removed the explicitness of the Array single-item constructors
|
7 years ago |
jules
|
7ece1b4135
|
Changed Array and StringArray to use variadic template constructors instead of initializer_lists, so that we can use them on old platforms
|
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 |
tpoole
|
3cb185fcc3
|
A minor code cleanup
|
7 years ago |
jules
|
dd4230586f
|
Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up
|
7 years ago |
jules
|
3d7c777238
|
Some light modernisation of a bunch of old code
|
7 years ago |
jules
|
4f204f405d
|
Added a method var::hasProperty()
|
7 years ago |
tpoole
|
0c3faf4b58
|
Added an OS X 10.6 compatibility fix
|
7 years ago |