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

11378 commits

Author SHA1 Message Date
reuk
0943291990 MidiFile: Make file-reading more robust
This commit adds tests and fixes some potential crashes caused by
out-of-bounds reads.
2020-10-23 15:50:47 +01:00
reuk
a98dc7553b CMake: Update example projects to use recommended targets 2020-10-23 14:36:08 +01:00
reuk
db23a1b2fd CMake: Update docs for cmake "recommended" targets 2020-10-23 14:36:08 +01:00
ed
99bce8a3a8 Android: Fixed large buffer sizes on some devices
Requesting a callback when opening an Oboe device is required on some devices to get a FAST stream, so pass a dummy callback object to the temporary stream used when querying the device buffer size in order to get the best available.
2020-10-23 14:17:49 +01:00
ed
32b9b1e9db CoreAudio: Prevent audio glitches before microphone permission granted
If input channels have been requested but no data is being sent from CoreAudio (usually due to permissions not being granted yet) then avoid waiting unnecessarily in AudioIODeviceCombiner::readInput() which could previously cause audio glitches. Also changed the wait time to use an exponential backoff.
2020-10-23 10:53:12 +01:00
ed
2f098c16d0 Projucer: Fixed incorrect Xcode property in the CLion exporter 2020-10-22 17:14:02 +01:00
ed
22f0e26451 Android: Use performance mode from stream directly when logging Oboe stream details 2020-10-21 17:03:17 +01:00
reuk
b78114cfb3 FileChooser: Add assertion for improved safety when using modal FileChoosers 2020-10-21 16:18:31 +01:00
reuk
2a638b86e7 FileChooser: Use custom save/open panel implementations to ensure that apps cannot terminate while the panel is open 2020-10-21 16:18:31 +01:00
reuk
1d29665e56 FileChooser: Fix issue where preview component may not receive full filename
Some hosts (such as Reaper) weren't creating an instance of exactly
NSOpenPanel or NSSavePanel, which meant that the call to
`getSelectedPaths` was always returning an empty array.

Now, rather than trying to cast the sender to an appropriate type, we
assume that the sender is always the same panel that we opened earlier,
so that we can just query the panel directly for its selection.
2020-10-21 16:18:31 +01:00
reuk
f27a7c7712 CMake: Fix CMake bug which caused incorrect plugin manufacturer code to be generated
Please see the breaking changes doc for details.
2020-10-21 15:41:03 +01:00
reuk
1dae941600 Timer: Add assertion to warn when destroying a timer from a background thread 2020-10-20 10:16:13 +01:00
reuk
43371ada1a CMake: Ensure icon is used for standalone plugin targets on iOS 2020-10-20 10:16:13 +01:00
reuk
0d96ec9baf AppConfig: Ensure AppConfig is always included in plugin wrappers
Previously, the `JUCE_APP_CONFIG_HEADER` macro wasn't being defined/included
in some of the wrapper files, which meant that there was a danger of these
files building without important JucePlugin_Build_* macros defined.
2020-10-20 10:16:13 +01:00
reuk
fdf09a6dde FileChooser: Ensure that macOS preview component always receives user events
Previously, when a file dialog was launched synchronously, the 'dummy' modal
component was preventing user input events from reaching the preview component.

Now, we explicitly allow input events to reach the file preview component, if
it exists.
2020-10-20 10:16:13 +01:00
reuk
dd62aec528 FileChooser: Ensure preview mouse interactions work when showing dialog on macOS 2020-10-20 10:16:13 +01:00
reuk
6fd0baa759 FileChooser: Ensure macOS FileChooserComponent shows when FileChooser is reopened
If the preview is not removed from the desktop, the FileChooser will try to reuse
the same ComponentPeer the next time the preview component is used.
2020-10-20 10:16:13 +01:00
reuk
36664cc487 FileChooser: Fix behaviour of macOS FilePreviewComponent
Previously, when the FileChooser::Native instance entered the
modal state, it was preventing the inner FilePreviewComponent from
receiving events.
2020-10-20 10:16:13 +01:00
reuk
f09b2aa4f5 FileChooser: Ensure macOS accessory panel is initially opened if custom preview component is passed 2020-10-20 10:16:13 +01:00
reuk
2b03936461 FileChooser: Use old-style win32 file chooser if user passes a custom preview component 2020-10-20 10:16:13 +01:00
reuk
8ad5ea0cb1 FileChooser: Fix win32 threading bug
The Win32NativeFileChooser was taking ownership of itself
in its `Thread::run` implementation. This meant that sometimes
the destructor of the file chooser thread would execute directly
in `Thread::run`.

Now, we explicitly transfer ownership into a function object which
will run asynchronously on the main thread. This way, the file chooser
thread will be stopped on the main thread.
2020-10-20 10:16:13 +01:00
ed
d83b3f7716 iOS: Convert logical to physical bounds when resolving OpenGL multisampled framebuffers 2020-10-20 10:00:35 +01:00
Tom Poole
b8206e3604 JUCE version 6.0.4 2020-10-14 13:06:55 +01:00
ed
7e58ace377 WASAPI: Find a supported format before querying for supported sample rates when opening an exclusive mode stream 2020-10-14 13:05:53 +01:00
Tom Poole
00eab6aa4b Re-saved all projects 2020-10-14 13:00:08 +01:00
Tom Poole
c35bb61c8d Bump version number to 6.0.4 2020-10-14 11:40:30 +01:00
Tom Poole
6939907821 Fixed a typo in .gitignore 2020-10-12 16:21:44 +01:00
ed
56252ca098 Fixed a bug in TextEditor::setSelectAllWhenFocused() 2020-10-09 14:46:23 +01:00
ed
c492da9971 AUv3: Normalise incoming realtime parameter changes 2020-10-09 14:46:23 +01:00
reuk
0fe90b8d3f ALSA: Fix an issue where the MidiInput/Output Pimpl classes would be undefined when JUCE_ALSA=0 2020-10-06 11:17:09 -07:00
ed
e28e22989e WASAPI: Find a supported format before querying for supported sample rates when opening an exclusive mode stream 2020-10-06 15:40:04 +01:00
ed
e043408224 Projucer: Fixed a keyboard focus issue with project messages 2020-10-06 15:39:47 +01:00
ed
d5497ab01a Projucer: Don't trigger background version check when it has been explicitly disabled 2020-10-06 15:39:47 +01:00
Tom Poole
f61edf4c09 JUCE version 6.0.3 2020-10-05 18:48:11 +01:00
Tom Poole
545d7194b3 Updated the change list 2020-10-05 18:47:31 +01:00
Tom Poole
c54b8ef3ae Re-saved all projects 2020-10-05 18:42:02 +01:00
Tom Poole
73d1a1ff45 Bump version number to 6.0.3 2020-10-05 18:33:04 +01:00
Tom Poole
78f9985e59 JUCE version 6.0.2 2020-10-05 17:11:47 +01:00
Tom Poole
d0ed3e3d0f Re-saved all projects 2020-10-05 17:10:16 +01:00
Tom Poole
c9aba7f613 Bump version number to 6.0.2 2020-10-05 17:05:28 +01:00
ed
5f0706ec0e Projucer: Add Xcode subprojects using relative paths 2020-10-05 10:19:21 +01:00
reuk
857ee66b39 CMake: Fix folder naming issue which would cause VS2015 to complain when loading projects 2020-10-02 17:25:58 +01:00
reuk
476924d581 CMake: Avoid including quotation marks in JucePlugin_CFBundleIdentifier 2020-10-02 15:46:37 +01:00
reuk
ad729278c7 Audio Devices: Fix build when trying to use WinRT Midi and building with Clang 2020-10-02 14:49:49 +01:00
reuk
c3849041ae Midi: Use proper PImpl idiom in MidiInput and MidiOutput 2020-10-02 14:49:49 +01:00
reuk
fd8ba2deda VST2: Allow VST2 plugins to build for win32 with LLVM 2020-09-25 19:46:40 +01:00
reuk
4d27422d9f GCC: Suppress cast-align warnings 2020-09-24 12:52:45 +01:00
reuk
f51db729c0 CMake: Add explicit check for atomic lib, and link it if necessary 2020-09-24 12:52:45 +01:00
reuk
23bc385864 ARM: Fix AudioBlock test build on ARM 2020-09-24 12:52:45 +01:00
reuk
c897a4f2cb Linux: Fix some clang 10 warnings 2020-09-24 12:52:45 +01:00