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

278 commits

Author SHA1 Message Date
Tom Poole
79d3e8b3f5 Windows: Removed some VS2013 workarounds 2019-07-11 15:28:41 +01:00
Tom Poole
fd855f851e Fixed a const access issue in OwnedArray 2019-06-07 19:52:56 +01:00
Tom Poole
16dd26649a Fixed some GCC compiler warnings and removed deprecated functions 2019-06-04 16:48:44 +01:00
reuk
c1a7557ac6 Fixed a RefCountedArray const correctness issue 2019-05-31 07:40:35 +01:00
Tom Poole
a9a0f6b92f Enforced more comprehensive const-correctness in the JUCE container classes 2019-05-29 08:52:16 +01:00
ed
afba45cf08 Added a ReferenceCountedObjectPtr overload of ReferenceCountedArray::set() 2019-05-24 11:34:00 +01:00
jules
0fb8c8e82a Added handy new function parseXMLIfTagMatches(), and refactored a lot of old code that was parsing XML in a more clunky way 2019-05-19 08:16:27 +01:00
jules
a97c4a9139 More std::unique_ptr modernisation - changed functions that used to return raw Drawable* pointers to use it 2019-05-16 15:37:47 +01:00
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! 2019-05-15 11:02:03 +01:00
jules
2e2cfb5f6c Made a lot of the functions that used to return a raw XmlElement* instead return a std::unique_ptr<XmlElement> to make it safer and more concise to capture them. Also added new methods to XmlElement for generating text, and deprecated the old ones 2019-05-09 10:51:19 +01:00
ed
6b835c8470 Fixed a documentation typo 2019-05-07 09:33:33 +01:00
ed
497a1b3fb7 Added juce_UnitTestCategories.h to replace raw strings used for test categories 2019-04-03 15:10:40 +01:00
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