Tom Poole
784f82ffec
Fix some Doxygen issues
2 years ago
reuk
891daf1332
Optional: Update implementation to improve debugging experience
This patch also makes Optional public to end users.
2 years ago
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
attila
e6cf6ab064
ListenerList: Modify iterator during removals to guarantee callback
3 years ago
reuk
5705a83065
ListenerList: Remove deprecation warning
3 years ago
reuk
5d096b46d7
Add simple Optional type
3 years ago
Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
ebac835673
Fix some deprecation warnings
3 years ago
Tom Poole
c072b1bc8e
Fix some typos
3 years ago
ed
fc0f6b1f2f
Tidy up
3 years ago
reuk
317083d409
Variant: Improve documentation for equals()
3 years ago
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.
3 years ago
reuk
b0bd1c4f63
SingleThreadedAbstractFifo: Move into juce_core
3 years ago
reuk
3c68581567
Use jassertquiet where possible
3 years ago
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
4 years ago
reuk
22189f7aa4
ArrayBase: Avoid undefined behaviour when trying to copy a range of 0 elements
4 years ago
Tom Poole
dbecf24722
Fixed a typo in the documentation
4 years ago
ed
46f5b126d5
Tidied up some template statement whitespace
4 years ago
reuk
3baaad8b5b
XmlElement: Update loops to use new iterators
4 years ago
reuk
ff758a53b4
Array: Fix perfect forwarding when adding elements
4 years ago
reuk
ae1076d01f
var: Make it safe to create var instances with static storage duration
4 years ago
reuk
4d27422d9f
GCC: Suppress cast-align warnings
4 years ago
ed
333f98d204
Squashed some compiler warnings with -Wmissing-prototypes enabled
4 years ago
ed
d510b73cdf
Normalised all whitespace before args in std::function
5 years ago
reuk
4cf66d6522
Cleanup: Remove redundant inlines
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
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
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
5f348c3040
Warnings: Add warning-wrangling header
5 years ago
ed
5bb2e8ca6f
Made PropertySet::setValue() methods take a StringRef instead of a const String& so that Identifiers can be implicitly cast
5 years ago
reuk
4b7043b0cd
OptionalScopedPointer: Added proper move semantics and convenience constructors
5 years ago
ed
e36736e0ec
Fixed some typos
5 years ago
jules
7c2e0edc7e
Added a deleted void* constructor to var, to prevent people accidentally giving it a raw pointer and having it cast to bool
5 years ago
ed
1de5a9333c
Minor OwnedArray documentation fixes
5 years ago
ed
f95d9ea8df
Minor documentation update
5 years ago
Tom Poole
79d3e8b3f5
Windows: Removed some VS2013 workarounds
5 years ago
Tom Poole
fd855f851e
Fixed a const access issue in OwnedArray
6 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
reuk
c1a7557ac6
Fixed a RefCountedArray const correctness issue
6 years ago
Tom Poole
a9a0f6b92f
Enforced more comprehensive const-correctness in the JUCE container classes
6 years ago
ed
afba45cf08
Added a ReferenceCountedObjectPtr overload of ReferenceCountedArray::set()
6 years ago
jules
0fb8c8e82a
Added handy new function parseXMLIfTagMatches(), and refactored a lot of old code that was parsing XML in a more clunky way
6 years ago
jules
a97c4a9139
More std::unique_ptr modernisation - changed functions that used to return raw Drawable* pointers to use it
6 years ago
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!
6 years ago
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
6 years ago
ed
6b835c8470
Fixed a documentation typo
6 years ago
ed
497a1b3fb7
Added juce_UnitTestCategories.h to replace raw strings used for test categories
6 years ago
ed
f3af250ff7
Tidied up unit test code layout
6 years ago
Tom Poole
4700dd9773
Serialise doubles into more human friendly XML and JSON
6 years ago
Tom Poole
a1dc1b1fce
Fixed an issue iterating arrays of owned objects from object destructors
6 years ago