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

14795 commits

Author SHA1 Message Date
Tom Poole
51d11a2be6 JUCE version 8.0.4 2024-11-18 10:20:17 +00:00
reuk
882ce8e8bf Singleton: Add new macros to simplify singleton creation
The INLINE macros allow singletons to be declared and defined in one
line, without requiring a separate JUCE_IMPLEMENT_SINGLETON statement.
2024-11-18 10:19:52 +00:00
Tom Poole
02849aae0c Resave all projects 2024-11-18 10:18:22 +00:00
Tom Poole
71af005543 Bump version number to 8.0.4 2024-11-18 10:12:15 +00:00
Oliver James
04a04cffcd Projucer: Check for VS instances before opening projects 2024-11-15 15:00:50 +00:00
Oliver James
9bddeb9324 MPEKeyboardComponent: Catch potential 'use after free' when cleaning up 2024-11-15 15:00:50 +00:00
Oliver James
59bb818f09 AudioDeviceManager: Remove AudioDeviceManager::restartDevice 2024-11-15 15:00:50 +00:00
reuk
be6fe2b403
VST3 Host: Avoid calling addPoint on input parameter queue 2024-11-10 11:29:45 +00:00
reuk
0ea1af03a1
ListenerList: Fix rare use-after-free when assertions are enabled
This issue manifested on Linux when building in Debug mode. It may also
have caused issues on other platforms. When editing a slider's value
using its text box, and then pressing the enter key, the program would
crash. The issue was not present when running with address sanitizer.
Valgrind was able to find the problem.
2024-11-07 21:00:22 +00:00
reuk
7437e35ef5
File: Always interpret path as absolute in getLinkedTarget()
This fixes an issue where paths consisting of just a drive letter ("C:")
would be passed to CreateFile without a trailing path separator. The
documented behaviour in this case is for the path to be interpreted
relative to the "current directory" on that disk, so getLinkedTarget()
would incorrectly return the disk's working directory instead of the
drive root.
2024-11-07 21:00:22 +00:00
reuk
ba466fc11f
Initialisation: Avoid extern "C" for main function 2024-11-07 21:00:21 +00:00
Anthony Nicholls
6cd4c0a7dc UnitTestRunner: Move javascript tests into an independent category 2024-11-07 09:54:42 +00:00
Anthony Nicholls
78ca2c5341 Javascript: Split implementation across multiple files 2024-11-07 09:54:42 +00:00
Anthony Nicholls
867d642872 Javascript: Add warning if CONFIG_BIGNUM is defined 2024-11-07 09:53:57 +00:00
Anthony Nicholls
2e683dd9d2 Javascript: Move tests into a separate file 2024-11-07 09:53:56 +00:00
Anthony Nicholls
df6f3f8e28 Javascript: Move javascript implementation into a separate module 2024-11-07 09:53:10 +00:00
Anthony Nicholls
637226addc Javascript: Update choc dependency 2024-11-07 09:52:14 +00:00
Anthony Nicholls
7bb11e4d61 Animation: Fix versioning in module header info 2024-11-06 16:27:16 +00:00
reuk
2c8875c775
Android: Use new, safer signature of AudioStreamBuilder::openStream 2024-11-06 12:35:18 +00:00
Tom Poole
af003e44d8 Add supported architectures to the GitHub issue template 2024-11-06 09:37:29 +00:00
Tom Poole
764b2a2ec6 Add supported architectures to the README 2024-11-05 20:50:04 +00:00
Tom Poole
9ed3144e08 UnitTestRunner: Fix some tests that could fail on 32 bit systems 2024-11-05 20:50:04 +00:00
Tom Poole
ef28243c64 UnitTestRunner: Fix an overzealous test for the existence of a user directory 2024-11-05 20:50:04 +00:00
reuk
8ae3bffe82
Whitespace: Fix whitespace and line endings in cmake files 2024-11-05 17:56:39 +00:00
reuk
24ab3cb6a3
Windows: Fix mouse position reporting for maximised windows with non-native titlebars
Previously, windows with non-native titlebars but with native shadows
would misreport mouse-down and mouse-up positions when maximised.
2024-11-05 13:28:10 +00:00
reuk
90fbdfeb00
Android: Update Oboe to 1.9.0 2024-11-05 13:28:10 +00:00
reuk
93640b63ff
Compatibility: Add new macros for straightforward checking of minimum deployment target
This also fixes a bug introduced in f7c7225f5c
where the condition guarding the definition of traitCollectionDidChange
was incorrect. This function is never required if the deployment target
is at least 17.0.
2024-11-05 13:28:10 +00:00
reuk
8e086c7f05
juce_dsp: Move include of juce_audio_formats to .cpp 2024-11-05 13:28:10 +00:00
reuk
a7e9edb2e9
StandaloneFilterWindow: Update implementation of getInstance to avoid iterating through desktop windows 2024-11-05 13:28:08 +00:00
reuk
ec4dfe1556 CMake: Warn when the C language is not enabled 2024-11-05 10:08:05 +00:00
reuk
6db2e5ae66 CMake: Add missing VST3_HELPER to JUCEConfig file 2024-11-05 10:08:05 +00:00
Oliver James
f27fbbb4a6 CMake: Don't configure xcode entitlements on non-Apple platforms 2024-11-05 10:08:05 +00:00
Anthony Nicholls
24d33759b8 Javascript: Update choc dependency
This fixes an issue when evaluating javascript on macOS while address sanitiser
and undefined behaviour sanitiser are both enabled
2024-11-05 09:00:18 +00:00
reuk
b108fe26c3
NSViewComponentPeer: Only forward a mouse move event if the view is not occluded by a child view 2024-11-04 11:10:54 +00:00
reuk
fcf62ab105
NSViewComponentPeer: Fix coordinate system conversion in contains()
The argument to hitTest must be in the superview's coordinate system.
The old implementation would sometimes break in the presence of nested
NSViews.
2024-11-04 11:10:54 +00:00
reuk
f521a6cac1
AudioProcessorPlayer: Allow client AudioProcessor to keep a supported layout
Previously, the AudioProcessorPlayer would attempt to find a supported
layout that matched the audio device's output channel count, and would
force the processor to use the audio device's i/o channel counts if no
better and compatible alternative could be found.

This change allows the AudioProcessor to retain its current i/o
configuration if no better alternative can be found. This may lead to
the AudioProcessor having different numbers of inputs and outputs to the
audio device.

If there's only one audio device input, this will be copied to all of
the AudioProcessor's inputs. Otherwise, each audio device input channel
will be copied to the corresponding AudioProcessor input channel. If
there are more device inputs than AudioProcessor inputs, then some
device inputs will be discarded. AudioProcessor inputs without a
corresponding device input will be cleared/silenced.

Similar rules apply to the output channels. If there are more device
outputs than AudioProcessor outputs, then device outputs without a
corresponding AudioProcessor output will be cleared. If there are more
AudioProcessor outputs than device outputs, some AudioProcessor outputs
will be discarded.
2024-11-04 11:10:53 +00:00
reuk
869a20ca30
AudioProcessorPlayer: Make buffer remapping more robust
This change improves the initialiseIoBuffers function so that it can
handle the situation where the number of processor outputs does not
match the number of system outputs, and/or when the number of system
inputs is not 0, 1, or equal to the number of processor inputs.
2024-11-04 11:10:53 +00:00
reuk
8b85a62298
AudioProcessorPlayer: Refactor test to allow easier testing of arbitrary i/o combinations 2024-11-04 11:10:53 +00:00
reuk
167f846565
AudioProcessorPlayer: Replace ChannelInfo struct with Span 2024-11-04 11:10:52 +00:00
Tom Poole
06325689dd Linux: Fix detection of 64 bit Arm 2024-10-31 15:23:17 +00:00
reuk
3005b716fe
ObjCHelpers: Add new macros to help with version checking 2024-10-29 19:46:35 +00:00
reuk
7290d6dc2f
CameraDevice: Fix deprecation warnings for iOS 17 2024-10-29 19:46:35 +00:00
reuk
eb6ebaf5af
Windowing: Fix deprecation warnings for iOS 17 2024-10-29 19:46:35 +00:00
reuk
dbe74e9f5d
UIViewComponentPeer: Fix deprecation warnings for iOS 13 2024-10-29 19:46:35 +00:00
reuk
f7c7225f5c
UIViewComponentPeer: Fix deprecation warnings for iOS 17 2024-10-29 19:46:35 +00:00
reuk
128e258845
UIViewComponentPeer: Remove unnecessary method declarations from interface 2024-10-29 19:46:34 +00:00
reuk
a4ba0c1b1c
FileChooser: Fix deprecation warnings for iOS 14 2024-10-29 19:46:34 +00:00
reuk
a901b55b0b
AudioChannelSet: Add missing layouts to channelSetsWithNumberOfChannels 2024-10-29 14:42:28 +00:00
Anthony Nicholls
b78ff3bf7e HighResolutionTimer: Add fallback implementation for Windows 2024-10-29 13:06:28 +00:00
reuk
57aa8f07a6
CMake: Remove redundant DEPENDS argument 2024-10-28 13:20:30 +00:00