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

13893 commits

Author SHA1 Message Date
reuk
1ad3430e14
ImageCache: Avoid assertion in destructor 2023-05-31 15:15:25 +01:00
reuk
4ba81fda59
FileChooser: Fix bug where native FileChooser could not be closed when hosted in Cantabile
Previously, the top-level modal dismiss broadcaster would attempt to
dismiss all modals when the native file chooser was brought to the front
or clicked. This would end up calling Component::inputAttemptWhenModal,
which would bring the FileChooser's Component to the front, interrupting
the mouse click.

The fix is to avoid bringing the plugin window to the front when the
FileChooser is in a modal state. As the chooser is a native window, the
system should take care of enforcing the expected modal behaviour.

It's not clear why this issue only affects Cantabile. It seems that in
Cantabile, events from the native FileChooser get sent to the plugin
editor's parent HWND, whereas this doesn't happen in other hosts.
Perhaps Cantabile is hooking/intercepting window messages in some way.
2023-05-31 15:15:25 +01:00
reuk
910c60b84a
FileChooser: Avoid passing deprecated --confirm-overwrite option to zenity 2023-05-31 15:15:25 +01:00
reuk
3894fdbe5f
CoreGraphics: Fix issue where AlertWindow borders were not rendered correctly 2023-05-31 15:15:25 +01:00
reuk
fa6f5a889a
NSViewComponentPeer: Avoid calling makeKeyWindow on windows that cannot become key 2023-05-31 15:15:24 +01:00
reuk
cf7c865432
NSViewComponentPeer: Ensure inner views that receive key equivalents reset keyDown state correctly 2023-05-31 15:15:24 +01:00
reuk
3d172f9c0d
AU Client: Fix pointer-to-bool conversion 2023-05-31 15:15:24 +01:00
reuk
59727e6860
File: Enable symbolic link creation on BSD 2023-05-31 15:15:24 +01:00
attila
f7e04d1423 FileBrowserComponent: Respect FileFilters in TreeView mode
This fixes a regression introduced in
a400d3ebe0.
2023-05-31 11:16:51 +02:00
Anthony Nicholls
f5cd9547dd Tidy divider comments 2023-05-26 09:04:21 +01:00
Anthony Nicholls
4351812e83 Resave projects 2023-05-25 19:40:17 +01:00
Anthony Nicholls
99138c13f8 Android: fix float comparisons
float comparison
2023-05-25 19:40:17 +01:00
Tom Poole
61a4a3785a DelayLine: Fix a bug in Lagrange interpolation 2023-05-22 16:51:50 +01:00
reuk
8ed3618e12
CoreGraphicsContext: Fix issue where clipping a gradient on a layer-backed view could cause rendering glitches 2023-05-04 18:42:41 +01:00
reuk
b56f386b6b
CoreGraphicsContext: Reduce repetition 2023-05-04 18:42:41 +01:00
reuk
e414f76cac
CoreGraphicsContext: Replace bool flag with std::optional 2023-05-04 18:42:41 +01:00
reuk
53bfd5b16d
WindowUtils: Make areThereAnyAlwaysOnTopWindows() public 2023-05-04 18:42:41 +01:00
reuk
ad59f71b99
Android: Fix version checks around setImeConsumesInput() 2023-05-04 18:41:04 +01:00
reuk
59273f2ac7
VST3 Client: Fix factory ref-counting 2023-05-04 18:41:04 +01:00
reuk
86011abe21
VST3: Improve MinGW compatibility 2023-05-04 18:39:58 +01:00
reuk
094698b735
VST3: Copy licenses and readmes that were missed during SDK update 2023-05-04 18:39:58 +01:00
attila
909f6c43d2 Grid: Fix incorrect computation
One issue affected the situation where the provided bounds wouldn't
start at (0, 0). Such bounds are regularly acquired by calling
Rectangle::reduced().

The other issue affected the width calculation of fractional items.
The error wasn't correctly integrated during the computation, and as a
consequence the last fractional element would exhibit all the
accumulated error.
2023-05-04 17:01:02 +02:00
reuk
33e81616ad
MessageManager: Improve thread safety of Lock type
Previously, the following sequence of events was possible:

Background thread                   Main thread
------------------------------------------------------------------------
Lock::tryAcquire()
    Run to blockingMessage->post()

                                    BlockingMessage::messageCallback()
                                        Run to abortWait.set (1)

Lock::tryAcquire()
    Exit through return true

Lock::~Lock()
    Destroy memory used for Lock

                                    BlockingMessage::messageCallback()
                                        Execute lockedEvent.signal()
                                        Memory already freed, crash
2023-05-02 19:37:47 +01:00
reuk
2d31153d99
VST3 Client: Implement IPluginCompatibility 2023-05-02 13:33:48 +01:00
reuk
c34f5de2f5
VST3 Client: Update moduleinfo tool to support exporting info from IPluginCompatibility 2023-05-02 13:25:23 +01:00
reuk
9a22a1b749
VST3 Client: Tidy up factory 2023-05-02 13:25:23 +01:00
reuk
cf9fc84669
VST3 Host: Add support for loading PluginDescriptions from moduleinfo.json 2023-05-02 13:25:23 +01:00
reuk
b8f116c5c5
Projucer: Generate moduleinfo.json file during VST3 build 2023-05-02 13:25:23 +01:00
reuk
0032e1ec86
CMake: Generate moduleinfo.json file during VST3 build 2023-05-02 13:25:22 +01:00
reuk
89f4657bee
VST3: Patch moduleinfotool sources to allow building on more platforms 2023-05-02 10:27:41 +01:00
reuk
417f0e9ca3
VST3: Add moduleinfotool sources 2023-05-02 10:27:41 +01:00
reuk
dccde43300
VST3: Remove warnings in fstring.cpp 2023-05-02 10:27:41 +01:00
reuk
3fee576b47
VST3: Update VST3 SDK 2023-05-02 10:27:41 +01:00
reuk
1de308cb16
Projucer: Remove option to target unsupported Windows versions from Codeblocks exporter 2023-05-02 10:27:41 +01:00
reuk
6f657d2a9b
CachedValue: Suppress float equality warnings 2023-05-02 10:27:40 +01:00
Oliver James
0139452607 UniqueID: Mingw std::byte cast 2023-04-28 13:40:05 +01:00
Oliver James
120f9266dc UniqueID: Use stable SMBIOS fields to generate ID on Windows
This commit adds fixes for generating unique hardware IDs on Windows. The SMBIOS is parsed to generate a unique ID based on hardware factors of the local machine.
2023-04-26 21:13:40 +01:00
Oliver James
ddc738ba29 Core: Add Scoped Enum Bitwise Operators
This commit adds the JUCE_DECLARE_SCOPED_ENUM_BITWISE_OPERATORS macro, enabling bitwise operators on scoped enums. This feature simplifies the use of scoped enums in situations where bitwise operations are needed.
2023-04-26 21:11:25 +01:00
reuk
a233dc2680
AudioProcessor: Fix version hint check 2023-04-26 18:28:32 +01:00
reuk
f0b7c3aa13
Unity: Fix failures due to excess exported symbols when building with MinGW 2023-04-26 18:28:26 +01:00
attila
a6761f9eb8 Grid: Ensure that items with absolute sizes will maintain correctly rounded dimensions
Prior to this commit all Grid calculations were carried out using
floating point numbers. The dimensions of all items would then be
rounded with the same function to calculate the integer dimensions used
for Component layout. This resulted in layout solutions where the width
or height of items with dimensions specified using the absolute Px
quantity could differ from the correctly rounded value of these values.

This commit ensures that the width and height of these items are always
correct and their cumulative error in size is distributed among items
with fractional dimensions.
2023-04-26 11:05:53 +02:00
attila
73459411ba Android: Fix accessibility on newer Android versions
This commit fixes a bug where a View would be registered as it's own
parent in the accessibility hierarchy leading to stack overflows in the
Android accessibility service. The issue affected up-to-date Android 13
systems and potentially older systems with updated accessibility
services.
2023-04-25 16:28:11 +02:00
attila
21fd671551 Android: Fix WebBrowserComponent 2023-04-25 15:15:04 +02:00
reuk
2a1b7ca387
Video: Fix written-but-not-read warning on macOS 2023-04-25 11:06:21 +01:00
reuk
cf4532967d
AudioProcessor: Only warn once if any parameter version hint is zero 2023-04-19 19:59:50 +01:00
reuk
e1da55ccc7
MidiRPN: Adjust MSB and LSB order for improved conformance to the MIDI 1.0 spec 2023-04-19 19:59:49 +01:00
reuk
1de392bbab
CGMetalLayerRenderer: Avoid creating resources for zero-size layers 2023-04-19 19:59:49 +01:00
Mathieu Demange
c0af8de2f4 Docs: Fix a typo 2023-04-19 16:56:12 +01:00
Tom Poole
666bbd0a2d Linux: Add some additional .so names for libcurl 2023-04-19 16:20:03 +01:00
attila
a400d3ebe0 FileTreeComponent: Use incremental updates after refresh to avoid losing UI state
Previously when using the FileBrowserComponent in TreeView mode, a
refresh would delete all items and rebuild the UI based on new
directory scan data, losing the openness state in the process. With
this commit only changes are applied to the current TreeView.
2023-04-19 08:54:50 +02:00