Tom Poole
82f1fd57a4
Fix some compiler warnings
2 years ago
Tom Poole
b769982bb5
Bump version number to 7.0.7
2 years ago
Tom Poole
3aa5d96e67
approximatelyEqual: Fix some compilation errors
2 years ago
Anthony Nicholls
2bb530f636
approximatelyEqual: Add customisable tolerances for floating-point comparisons
2 years ago
reuk
a22e423fc6
CoreGraphics: Refactor for improved consistency
2 years ago
Tom Poole
d5cb08e60e
Bump version number to 7.0.6
2 years ago
reuk
97fa2f0e8a
Convolution: Fix integer conversion in unit tests
2 years ago
Tom Poole
ff835be2ac
Doxygen: Fix some Doxygen issues
2 years 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]]
3 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
3 years ago
reuk
7c14c1fcd7
Use more concise stdlib type aliases
3 years ago
reuk
8b8ae10059
Build: Replace JUCE_NODISCARD with [[nodiscard]]
3 years ago
reuk
b3a4d54a72
Build: Update the minimum C++ standard to C++17
3 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.
3 years ago
reuk
5a6c8b1d0a
Linux Fonts: Improve default selection mechanism
3 years ago
reuk
c920eb95fd
Fonts: Fix issue where default fonts were set to use non-existent styles
3 years ago
Tom Poole
7296b8e3f7
Bump version number to 7.0.2
3 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.
3 years ago
attila
9acfeece43
Colours: Support grey/gray spelling for HTML and SVG compatibility
3 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
Tom Poole
2ec861d99e
Update licensing banners to JUCE 7
3 years ago
reuk
310b4e6234
Fonts: Avoid segfaulting on Linux when there are no installed fonts
3 years ago
reuk
67e3326ecf
Fonts: Avoid segfaulting on Linux when there are no installed fonts
3 years ago
reuk
86f08302b6
Linux Fonts: Replace font style if it does not exist for the requested font
3 years ago
reuk
3c08f8beda
Linux Fonts: Replace font style if it does not exist for the requested font
3 years ago
Tom Poole
fbff65dea2
Linux: Fix an issue where the requested font style could be incorrectly overwritten
3 years ago
reuk
19ddbe2368
Warnings: Fix missing-prototypes warnings
3 years ago
reuk
3bf635e004
Warnings: Always supply all field initialisers
This also fixes an issue where the requested font style could be
incorrectly overwritten.
3 years ago
reuk
6de457f932
Linux Fonts: Add extra default font path
3 years ago
reuk
f9c0c626fe
Linux: Avoid picking a bold/oblique version of Bitstream Vera Sans by default
3 years ago