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

10053 commits

Author SHA1 Message Date
reuk
89a2407deb
AudioFormatReader: Update searchForLevel to work for more than two channels 2024-12-02 17:20:42 +00:00
reuk
3186522b0b
VST3 Host: Fix bug where MIDI CCs mapped to parameters would fail to update the host and editcontroller 2024-12-02 17:20:42 +00:00
reuk
dfe4858e55
AudioTransportSource: Avoid nullptr dereference in hasStreamFinished() 2024-12-02 17:20:42 +00:00
reuk
2583b06481
NSViewComponentPeer: Guard API availability 2024-12-02 15:20:49 +00:00
reuk
c2f567f3ee
Fix unused variable warnings 2024-12-02 14:44:24 +00:00
Anthony Nicholls
7ab382d357 VST3 Client: Remove unhelpful jassert 2024-11-28 11:09:03 +00:00
Anthony Nicholls
c12ab11ee4 MIDI CI: Remove unnecessary call to setSeedRandomly 2024-11-27 11:25:40 +00:00
Anthony Nicholls
48375432be TemporaryFile: Make single argument constructors explicit 2024-11-27 11:07:04 +00:00
Anthony Nicholls
f98bf8434a TemporaryFile: Stopping use a LockedRandom now that system random is thread safe 2024-11-27 11:07:04 +00:00
Anthony Nicholls
655d18b721 Random: Add some extra data race tests 2024-11-27 11:07:04 +00:00
Anthony Nicholls
8fe8717ebc Random: Make the system random object safer to use from multiple threads 2024-11-27 11:07:04 +00:00
Anthony Nicholls
a50292f50d AudioBuffer: Prefer early returns to nested if statements 2024-11-27 11:07:04 +00:00
Anthony Nicholls
04188c0e09 AudioBuffer: Remove approximatelyEqual 2024-11-27 11:07:04 +00:00
Anthony Nicholls
5e803ded5f Deprecations: Add ignore deprecation warning macros 2024-11-27 11:07:04 +00:00
Anthony Nicholls
6b08ced201 VST3: Add support for parameter migration 2024-11-27 11:07:04 +00:00
Anthony Nicholls
0823ee6aed String: Fix the string length being passed in a UTF conversion test 2024-11-27 11:06:56 +00:00
Anthony Nicholls
bd322d0f78 String: Refactor a test function to be more generic 2024-11-27 11:06:56 +00:00
tpoole
39b335ccef Make building with MinGW a compiler error 2024-11-22 14:43:18 +00:00
reuk
f0928ebd6e
Windowing: Fix link of UserNotifications framework on iOS
Since eb6ebaf5, juce_gui_basics always depends on UserNotifications when
building for iOS.
2024-11-21 22:19:31 +00:00
reuk
55fb6dbe62
iOS Audio: Ensure current sampleRate and bufferSize are always updated after querying sample rates
The code added in 6f20de5434 was only
executed when no explicit sample rates were set.

Now, the sample rate is always updated after querying available sample
rates and before querying available buffer sizes, so that the buffer
size check is guaranteed to use an up-to-date samplerate value.
2024-11-21 13:42:54 +00:00
Christian Haase
9de56d0aab
PluginListComponent: Add missing TRANS statements 2024-11-21 13:42:54 +00:00
reuk
b72e43620c
Grid: Fix cell ordering comparison
Previously, the set Comparator behaved the same way, regardless of the
value of columnFirst. This is incorrect; the set should be sorted such
that the final item in the set has the greatest cross-dimension.

There was also an off-by-one error in the result of
getHighestCrossDimension(). The highestCrossDimension data member is
exclusive, but the cell values in the occupiedCells set are inclusive.
We need to add 1 to the maximum cell cross-dimension in order to convert
it to an exclusive value.
2024-11-21 13:42:54 +00:00
reuk
8fa09ae8ab
Grid: Refactor to move columnFirst data member to set Comparator 2024-11-21 13:41:09 +00:00
reuk
d4107836cd
Grid: Convert nonstatic member function to static 2024-11-21 13:41:08 +00:00
reuk
73cb3b88ad
VST2 Host: Avoid C-style casts of function pointers 2024-11-21 13:41:08 +00:00
reuk
6e910d8010
VST2 Client: Avoid C-style casts of function pointers 2024-11-21 13:41:08 +00:00
reuk
04fa895f38
AAX Client: Enable host-provided editor when plugin does not supply an editor 2024-11-21 13:41:08 +00:00
reuk
4e6440c3d7
AAX Client: Remove channel layout compatibility checks
It's important that the plugin always returns the full set of available
components.

The plugin may be scanned by a separate process from the 'main' DAW
process, and these processes may report different compatibility levels.
If the scanner has more restricted compatibility than the 'main' DAW
process, then some channel layouts may not be registered, and will be
hidden in the DAW.
2024-11-21 13:40:56 +00:00
reuk
0aaaea265a
AU Client: Ignore availability warnings for MIDIEventList functions
Xcode 13.2.1 warns on these functions, despite the lambdas being
declared inside an @availability-checked block.
2024-11-21 13:29:53 +00:00
reuk
01bfa98827 CoreGraphics: Fix incorrect behaviour of non-solid-colour text fills
Previously, filling a string containing a space or other non-rendered
character with a gradient would end up filling the entire clip region.

The correct behaviour is to completely skip filling any empty paths.
2024-11-20 13:11:36 +00:00
Tom Poole
5737c42ccf Use getSiblingFile in more places 2024-11-20 10:10:35 +00:00
Tom Poole
71af005543 Bump version number to 8.0.4 2024-11-18 10:12:15 +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
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
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