reuk
f1f68007c6
Containers: Add simple Span implementation
2 years ago
Tom Poole
a28597c3c9
Fix GCC 12 compiler warnings
2 years ago
reuk
b46edc31ce
Optional: Make operator bool() explicit
2 years ago
reuk
2dc90bd6e6
Variant: Remove unnecessary definitions of static constexpr data members
2 years ago
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]]
2 years ago
reuk
7c14c1fcd7
Use more concise stdlib type aliases
2 years ago
reuk
7391d18b8e
Optional: Implement in terms of std::optional
2 years ago
Tom Poole
784f82ffec
Fix some Doxygen issues
3 years ago
reuk
891daf1332
Optional: Update implementation to improve debugging experience
This patch also makes Optional public to end users.
3 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