reuk
44b34be183
Rectangle: Add string conversion functions for floats and doubles
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
1a4296e98b
EdgeTable: Avoid shifts of negative numbers
3 years ago
reuk
8dc7636fc4
PathFlatteningIterator: Ensure iterator terminates when flattening paths with very large coordinate values
4 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
754ec66b42
Point: Fix incorrect type conversions in operator* and operator/
4 years ago
reuk
394c4fd475
Clang: Fix warnings when building with clang 10
5 years ago
ed
009d685179
Updated all license headers
5 years ago
reuk
1502a3a8f2
Clang: Fix errors when building with clang on windows with C++20 enabled
5 years ago
ed
3ccbf8bc74
Use getDeterminant() method in AffineTransform::inverted()
5 years ago
ed
b77b14c6c3
Fixed some incorrect documentation examples for the Rectangle::removeFromRight() and ::removeFromBottom() methods
5 years ago
reuk
4cf66d6522
Cleanup: Remove redundant inlines
5 years ago
ed
c419bc516d
Fix for Parallelogram::transformedBy()
5 years ago
Tom Poole
894e7d2bd2
Updated all license headers
5 years ago
Tom Poole
2d16374b14
Updated all license headers
5 years ago
reuk
327f817b9b
Copyrights: Update commercial/gpl headers to be gpl-only
5 years ago
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
5 years ago
Tom Poole
28e03f0815
Replaced all instances of JUCE_CONSTEXPR with constexpr
5 years ago
ed
59a058fdc6
Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough
5 years ago
ed
a54da0b832
Fixed some more typos
5 years ago
Tom Poole
a93ce46534
Fixed a bug in the previous commit
5 years ago
Tom Poole
ae0b8cf406
Fixed a Rectangle intersection issue
5 years ago
jules
485feb47ed
Tweaked a couple of Rectangle methods to avoid some spurious assertions triggered by rounding errors
6 years ago
ed
88fecd196e
Fixed a typo
6 years ago
ed
a234721110
Added various clang-tidy modernize-* fixes
6 years ago
ed
eaf0f990d4
Replaced all uses of static_cast<Type&&> with std::move
6 years ago
Tom Poole
06f8accd9c
Fixed compatibility with Xcode 8.2.1
6 years ago
Tom Poole
b25c14535a
Fixed an issue adding two RectangleLists
6 years ago
jules
6fda0bffca
Fixed some stray zeros that were still being passed as null pointers
6 years ago
Tom Poole
0165e066b2
Added a LookAndFeel method to modify Label borders
6 years ago
Tom Poole
0e1722e387
Multiple spelling fixes
6 years ago
Tom Poole
fc87d8cd1d
Made some more JUCE classes trivially copyable
7 years ago
Tom Poole
08d67c763f
Made some JUCE classes TriviallyCopyable
7 years ago
jules
7ab4d1708b
Some misc cleanups, mainly around WeakReference usage and rectangles
7 years ago
jules
dee78f29f6
Misc cleanups and modernisation
7 years ago
jules
d4762f1d9a
Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0
7 years ago
jules
30f6206be9
Fix for compile error with JUCE_ALLOW_STATIC_NULL_VARIABLES=0
7 years ago
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!
7 years ago
jules
121719be69
Added new method Rectangle::toNearestIntEdges(), and used this to improve the Grid layout snapping
7 years ago
ed
cdbc28c18b
Add documentation tags
7 years ago
jules
85f74ca7d3
Clarified comments around the JUCE_ALLOW_STATIC_NULL_VARIABLES items to make clear that they're deprecated
7 years ago
jules
a9eafbc90f
Some tidying up in AffineTransform, and added a new fromTargetPoints method
7 years ago
jules
8d2150f239
Added a parallelogram class
7 years ago
jules
430948ad91
Fixed an undefined behaviour warning in the demo app, and tidied up a couple of path functions
7 years ago
jules
b028f299b8
Fixed some subtle (but benign) undefined behaviour with negative bit-shifts
7 years ago
jules
5e9267e5d8
Simplified the Path class by making it use an Array for starage.
7 years ago
jules
d9585241ad
Changed the parameters to Graphics::fillCheckerBoard() to be floats rather than ints, and improved its performance
7 years ago
jules
d727f2a35a
Added MathConstants::halfPi to improve readability
7 years ago
jules
d0111a4f96
Began phasing out double_Pi and float_Pi in favour of MathConstants::pi. Also added MathConstants::twoPi
7 years ago