1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
Commit graph

252 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
1a4296e98b
EdgeTable: Avoid shifts of negative numbers 2021-09-28 14:04:10 +01:00
reuk
8dc7636fc4
PathFlatteningIterator: Ensure iterator terminates when flattening paths with very large coordinate values 2021-06-04 13:04:24 +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
754ec66b42
Point: Fix incorrect type conversions in operator* and operator/ 2020-07-10 12:25:54 +01:00
reuk
394c4fd475 Clang: Fix warnings when building with clang 10 2020-07-01 10:00:43 +01:00
ed
009d685179 Updated all license headers 2020-06-29 08:30:22 +01:00
reuk
1502a3a8f2
Clang: Fix errors when building with clang on windows with C++20 enabled 2020-06-08 18:10:50 +01:00
ed
3ccbf8bc74 Use getDeterminant() method in AffineTransform::inverted() 2020-06-05 09:55:51 +01:00
ed
b77b14c6c3 Fixed some incorrect documentation examples for the Rectangle::removeFromRight() and ::removeFromBottom() methods 2020-05-22 11:22:43 +01:00
reuk
4cf66d6522 Cleanup: Remove redundant inlines 2020-04-27 10:22:06 +01:00
ed
c419bc516d Fix for Parallelogram::transformedBy() 2020-04-24 09:03:52 +01:00
Tom Poole
894e7d2bd2 Updated all license headers 2020-04-23 17:30:39 +01:00
reuk
327f817b9b Copyrights: Update commercial/gpl headers to be gpl-only 2020-04-09 15:22:56 +01:00
ed
26c9468dc5 Deprecated AffineTransform::getScaleFactor() as it was producing incorrect values for transforms containing rotations. Added getDeterminant() method for getting the determinant of the transform 2020-03-30 18:34:19 +01:00
Tom Poole
28e03f0815 Replaced all instances of JUCE_CONSTEXPR with constexpr 2020-03-11 17:21:30 +00:00
ed
59a058fdc6 Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough 2020-03-09 17:39:28 +00:00
ed
a54da0b832 Fixed some more typos 2020-01-07 08:53:23 +00:00
Tom Poole
a93ce46534 Fixed a bug in the previous commit 2019-09-25 09:54:20 +01:00
Tom Poole
ae0b8cf406 Fixed a Rectangle intersection issue 2019-09-24 14:48:24 +01:00
jules
485feb47ed Tweaked a couple of Rectangle methods to avoid some spurious assertions triggered by rounding errors 2019-06-21 12:15:51 +01:00
ed
88fecd196e Fixed a typo 2019-06-10 09:45:19 +01:00
ed
a234721110 Added various clang-tidy modernize-* fixes 2019-01-31 15:15:31 +00:00
ed
eaf0f990d4 Replaced all uses of static_cast<Type&&> with std::move 2018-11-28 17:29:20 +00:00
Tom Poole
06f8accd9c Fixed compatibility with Xcode 8.2.1 2018-11-09 09:19:34 +00:00
Tom Poole
b25c14535a Fixed an issue adding two RectangleLists 2018-10-12 09:25:28 +01: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
0165e066b2 Added a LookAndFeel method to modify Label borders 2018-09-04 10:11:29 +01:00
Tom Poole
0e1722e387 Multiple spelling fixes 2018-08-20 18:16:24 +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
7ab4d1708b Some misc cleanups, mainly around WeakReference usage and rectangles 2018-07-09 16:00:45 +01:00
jules
dee78f29f6 Misc cleanups and modernisation 2018-05-11 12:46:30 +01:00
jules
30f6206be9 Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0 2018-05-10 09:10:09 +01:00
jules
8c38c6f57f Marked as deprecated: String::empty, var::null, File::nonexistent, ValueTree::invalid and other problematic statically-initialised null values. Please just use the default constructor for these classes! 2018-05-09 08:08:46 +01:00
jules
121719be69 Added new method Rectangle::toNearestIntEdges(), and used this to improve the Grid layout snapping 2018-04-04 16:43:17 +01:00
ed
cdbc28c18b Add documentation tags 2018-03-15 12:10:32 +00:00
jules
85f74ca7d3 Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated 2017-12-31 10:49:33 +00:00
jules
a9eafbc90f Some tidying up in AffineTransform, and added a new fromTargetPoints method 2017-12-20 12:58:20 +00:00
jules
8d2150f239 Added a parallelogram class 2017-12-20 11:42:29 +00:00
jules
430948ad91 Fixed an undefined behaviour warning in the demo app, and tidied up a couple of path functions 2017-12-19 15:01:41 +00:00
jules
b028f299b8 Fixed some subtle (but benign) undefined behaviour with negative bit-shifts 2017-12-19 14:22:39 +00:00
jules
5e9267e5d8 Simplified the Path class by making it use an Array for starage. 2017-12-18 12:22:02 +00:00
jules
d9585241ad Changed the parameters to Graphics::fillCheckerBoard() to be floats rather than ints, and improved its performance 2017-12-06 17:33:26 +00:00
jules
d727f2a35a Added MathConstants::halfPi to improve readability 2017-12-06 12:56:00 +00:00
jules
d0111a4f96 Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi 2017-12-06 11:16:22 +00:00
jules
9d56e2990d Optimised the GL renderer to avoid splitting large rectangles into horizontal strips unnecessarily 2017-11-03 13:51:37 +00:00
jules
24f023bb23 Added some heuristics to EdgeTable to try to improve the table size prediction 2017-10-11 15:28:32 +01:00
jules
15871dd890 Added some more JUCE_CONSTEXPR flags to Point 2017-10-10 10:45:32 +01:00