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

14427 commits

Author SHA1 Message Date
Anthony Nicholls
9e9da250eb Timer: Ensure the timer thread is deleted before any static or global destructors run
In cases where there was a static or global instance of a class that
inherited from Timer, due to the order of events when a dll is unloaded
on windows, there was a risk of an infinite hang. Deleting the timer
thread before the dll is unloaded avoids this occurring.
2024-05-10 11:55:28 +01:00
Anthony Nicholls
7b4f71e700 DemoRunner: Fix c++20 warning 2024-05-10 11:55:28 +01:00
attila
dbd3b4f34b Place all choc types inside an anonymous namespace
This is to allow users to include choc in a JUCE project and not have
symbol collisions with our internally included copy of choc.
2024-05-10 11:55:28 +01:00
Anthony Nicholls
bbc63ba151 Timer: Ensure the timer thread is deleted before any static or global destructors run
In cases where there was a static or global instance of a class that
inherited from Timer, due to the order of events when a dll is unloaded
on windows, there was a risk of an infinite hang. Deleting the timer
thread before the dll is unloaded avoids this occurring.
2024-05-10 09:58:29 +01:00
reuk
5b98bfdc0f
CoreAudio: Allow non-combined devices to restart successfully 2024-05-09 19:34:08 +01:00
reuk
da0c137336
CoreAudioIODevice: Make stopAndGetLastCallback() private 2024-05-09 19:34:00 +01:00
reuk
7c2a5fc758
JSON: Fix issue where max decimal places option was ignored during serialisation 2024-05-08 17:53:52 +01:00
reuk
34adc50472
MPEKeyboardComponent: Avoid asserting when clicking on highest visible key 2024-05-08 17:53:52 +01:00
reuk
c5b428dfe9
VST3 Client: Add support for IParameterFinder interface
This allows hosts such as Cubase and MultitrackStudio to locate
parameters based on the current mouse position.

Users must override and implement getControlParameterIndex in order for
the parameter to be reported to the host.

The DSPModulePluginDemo shows one possible strategy for implementing
this function.
2024-05-08 17:53:52 +01:00
reuk
c4652ef7bc
ColourGradient: Fix assertion in ColourGradient::remove 2024-05-08 17:53:52 +01:00
reuk
c728d8509d
Point: Disable rotatedAroundOrigin for non-floating-point types
This function cant't give useful results for integer points.
2024-05-08 17:53:52 +01:00
reuk
a0c9a42dbf
Point: Avoid data-loss warning in Point::getDotProduct 2024-05-08 17:53:52 +01:00
reuk
0f0095091b
Line: Avoid data loss warning in Line::findNearestPointTo 2024-05-08 17:53:52 +01:00
reuk
5ff13aa6b1
PixelFormats: Avoid data-loss warning when tweening PixelAlpha values 2024-05-08 17:53:52 +01:00
reuk
c25a1fe233
AffineTransform: Add basic test for fromTargetPoints 2024-05-08 17:53:52 +01:00
reuk
44a04370a9
Parallelogram: Fix implementations of isEmpty and operator-=
Previously, isEmpty sometimes incorrectly returned true for non-empty
parallelograms.

operator-= called itself, leading to infinite recursion.
2024-05-08 17:53:51 +01:00
reuk
83dcaf3c39
Build: Fix Windows DLL build, which requires inheriting publicly from AsyncUpdater 2024-05-08 15:37:22 +01:00
Tom Poole
32bc7ea9ee Docs: Add AAX signing instructions 2024-05-07 15:19:03 +01:00
Anthony Nicholls
eac95d5905 AudioDeviceSelector: Fix a bug with the input and output device selectors
The bug presented when selecting none for either input or output, when
the opposite input or output was a device that had the same name for
both the input and output
2024-05-02 18:07:00 +01:00
Anthony Nicholls
2fc532ccac AudioDeviceSelector: Fix a bug with the input and output device selectors
The bug presented when selecting none for either input or output, when
the opposite input or output was a device that had the same name for
both the input and output
2024-05-01 16:21:39 +01:00
Anthony Nicholls
bce68c2b11 String: Prevent implicit conversion warning in UTF-8 constructor 2024-05-01 14:39:09 +00:00
reuk
f333875386
D2D: Fix formatting 2024-04-29 16:08:24 +01:00
reuk
590e22f320
D2D: Add faster two-pass blur implementation 2024-04-29 16:08:24 +01:00
reuk
427fec6433
Image: Add slightly faster alternative to gaussian blur for drop shadows 2024-04-29 16:08:24 +01:00
reuk
acae73e980
RenderingHelpers: DRY implementation of fillRectWithColour 2024-04-29 16:08:24 +01:00
reuk
7991c91fb2
D2D: Move null checks 2024-04-29 16:08:24 +01:00
reuk
73588879a4
D2D: Revert StandardCachedComponentImage 2024-04-29 16:08:24 +01:00
reuk
74da0f977d
File: Remove broken dynamic load of GetFinalPathNamebyHandle 2024-04-29 16:08:24 +01:00
reuk
248a400b88
D2D: Use currently-selected colour when replace-clearing NativeImage 2024-04-29 16:08:23 +01:00
reuk
793af50964
D2D: Fix typo which caused window to repaint continuously after resize 2024-04-29 16:08:23 +01:00
reuk
bfccf7f81c
D2D: Fix intersection test for Line 2024-04-29 16:08:23 +01:00
reuk
203e99c57d
D2D: Update Direct2DGraphicsContext::getPhysicalPixelScaleFactor to include context transform for consistency with other renderer backends 2024-04-29 16:08:23 +01:00
reuk
c2d86693ff
D2D: Avoid calling setPhysicalPixelScaleFactor 2024-04-29 16:08:23 +01:00
reuk
e005a41d6b
D2D: Remove unnecessary scaling in HwndPimpl::setSize 2024-04-29 16:08:23 +01:00
reuk
238edf6437
D2D: Remove unused function 2024-04-29 16:08:23 +01:00
reuk
49dec0a32a
D2D: Apply physical scale factor inside startFrame 2024-04-29 16:08:23 +01:00
reuk
122b75909e
D2D: Avoid setting DPI when resizing context, as it is already set per-frame 2024-04-29 16:08:23 +01:00
reuk
83ba2cba5d
D2D: Tidy up in typeface implementation 2024-04-29 16:08:22 +01:00
reuk
06903573d2
D2D: Refactor SwapChainThread and attempt to ensure correct alignment of slist entries 2024-04-29 16:08:22 +01:00
reuk
56d5445f8a
FontOptions: Make it easier to specify font sizes in points 2024-04-29 16:08:22 +01:00
reuk
c5a9e26960
Typeface: Add support for querying the default system UI typeface 2024-04-29 16:08:21 +01:00
attila
c083d3e9f1 WebBrowserComponent: Fix documentation for withInitialisationData() 2024-04-29 13:19:06 +02:00
attila
2e36c81f25 Add a breaking changes entry about the QuickJS based JavascriptEngine rewrite 2024-04-29 13:19:06 +02:00
attila
48c5857034 JavascriptEngine: Fix evaluating an empty array 2024-04-29 13:19:06 +02:00
attila
8a9ce51b2a Move the WebViewPluginDemo from the GUI to the Plugins category 2024-04-26 14:07:55 +02:00
attila
d9095fccb2 WebBrowserComponent: Fix passing on escaped string sequences to native function completions 2024-04-26 12:23:53 +02:00
attila
552b39301e Fix createAssetInputStream() for JUCE examples exported by the Projucer 2024-04-26 12:23:05 +02:00
attila
660b789415 AU Client: Suppress EnumCastOutOfRange Clang Analyzer warning 2024-04-26 12:23:05 +02:00
reuk
0422d42f7d
VBlankDispatcher: Ensure the result of CreateDXGIFactory is non-null before use 2024-04-25 19:02:15 +01:00
reuk
f46c72e854
VBlank: Avoid hogging the message queue with repaint messages when repaints take longer than a vblank period 2024-04-25 19:02:15 +01:00