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

196 commits

Author SHA1 Message Date
ed
6da59e87a3 Fix float_Pi deprecation warning typo 2021-10-04 10:01:07 +01:00
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
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
64b9366e8f
CharacterFunctions: Add new function to move pointer past whitespace 2021-02-18 10:54:29 +00:00
reuk
394c4fd475 Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
reuk
ac2d7ee272 Clang: Fix build errors when using a recent clang-cl 2020-07-01 10:00:43 +01:00
reuk
4cf66d6522 Cleanup: Remove redundant inlines 2020-04-27 10:22:06 +01:00
ed
77aff4658b Fixed an edge case in Random::nextFloat() for dividends approaching std::numeric_limits<uint32>::max() 2020-04-27 10:14:32 +01:00
Ivan Cohen
c138bf91b4 DSP: Revamp DSP module 2020-04-24 14:37:09 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
ed
4a5dda489f Fixed some warnings with -Wconversion enabled 2020-03-17 09:02:57 +00:00
Tom Poole
28e03f0815 Replaced all instances of JUCE_CONSTEXPR with constexpr 2020-03-11 17:21:30 +00:00
Tom Poole
79d3e8b3f5 Windows: Removed some VS2013 workarounds 2019-07-11 15:28:41 +01:00
jules
0367d5c3a9 Added some PopupMenu::addItem overloads which let you attach a lambda callback to be invoked for a menu item. 2019-06-19 11:39:28 +01:00
jules
9a06be6d61 Some minor cleanups 2019-06-17 15:48:56 +01:00
Tom Poole
16dd26649a Fixed some GCC compiler warnings and removed deprecated functions 2019-06-04 16:48:44 +01:00
Tom Poole
c0af62f188 Windows: Removed some inverse hyperbolic compatibility functions 2019-04-08 15:29:23 +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
ed
bd916b68e1 Make Random::setSeedRandomly() globalSeed atomic to fix a data race when multiple threads create a Random object 2019-03-29 16:03:41 +00:00
reuk
e5ce2ceb97 MathsFunctions: Made numElementsInArray constexpr 2019-03-25 14:47:21 +00:00
ed
1a46fb3a5f Minor whitespace tidying 2019-03-15 14:10:14 +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
ed
84513eef8f Added JUCE_CONSTEXPR macro to qualifying functions in Range 2019-01-07 11:07:42 +00:00
Tom Poole
415dc54820 Protected the system Random from having its seed reset 2018-11-30 15:49:03 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
jules
6fda0bffca Fixed some stray zeros that were still being passed as null pointers 2018-10-05 12:15:04 +01:00
Tom Poole
1eb3de3312 Fixed a typo 2018-10-04 15:01:28 +01:00
ed
7ef2f508d3 Add approximatelyEqualTo() and isWithin() methods to juce_MathsFunctions.h 2018-08-10 16:36:50 +01:00
Tom Poole
c5862246b7 Prevented some implicit casts to bool using JUCE_STRICT_REFCOUNTEDPOINTER 2018-07-17 09:10:43 +01:00
Tom Poole
fc87d8cd1d Made some more JUCE classes trivially copyable 2018-07-11 15:07:00 +01:00
Tom Poole
08d67c763f Made some JUCE classes TriviallyCopyable 2018-07-11 09:17:31 +01:00
jules
95a3f0b039 Whitespace 2018-07-03 11:51:36 +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
974b4a8351 Removed some legacy friend class declarations that are no longer needed with modern compilers 2018-06-13 17:11:37 +01:00
jules
87042769b6 Tidied up some more old typedefs 2018-05-11 14:44:51 +01:00
jules
38295f332b Converted some old typedefs to using declarations 2018-05-03 09:59:05 +01:00
ed
fef47b8f68 Fixed a documentation typo 2018-04-30 08:41:42 +01:00
Tom Poole
ab863a6dc2 Replaced all usage of ScopedPointer with std::unique_ptr 2018-04-19 20:27:47 +01:00
Tom Poole
f5174e340e Added some assertions when the input to a NormalisableRange conversion function is outside of the expected range 2018-03-27 11:06:41 +01:00
Noah Dayan
9e867255d3 Fixed doxygen deprecated bug 2018-03-22 13:06:20 +00:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
Tom Poole
f1af3908d5 Documentation fixes 2018-03-11 09:25:09 +00:00
Tom Poole
4d20d1a406 Fixed an issue reading BigInteger ranges beyond the highest set bit 2018-03-06 17:50:11 +00:00
jules
1a60fa9765 More ScopedPointer/unique_ptr compatibility work 2018-01-10 17:35:08 +00:00
jules
5b13063162 Fixed a typo in comments 2018-01-10 11:48:06 +00:00
jules
f9313c8338 Deprecated some old functions roundDoubleToInt and roundFloatToInt - these can both be trivially replaced by roundToInt, and should have been deprecated long ago! 2018-01-09 16:28:14 +00:00
jules
249ab04f76 fixed a typo 2018-01-09 15:27:01 +00:00