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

13709 commits

Author SHA1 Message Date
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
reuk
70d99d1cc4
NSViewComponentPeer: Fix occasional rendering artefacts
When clearing deferredRepaints in drawRect, dirty regions in the 'next'
frame could be incorrectly removed while drawing the 'current' frame.
Now, deferredRepaints is cleared in setNeedsDisplayRectangles, as it
was before 9d50ab6c59.
2023-04-18 16:28:52 +01:00
reuk
5847e3d6a8
Juceaide: Pass C and CXX flags during configure when not crosscompiling
Similar code was incorrectly removed in
070a6b35e9.

When using CLion to invoke CMake, using a Clang toolchain and Ninja, and
targeting x64, CLion will pass -m64 in CMAKE_C_FLAGS and
CMAKE_CXX_FLAGS. The compilers are passed through to the juceaide build,
but the target arch was not, which meant that the linker attempted to
link x86 libraries, which failed.
2023-04-18 11:39:40 +01:00
reuk
208be3dd5e
CGMetalLayerRenderer: Fix crash when attempting to render zero-sized components 2023-04-18 11:39:40 +01:00
reuk
dcef8b88b2
AudioProcessorGraph: Fix race condition when destroying AudioProcessorGraph on a background thread 2023-04-18 11:39:40 +01:00
reuk
8fc76c4376
LockingAsyncUpdater: Add a new slightly-more-threadsafe AsyncUpdater alternative 2023-04-18 11:39:39 +01:00
Tom Poole
5cd77b0c9a ARA: Fix a float inequality warning 2023-04-17 10:53:13 +01:00
Tom Poole
7cdb641a14 Fix float equality warnings in the ARA SDK 2023-04-14 10:17:29 +01:00
reuk
f6e6557edb
Global: Fix a few more float equality warnings 2023-04-13 12:19:58 +01:00
reuk
68beb74820
NSViewComponentPeer: Fix deferredRepaints bookkeeping when metal rendering is disabled 2023-04-11 12:36:19 +01:00
reuk
c93ac07202
Array: Add missing floating point equality warning suppression 2023-04-11 12:36:19 +01:00
reuk
d30f51ff00
AudioProcessorGraph: Ensure graph is rebuilt if any node bus layouts change 2023-04-11 12:36:19 +01:00
attila
221d1aa6cf VST3: Map k91_4 and k90_4 to the canonical JUCE 9.1.4 and 9.0.4 layouts 2023-04-06 11:21:19 +00:00
reuk
63e80c3908
MIDI: Fix off-by-one bug when accessing MIDI ports on Linux 2023-04-05 11:34:41 +01:00
reuk
ad094cd883
AlertWindow: Fix result codes when displaying native dialogs through the AlertWindow APIs 2023-04-04 19:55:12 +01:00
reuk
9d50ab6c59
CGMetalRenderer: Avoid glitching when resizing views 2023-04-04 19:55:12 +01:00
reuk
fe09902e83
NSViewComponentPeer: Tidying 2023-04-04 19:55:12 +01:00
reuk
f2e5af9f7d
Readme: Update Projucer link 2023-04-04 19:55:12 +01:00
reuk
96fefd0abd
Xcode: Silence nullability warning 2023-04-04 19:55:12 +01:00
reuk
587bb79ff1
CMake: Add resources.rc files to individual plugin targets, rather than to the shared code target
This fixes an issue where the app icon would not be visible for
standalone plugin targets.
2023-04-04 19:55:12 +01:00
reuk
27b38c8603
AudioProcessorGraph: Fix rebuild behaviour for UpdateKind::none 2023-04-04 19:55:12 +01:00
reuk
28414a6af8
Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
reuk
081b1ff216
PopupMenu: Avoid dismissing menu in response to mouse events over the menu
In cases where no JUCE component had keyboard focus, clicking a menu
item would cause the menu to be dismissed instead of triggering the
item's action.
2023-04-04 19:55:11 +01:00
reuk
a7563b5e91
NSViewComponentPeer: Ignore peer-level mouse enter/exit events when mouse button is pressed 2023-04-04 19:55:11 +01:00
Anthony Nicholls
c04354e1ee
Modules: Update JUCE module format for improved consistency 2023-04-04 19:54:40 +01:00
Anthony Nicholls
05d5c94990
Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
Oliver James
d7f1e59422 AlertWindow: Add 'getButton' method 2023-04-04 10:06:40 +01:00
Oliver James
9d909fc3fe Slider: LookAndFeel outline style 2023-04-04 10:06:40 +01:00
Oli
d264d95595 StretchableLayoutManager: Prevent zero size layouts 2023-04-04 10:06:40 +01:00
Oli
b715614109 JavaScript: Add 'hypot' math function 2023-04-04 10:06:40 +01:00
Oli
6f8c2a26a0 MacOS SystemStats: Implement M1 CPU reporting 2023-04-04 10:06:33 +01:00
Oli
288cbd2880 Linux SystemStats: Report language accurately 2023-04-03 09:54:30 +01:00
Oli
fa0b607bf9 Win32 FileChooser: Enable native 'Save' directory 2023-04-03 09:54:30 +01:00
Oli
bc26d5cc87 Win32 FileChooser: Fix truncated initial file text 2023-04-03 09:54:30 +01:00
Oli
100fec3830 PluginHostType: Add NI Maschine host type 2023-04-03 09:54:30 +01:00