Tom Poole
61aa1fc4ab
Bump version number to 7.0.9
1 year ago
attila
c9c2ca0aab
Fix float equality warning in Rectangle::enlargeIfAdjacent()
Co-authored-by: Tobias Hienzsch <post@tobias-hienzsch.de>
1 year ago
Tom Poole
45494e34d5
Bump version number to 7.0.8
1 year ago
Tom Poole
6bf9bb9a2e
Add final specifiers in implementation files
1 year ago
Anthony Nicholls
158220ddfa
Formatting: Use nested namespace definitions
1 year ago
Tom Poole
4153d59e39
Formatting
1 year ago
Tom Poole
ff0cb4ad5b
Use NullCheckedInvocation in more places
1 year ago
Tom Poole
7d45d498b9
Removed some superfluous consts from definitions
1 year ago
Tom Poole
9b041f3d74
Add a base clang-tidy configuration
1 year ago
Tom Poole
0dfaa98e86
Rectangle: Add nodiscard to some methods
1 year ago
Tom Poole
82f1fd57a4
Fix some compiler warnings
1 year ago
Tom Poole
b769982bb5
Bump version number to 7.0.7
1 year ago
Tom Poole
3aa5d96e67
approximatelyEqual: Fix some compilation errors
1 year ago
Anthony Nicholls
2bb530f636
approximatelyEqual: Add customisable tolerances for floating-point comparisons
1 year ago
reuk
a22e423fc6
CoreGraphics: Refactor for improved consistency
1 year ago
Tom Poole
d5cb08e60e
Bump version number to 7.0.6
1 year ago
reuk
97fa2f0e8a
Convolution: Fix integer conversion in unit tests
1 year ago
Tom Poole
ff835be2ac
Doxygen: Fix some Doxygen issues
1 year ago
reuk
c8c4cdc7d5
EdgeTable: Add offset before truncating to somewhat restore old rounding behaviour
2 years ago
reuk
4f67a18a3f
EdgeTable: Avoid integer truncation when rendering paths with large coordinates
Previously, if the PathFlatteningIterator returned a line segment with
very large x or y positions, the result of
roundToInt (iter.y1 * 256.0f)
could be incorrect, if the result was too large to fit in an int.
Using int64_t to store intermediate results, converting to int when
updating the edge table itself produces accurate results for a wider
range of inputs.
2 years ago
reuk
1ad3430e14
ImageCache: Avoid assertion in destructor
2 years ago
reuk
3894fdbe5f
CoreGraphics: Fix issue where AlertWindow borders were not rendered correctly
2 years ago
reuk
8ed3618e12
CoreGraphicsContext: Fix issue where clipping a gradient on a layer-backed view could cause rendering glitches
2 years ago
reuk
b56f386b6b
CoreGraphicsContext: Reduce repetition
2 years ago
reuk
e414f76cac
CoreGraphicsContext: Replace bool flag with std::optional
2 years ago
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible
2 years ago
Anthony Nicholls
05d5c94990
Native: Rename all native files for improved consistency
2 years ago
reuk
a6638f8a6d
Path: Allow addPath to take a reference to self
2 years ago
reuk
cb14aa983d
Path: Allow addPath to take a reference to self
2 years ago
reuk
a59cba010b
ColourGradient: Create lookup tables using non-premultiplied colours
The OpenGL renderer uses ColourGradient::createLookupTable to generate
gradient textures. However, the tweening method used was different to
the tweening used by CoreGraphics gradients, and by the software
renderer.
Gradient tweening is now computed using non-premultiplied colours, to
ensure consistency between gradients rendered using OpenGL, and with
other renderers.
2 years ago
reuk
454bc7c63a
CoreGraphicsContext: Avoid hanging when drawing transformed tiled images
CGContextGetClipBoundingBox sometimes returns a 'null' rect. When it
does, the following logic will get stuck in the while loop drawing
individual tiles over and over again.
2 years ago
Tom Poole
78f1baae08
Bump version number to 7.0.5
2 years ago
Tom Poole
715fa7e8dc
Bump version number to 7.0.4
2 years ago
reuk
d7f3ae4fc1
RectangleList: Avoid entering a death spiral when subtracting very close rectangles
2 years ago
reuk
28f2157912
Convert ignoreUnused to [[maybe_unused]]
2 years ago
Tom Poole
306ed633c6
Bump version number to 7.0.3
2 years ago
reuk
19175ff698
OpenGL: Ensure that macOS uses the same (sRGB) colour space everywhere
2 years ago
reuk
7c14c1fcd7
Use more concise stdlib type aliases
2 years ago
reuk
8b8ae10059
Build: Replace JUCE_NODISCARD with [[nodiscard]]
2 years ago
reuk
b3a4d54a72
Build: Update the minimum C++ standard to C++17
2 years ago
attila
c0f31aa12a
CoreGraphics: fillAll() fills a larger area to avoid alpha blended edges
Alternatively we could disable antialiasing before the fill operation
but this could cause neighbouring Components to overlap on the screen
even if their coordinates don't.
2 years ago
reuk
5a6c8b1d0a
Linux Fonts: Improve default selection mechanism
2 years ago
reuk
c920eb95fd
Fonts: Fix issue where default fonts were set to use non-existent styles
2 years ago
Tom Poole
7296b8e3f7
Bump version number to 7.0.2
2 years ago
reuk
41ef5b7fd5
macOS: Remove macOS 10.14 preprocessor checks
The current minimum-supported Xcode (10.1) includes the macOS 10.14.1
SDK, so APIs from macOS 10.14 will always be available.
2 years ago
attila
9acfeece43
Colours: Support grey/gray spelling for HTML and SVG compatibility
2 years ago
Tom Poole
fd8607302d
Bump version number to 7.0.1
3 years ago
Tom Poole
8b399998b4
Bump version number to 7.0.0
3 years ago
attila
6f3fb5a29f
Linux: Adjust natively reported border size by the current scale factor
3 years ago
attila
8f99c084fe
Linux: Adjust natively reported border size by the current scale factor
3 years ago