1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-26 02:14:22 +00:00
Commit graph

238 commits

Author SHA1 Message Date
jules
e2427065e0 Added a handy initialiser-list based constructor for NamedValueSet 2018-06-18 10:24:51 +01:00
jules
974b4a8351 Removed some legacy friend class declarations that are no longer needed with modern compilers 2018-06-13 17:11:37 +01:00
hogliux
5799a4ee5b MSVC: Added a workaround for a compiler bug 2018-06-12 15:54:48 +01:00
jules
a1b6f2aa34 Whitespace 2018-06-07 17:44:04 +01:00
jules
172c580200 Added an assertion in Array::removeLast 2018-06-07 17:23:16 +01:00
jules
108d79d8d9 Made Array::addArray() more flexible, so it can read from other array classes 2018-06-07 09:44:25 +01:00
jules
87042769b6 Tidied up some more old typedefs 2018-05-11 14:44:51 +01:00
jules
30f6206be9 Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0 2018-05-10 09:10:09 +01:00
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! 2018-05-09 08:08:46 +01:00
jules
38295f332b Converted some old typedefs to using declarations 2018-05-03 09:59:05 +01:00
Lukasz Kozakiewicz
bac6996d98 SparseSet: fix removeRange() and add unit tests. 2018-04-25 16:38:45 +02:00
jules
13a6acfe15 Added some hashing support for the Uuid class 2018-04-24 10:03:53 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
hogliux
89ec1375f3 Adding missing locks in ListenerList when the underlying array of the ListenerList uses a CriticalSection 2018-04-19 12:07:48 +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
jules
809651694e Simplified the SparseSet class using Ranges 2018-04-03 16:18:06 +01:00
jules
c734e03dd0 Avoided some UB warnings when trying to sort empty arrays 2018-03-21 10:49:27 +00: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
reuk
bd290d8283 Avoid sorting arrays which contain one or fewer elements 2018-02-21 11:38:48 +00:00
ed
d77f4fe691 Added an initialiser list constructor to OwnedArray 2018-02-20 17:22:28 +00:00
jules
13cbb960f4 Fixed a warning on Android 2018-01-16 12:52:25 +00:00
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. 2018-01-16 12:38:44 +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
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00
jules
48a5fbd333 Another batch of ScopedPointer cleanups 2018-01-10 14:49:57 +00:00
jules
85f74ca7d3 Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated 2017-12-31 10:49:33 +00:00
Tom Poole
170cc39858 Fixed data races in the Atomic and AbstractFifo classes 2017-12-04 17:22:05 +00:00
jules
f4963a27d7 Minor optimisations and cleanups in Array 2017-12-04 11:08:20 +00:00
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! 2017-11-28 16:18:40 +00:00
jules
27df960a52 Fix for VS2015 2017-11-27 09:42:32 +00:00
jules
117df12136 Fixed constness of a few SparseSet methods, and added some move operators 2017-11-27 09:27:19 +00:00
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) 2017-11-01 17:41:06 +00:00
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 2017-10-30 13:53:46 +00:00
jules
9e78aa7b32 Spelling fix 2017-10-21 08:27:57 +01:00
jules
f0ef700e46 Modernised a bunch of code mainly relating to character/string iteration 2017-10-19 16:52:20 +01:00
jules
6cb79e1414 Added back std::initializer_list constructors for Array and StringArray in addition to the variadic constructors 2017-10-17 16:17:21 +01:00
jules
acf28c6fa7 Removed the explicitness of the Array single-item constructors 2017-10-17 15:21:26 +01:00
jules
7ece1b4135 Changed Array and StringArray to use variadic template constructors instead of initializer_lists, so that we can use them on old platforms 2017-10-16 12:08:06 +01:00
jules
8a7f992725 Small fix in ReferenceCountedArray 2017-10-16 10:11:53 +01:00
jules
b0cd45329f Fixed a cast warning, added some missing move operators to ReferenceCountedArray and URL, and tidied up some internal array code 2017-10-13 14:49:49 +01:00
tpoole
3cb185fcc3 A minor code cleanup 2017-10-12 12:31:55 +01:00
jules
dd4230586f Noticed that we still had some template whitespace workarounds for older compilers, so tidied them up 2017-10-11 12:26:05 +01:00
jules
3d7c777238 Some light modernisation of a bunch of old code 2017-10-04 12:47:43 +01:00
jules
4f204f405d Added a method var::hasProperty() 2017-09-15 09:55:53 +01:00
tpoole
0c3faf4b58 Added an OS X 10.6 compatibility fix 2017-09-08 09:51:41 +01:00
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 2017-09-08 08:59:55 +01:00
tpoole
b58a0f4be7 Fixed some VS2013 compiler errors 2017-09-07 16:44:46 +01:00
jules
7c6f3d40b6 Tidied up some method calls involving HeapBlock 2017-09-05 16:06:57 +01:00
jules
a0d8137fea Tidied up the DefaultHashFunctions methods, to avoid some edge-case values and avoid using abs() 2017-08-21 11:45:24 +01:00