1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-16 00:34:19 +00:00
Commit graph

266 commits

Author SHA1 Message Date
ed
f3af250ff7 Tidied up unit test code layout 2019-04-02 11:54:29 +01:00
Tom Poole
a1dc1b1fce Fixed an issue iterating arrays of owned objects from object destructors 2019-03-20 14:33:19 +00:00
ed
1a46fb3a5f Minor whitespace tidying 2019-03-15 14:10:14 +00:00
Tom Poole
bbe49f6b36 Serialise doubles into more human friendly XML and JSON 2019-02-27 17:59:24 +00:00
ed
9762e29007 Deleted some var constructors that take a const ReferenceCountedObject* and were resolving to the wrong type 2019-02-11 15:45:14 +00:00
Tom Poole
306e7e4360 Fixed a few more places where doubles were not serialised to full accuracy 2019-02-11 14:44:19 +00:00
jules
8fb3508913 Tidied up a comment in AbstractFIFO 2019-02-08 16:38:59 +00:00
Tom Poole
be83a08c3b Added an assertion to check the OpenGL swap interval on MacOS 2019-02-01 13:00:08 +00:00
jules
06a2654a74 Moved some AbstractFifo declarations to avoid a compiler warning 2019-01-31 17:06:43 +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
Tom Poole
d06a2b8c13 Fixed compatibility with GCC 4.8 2018-12-06 10:45:23 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
ed
b6bebb313f Fixed a documentation error in ListenerList 2018-11-23 17:35:42 +00:00
jules
aaad33ce57 Fixed a couple of asan memory access warnings 2018-10-17 11:35:54 +01:00
reuk
392bd972ac Added converting constructors to OwnedArray, ArrayBase and HeapBlock 2018-10-05 15:03:13 +01:00
Tom Poole
bd211ce7df Fixed a bug limiting the extent of removeRange in ReferenceCountedArray 2018-09-21 16:42:37 -07:00
jules
76c94e2c10 Added some missing comparison operators to var 2018-09-20 13:47:30 +01:00
Tom Poole
34bbb94e2f Fixed some documentation errors 2018-09-05 17:23:37 +01:00
Tom Poole
0e1722e387 Multiple spelling fixes 2018-08-20 18:16:24 +01:00
Tom Poole
608f7bc36c Fixed a bug in the unit tests without JUCE_STRICT_REFCOUNTEDPOINTER 2018-08-20 17:44:11 +01:00
jules
e26049f141 Added assertions to Array to catch situations where a reference to a member is passed into an add() method. Also changed the form of StringArray method params to avoid this problem. 2018-08-13 10:22:23 +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
4bab8cc1d5 Fixed a bug adding ReferenceCountedArrays 2018-07-17 13:23:12 +01:00
Tom Poole
bc244b23de Fixed an issue with a ReferenceCountedArray constructor 2018-07-16 17:14:26 +01:00
Tom Poole
f453d4ac4e Replaced ArrayAllocationBase with a safer storage container 2018-07-12 12:05:54 +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
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
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