Tom Poole
dea3fe60e4
Update copyright banners
3 years ago
reuk
1d1d743b9f
Build: Add -Wdeprecated to recommended flags and fix new warnings
3 years ago
Roland Rabien
9d692c13cf
Fix invalid usage of JUCE_NODISCARD
3 years ago
reuk
b80927fc91
Nodiscard: Add to builder-pattern functions
3 years ago
reuk
7d21a967e4
AudioBlock: Use new size_t overloads from FloatVectorOperations
3 years ago
reuk
ca5c9fdae6
FloatVectorOperations: Add overloads accepting size_t element counts
3 years ago
ed
fc0f6b1f2f
Tidy up
3 years ago
ed
6da59e87a3
Fix float_Pi deprecation warning typo
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
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
64b9366e8f
CharacterFunctions: Add new function to move pointer past whitespace
4 years ago
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
4 years ago
reuk
ac2d7ee272
Clang: Fix build errors when using a recent clang-cl
4 years ago
reuk
4cf66d6522
Cleanup: Remove redundant inlines
5 years ago
ed
77aff4658b
Fixed an edge case in Random::nextFloat() for dividends approaching std::numeric_limits<uint32>::max()
5 years ago
Ivan Cohen
c138bf91b4
DSP: Revamp DSP module
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
ed
4a5dda489f
Fixed some warnings with -Wconversion enabled
5 years ago
Tom Poole
28e03f0815
Replaced all instances of JUCE_CONSTEXPR with constexpr
5 years ago
Tom Poole
79d3e8b3f5
Windows: Removed some VS2013 workarounds
5 years ago
jules
0367d5c3a9
Added some PopupMenu::addItem overloads which let you attach a lambda callback to be invoked for a menu item.
6 years ago
jules
9a06be6d61
Some minor cleanups
6 years ago
Tom Poole
16dd26649a
Fixed some GCC compiler warnings and removed deprecated functions
6 years ago
Tom Poole
c0af62f188
Windows: Removed some inverse hyperbolic compatibility functions
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
ed
bd916b68e1
Make Random::setSeedRandomly() globalSeed atomic to fix a data race when multiple threads create a Random object
6 years ago
reuk
e5ce2ceb97
MathsFunctions: Made numElementsInArray constexpr
6 years ago
ed
1a46fb3a5f
Minor whitespace tidying
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
jules
cadac817c6
Enabled some more warning flags in Xcode, and fixed the problems they caused
6 years ago
ed
84513eef8f
Added JUCE_CONSTEXPR macro to qualifying functions in Range
6 years ago
Tom Poole
415dc54820
Protected the system Random from having its seed reset
6 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
6 years ago
jules
6fda0bffca
Fixed some stray zeros that were still being passed as null pointers
6 years ago
Tom Poole
1eb3de3312
Fixed a typo
6 years ago
ed
7ef2f508d3
Add approximatelyEqualTo() and isWithin() methods to juce_MathsFunctions.h
6 years ago
Tom Poole
c5862246b7
Prevented some implicit casts to bool using JUCE_STRICT_REFCOUNTEDPOINTER
6 years ago
Tom Poole
fc87d8cd1d
Made some more JUCE classes trivially copyable
6 years ago
Tom Poole
08d67c763f
Made some JUCE classes TriviallyCopyable
6 years ago
jules
95a3f0b039
Whitespace
7 years ago
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
7 years ago
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
7 years ago
jules
974b4a8351
Removed some legacy friend class declarations that are no longer needed with modern compilers
7 years ago
jules
87042769b6
Tidied up some more old typedefs
7 years ago
jules
38295f332b
Converted some old typedefs to using declarations
7 years ago
ed
fef47b8f68
Fixed a documentation typo
7 years ago
Tom Poole
ab863a6dc2
Replaced all usage of ScopedPointer with std::unique_ptr
7 years ago
Tom Poole
f5174e340e
Added some assertions when the input to a NormalisableRange conversion function is outside of the expected range
7 years ago