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

11459 commits

Author SHA1 Message Date
Tom Poole
7c797c8105 JUCE version 6.0.5 2020-12-01 10:26:24 +00:00
Tom Poole
df2f5db822 Re-saved all projects 2020-12-01 10:20:54 +00:00
Tom Poole
5929103a29 Bump version number to 6.0.5 2020-12-01 10:08:50 +00:00
reuk
6ac0e90e58
FileChooser: Allow new filechooser to load paths containing unicode characters 2020-11-30 19:50:46 +00:00
ed
1ec24991e8 Re-saved all projects 2020-11-30 18:30:54 +00:00
ed
2b522403bd Don't set Desktop singleton L&F in AUv3Synth plug-in example 2020-11-30 18:27:55 +00:00
ed
6e5fa14065 Add demo assets as Xcode resource to AudioPluginHost 2020-11-30 18:27:55 +00:00
ed
7053df4b5b iOS: Fixed incorrect desktop window position 2020-11-30 18:27:55 +00:00
reuk
aed22a7e7a
CMake: Place juceaide in versioned folder when installing package
This change allows multiple versions of JUCE to be installed to the same
CMAKE_INSTALL_PREFIX, avoiding conflicting paths to juceaide.
2020-11-30 17:40:51 +00:00
ed
45a2e57bf9 macOS: Add Foundation to juce_core OSXFrameworks
Previously we relied on Foundation.framework being implicitly linked by other frameworks, but this change is required when building with Xcode 12 targeting older macOS versions to fix missing CFNetwork symbols.
2020-11-30 11:20:08 +00:00
ed
142a52f9b8 Unquote command-line arguments when adding them to ArgumentList 2020-11-26 19:01:43 +00:00
reuk
ba172bc828 Build: Provide option to suppress resourceUsage keys in AU plists 2020-11-26 11:19:44 +00:00
ed
6cb364e33f Re-saved all projects 2020-11-25 17:42:37 +00:00
ed
3a3ef41ad5 Added <array> to juce_StandardHeader.h and removed some unnecessary includes from juce_analytics and juce_dsp 2020-11-25 17:40:12 +00:00
ed
4de5726775 Android: Don't assert on device type 25 which seems to be valid when debugging from Android Studio (although undocumented) 2020-11-25 17:40:03 +00:00
ed
57f4d4a618 Projucer: Removed deprecated Android NDK path property 2020-11-25 17:39:57 +00:00
ed
e4c3d53c7a Android: Request ACCESS_FINE_LOCATION permission when using Bluetooth 2020-11-25 17:39:57 +00:00
ed
f2d0d324d3 Projucer: Updated Android target SDK version to API level 29 2020-11-25 17:39:57 +00:00
ed
9005c81f47 Windows: Fixed a potential crash in the DirectWrite TextLayout::createNativeLayout() implementation 2020-11-25 17:39:57 +00:00
ed
57fd6422ca Only add modules explicitly declared in PIP file in PIPGenerator 2020-11-25 17:39:46 +00:00
ed
47dc58620d Projucer: Added "--fix-missing-dependencies" option to the command line resave to add any required modules that may be missing 2020-11-25 17:39:41 +00:00
reuk
d173a3d330 CMake: Only enable AUv3 builds under the Xcode generator 2020-11-25 13:16:52 +00:00
reuk
0341f4d24e CMake: Correctly set AUv3 product type 2020-11-25 13:16:52 +00:00
reuk
350f1f9bc1 CMake: Correctly derive AUv3 bundle name 2020-11-25 13:16:52 +00:00
reuk
5a19a7c8e8 IPC: Fix potential deadlock in win32 NamedPipe implementation
We use a manual-reset event rather than an auto-reset event to cancel IO
on the pipe. This avoids unlucky cases where new IO would start just
after signalling the event and would block indefinitely while waiting on
the newly-unsignalled event.
2020-11-25 12:50:44 +00:00
reuk
c5136d28b7 NamedPipe: Avoid spurious test failures due to pipe name collisions 2020-11-24 14:45:50 +00:00
reuk
ac612693aa NamedPipe: Fix potential vptr data-race in unit tests 2020-11-23 13:46:06 +00:00
reuk
389e7436ef
IPC: Add some missing locks in native NamedPipe implementations 2020-11-23 12:45:36 +00:00
reuk
9b90398cf9
IPC: Fix occasional windows crash
As far as I can tell, if a read was cancelled from a background thread,
the IO operation wasn't cancelled, so the system was poking at the
stack-allocated OVERLAPPED structure after it had been removed from the
stack, at which point something else might be occupying that region of
stack memory.

I'm pretty sure Address Sanitizer should be able to catch this sort of
thing so I'm surprised it didn't complain here.
2020-11-20 12:14:49 +00:00
reuk
84be2fea9a
IPC: Avoid deadlocks when destroying pipes
Previously, calls to `open` blocked when creating a writeable pipe.

This could cause other calls to block indefinitely, waiting for the pipe
to become available.

Now, we open the pipe in nonblocking mode, which allows us to retry
indefinitely, checking `stopReadOperation` each time to find out whether
`close` has been called and allowing a graceful exit.
2020-11-16 20:14:16 +00:00
reuk
472fac976b
IPC: Prevent disconnection while a read is in progress 2020-11-16 20:13:46 +00:00
reuk
a70101e3ec
IPC: Allow setting custom timeouts in disconnect
Also allows optionally ignoring callbacks during disconnect, so that the
call to `connectionLost` can be bypassed when disconnect is called from
the derived class destructor.
2020-11-16 20:13:46 +00:00
reuk
750c982c1d
Camera: Warn when adding a preview component after starting capture on macOS 2020-11-16 17:22:00 +00:00
reuk
f1362dbb93
Camera: Make addListener trigger continuous photo capture on iOS 2020-11-16 17:22:00 +00:00
reuk
fc0d1814eb
Projucer: Add iOS 14.0 deployment target option 2020-11-16 17:22:00 +00:00
ed
8ee13b78ba Avoid drawing TextEditor "empty" text when it isn't visible 2020-11-16 16:10:13 +00:00
ed
e0883ace58 macOS: Updated the required deployment target for WKWebView 2020-11-16 14:01:29 +00:00
reuk
f29e2de715
CMake: Propagate more definitions from shared-code to plugin wrappers
In order to avoid collisions in the JucePlugin_Build preprocessor
definitions, we were only propagating the JUCE_MODULE_AVAILABLE defs
from the shared code target to the plugin wrapper targets.

After this change, we propagate everything *but* the JucePlugin_Build
definitions.
2020-11-16 10:14:55 +00:00
reuk
e0110e62bb
CMake: Recommend using target_sources(... PRIVATE) in examples 2020-11-16 10:14:54 +00:00
reuk
5595e7f9f4
CMake: Avoid warnings when requesting AAX/VST2 on iOS 2020-11-16 10:14:54 +00:00
reuk
4a036afe32
CMake: Make it easier to switch between simulator/device builds
We now link using `-framework Name` instead of `find_library` on iOS, as
suggested here:

https://cmake.org/cmake/help/v3.19/manual/cmake-toolchains.7.html#switching-between-device-and-simulator
2020-11-16 10:14:54 +00:00
reuk
43c692e20d
DSP: Fix typo in Convolution docs 2020-11-16 10:14:54 +00:00
reuk
62c00e6f3c
CMake: Invoke Rez using xcrun, rather than using a hard-coded path 2020-11-16 10:14:54 +00:00
ed
42391ce309 Projucer: Made preprocessor define precedence consistent when not using a global AppConfig file
When a global AppConfig file is not added to a project, preprocessor defines from project, exporter and target settings now override defines that would have been in this file, matching the previous behaviour.
2020-11-16 09:01:41 +00:00
ed
36f1197536 macOS: Forward key events from WKWebView correctly
Also added support for selectAll: selector forwarding in NSViewComponentPeer
2020-11-13 18:16:04 +00:00
ed
5ae32084a7 Made the assertion in the Timer destructor slightly less strict 2020-11-13 18:16:04 +00:00
ed
884f2c1332 Windows: Use Thread::sleep() instead of yield() when waiting for ChildProcess output to avoid eating CPU 2020-11-11 17:38:51 +00:00
ed
f46b60280e Projucer: Don't set makeCamelCase argument when creating plug-in template class name 2020-11-05 16:53:17 +00:00
ed
4ec4178a21 build_tools: Changed the capitalise argument of makeValidIdentifier() to makeCamelCase to make it clearer what it actually does 2020-11-05 16:52:41 +00:00
Tom Poole
b4d101d86b PluginHost: Removed the juce_video module from CMakeLists.txt 2020-11-04 09:33:39 +00:00