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

301 commits

Author SHA1 Message Date
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.
2021-09-29 16:14:00 +01:00
reuk
b0bd1c4f63
SingleThreadedAbstractFifo: Move into juce_core 2021-09-27 13:15:39 +01:00
reuk
3c68581567
Use jassertquiet where possible 2021-07-23 10:58:44 +01:00
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
reuk
22189f7aa4
ArrayBase: Avoid undefined behaviour when trying to copy a range of 0 elements 2021-04-30 14:49:23 +01:00
Tom Poole
dbecf24722 Fixed a typo in the documentation 2021-02-01 15:13:37 +00:00
ed
46f5b126d5 Tidied up some template statement whitespace 2021-01-29 15:40:12 +00:00
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators 2021-01-28 20:14:11 +00:00
reuk
ff758a53b4
Array: Fix perfect forwarding when adding elements 2021-01-22 10:23:11 +00:00
reuk
ae1076d01f
var: Make it safe to create var instances with static storage duration 2021-01-15 11:17:12 +00:00
reuk
4d27422d9f GCC: Suppress cast-align warnings 2020-09-24 12:52:45 +01:00
ed
333f98d204 Squashed some compiler warnings with -Wmissing-prototypes enabled 2020-08-27 14:13:58 +01:00
ed
d510b73cdf Normalised all whitespace before args in std::function 2020-06-05 09:37:49 +01:00
reuk
4cf66d6522 Cleanup: Remove redundant inlines 2020-04-27 10:22:06 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
ed
c2e3dcd8bf Updated the documentation of some methods which now return std::unique_ptr instead of raw pointers to remove references to deleting the returned object 2020-04-23 17:08:29 +01:00
reuk
5f348c3040 Warnings: Add warning-wrangling header 2020-04-13 13:16:05 +01:00
ed
5bb2e8ca6f Made PropertySet::setValue() methods take a StringRef instead of a const String& so that Identifiers can be implicitly cast 2020-04-02 16:12:04 +01:00
reuk
4b7043b0cd OptionalScopedPointer: Added proper move semantics and convenience constructors 2020-02-25 17:36:36 +00:00
ed
e36736e0ec Fixed some typos 2020-01-06 14:04:16 +00:00
jules
7c2e0edc7e Added a deleted void* constructor to var, to prevent people accidentally giving it a raw pointer and having it cast to bool 2019-11-23 11:13:06 +00:00
ed
1de5a9333c Minor OwnedArray documentation fixes 2019-09-03 14:34:18 +01:00
ed
f95d9ea8df Minor documentation update 2019-09-02 10:03:23 +01:00
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