1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-14 00:14:18 +00:00
Commit graph

3548 commits

Author SHA1 Message Date
reuk
c456d0c373
Projucer: Set EXCLUDED_ARCHS for compatibility with newer Xcodes 2021-10-06 16:59:08 +01:00
reuk
8bacf8c15c
Projucer: Default to "Sign to Run Locally" when no signing identity is specified
By default, x86_64 binaries are not signed, but arm64 binaries are. When
building universal binaries, it was possible to end up with a final
artefact that contains an unsigned x86_64 image, but a signed arm64
image. In some cases, this could cause issues in subsequent codesign
invocations.
2021-10-06 16:59:06 +01:00
reuk
4a3ea2721d
Refactoring: Use any_of(), all_of() or, none_of() instead of find_if() where possible
When the result of find_if() is only compared to the container's end(),
the operation can normally be expressed more concisely using any_of(),
all_of(), or none_of().
2021-10-06 16:59:06 +01:00
ed
95b1dce49c Projucer: Fix open documents not closing when no callback is provided 2021-10-06 12:21:41 +01:00
ed
bb9b24d048 Re-save all projects 2021-10-05 16:30:26 +01:00
ed
8feec44431 Projucer: Add some required fields to the generated AndroidManifest.xml file 2021-10-05 16:30:26 +01:00
reuk
36e35aef3b
AudioPluginHost: Display format of loaded plugins in graph view 2021-09-30 14:19:25 +01:00
ed
b9542ccc4c Update code to use C++14 [[deprecated]] attribute
This commit removes the various compiler-specific JUCE_DEPRECATED macros and replaces them with C++14's deprecated attribute. It also removes the JUCE_CATCH_DEPRECATED_CODE_MISUSE flag as we can rely on the override specifier catching usage of these old virtual methods, and tidies up the DOXYGEN preprocessor checks as they were inconsistent across the codebase.
2021-09-29 16:14:00 +01:00
ed
2707ea3ca0 Projucer: Add support for C++20 project language standard 2021-09-29 11:47:58 +01:00
reuk
12fd1479a8
AudioPluginHost: Only add editor menu item for plugins with editors 2021-09-27 15:44:48 +01:00
reuk
31c7f42e55
AudioPluginHost: Only allow editor window resizing when this is supported by the plugin 2021-09-27 15:44:48 +01:00
reuk
0feda541e7
Projucer: Escape external library paths correctly
5f7ad995af introduced an issue where the
string of external libraries would be escaped in one go. This is
incorrect, because only the individual paths should be escaped. The
semicolons separating each path should not be escaped.
2021-09-27 12:31:49 +01:00
ed
49fdf1a4d3 Re-save all projects 2021-09-23 14:26:05 +01:00
reuk
d396bdb97f
CMake: Allow setting the network multicast entitlement 2021-09-23 10:28:47 +01:00
reuk
0d716ab647
CMake: Enable program database output by default for debug builds 2021-09-23 10:28:47 +01:00
reuk
3768349a05
Font: Make Font and TypefaceCache threadsafe
Previously, it wasn't safe to access Font instances from multiple
threads because there was a chance that they might reference the same
shared internal state. In this case, calling getTypeface() or getAscent from
two threads simultaneously would cause a race on the typeface and ascent
data members, even though the Font instances appeared to be disjoint.

With this change in place, it is now safe to use Font instances from
multiple threads simultaneously.

It is still an error to modify the same Font instance from multiple
threads without synchronization!

    // Fine:
    Font a;
    Font b = a;

    auto futureA = std::async (std::launch::async, [&a] { /* do something with a */ });
    auto futureB = std::async (std::launch::async, [&b] { /* do something with b */ });

    // Bad idea:
    Font f;

    auto futureA = std::async (std::launch::async, [&f] { /* do something with f */ });
    auto futureB = std::async (std::launch::async, [&f] { /* do something with f */ });
2021-09-23 10:28:47 +01:00
ed
315f6d8fcd Projucer: Bump WebView2 package version to latest stable 2021-09-22 13:50:53 +01:00
reuk
d13a23ad14
Build: Ensure that plugin and manufacturer codes are exactly four characters in length 2021-09-22 10:23:04 +01:00
reuk
7525da867b
Projucer: Allow setting the network multicast entitlement in the Xcode exporter 2021-09-22 10:23:04 +01:00
reuk
c49e18cad4
Projucer: Add option to automatically set up oneMKL in VS exporters 2021-09-22 10:23:04 +01:00
reuk
bde242892f
Projucer: Avoid adding duplicate arrays to plist
Merging a plist which contained UIBackgroundModes or
UISupportedInterfaceOrientations keys could result in these keys being
duplicated in the generated plist.

This patch will avoid adding a new array if the array's key already
exists in the plist.
2021-09-22 10:23:04 +01:00
reuk
65bd869451
Projucer: Properly escape android app names containing apostrophes 2021-09-22 10:23:04 +01:00
reuk
5f7ad995af
Projucer: Escape special characters in MSVC project files 2021-09-22 10:23:03 +01:00
reuk
23e621f26e
Projucer: Add BOM when writing VS solution files
Without the BOM, VS assumes UTF-8 strings (subproject file names etc.)
are ansi-encoded.
2021-09-22 10:23:03 +01:00
reuk
4046912b6e
Projucer: Fix string escaping in IAA name definition 2021-09-22 10:23:03 +01:00
reuk
6c775a367b
Projucer: Escape single quotes in project names for makefile projects 2021-09-22 10:23:03 +01:00
reuk
cd495f136e
Projucer: In Xcode exporter, properly escape single quotes in preprocessor definitions 2021-09-22 10:23:03 +01:00
Tom Poole
8cc0d12fb3 Separate C and C++ recommended warning flags 2021-09-21 09:23:48 +01:00
Tom Poole
6f4618f9bc Re-save all projects 2021-09-20 13:24:39 +01:00
Tom Poole
bc75010116 Bump version number to 6.1.2 2021-09-20 12:15:47 +01:00
reuk
d6633e6b37
CMake: Ensure that plugins can be loaded on M1 macs when using automatic copying 2021-09-16 18:51:46 +01:00
ed
24910cc4b4 Fix GCC Wshadow warnings 2021-09-14 08:42:56 +01:00
ed
9f20b8afe6 Projucer: Add -Wshadow to GCC recommended compiler warning flags 2021-09-14 08:42:56 +01:00
Tom Poole
1c7dc0b053 Re-save all projects 2021-09-09 12:57:24 +01:00
Tom Poole
5109e30c6f Bump version number to 6.1.1 2021-09-09 12:51:15 +01:00
reuk
b30d6b0714
AudioPluginHost: Avoid calling repaint inside parameter change callbacks 2021-09-07 11:30:19 +01:00
reuk
1d38f646ab
CMake: Include JUCEModuleSupport file when installing JUCE via CMake 2021-08-24 15:32:50 +01:00
Tom Poole
b501feefdf Re-save all projects 2021-08-23 16:59:50 +01:00
Tom Poole
6542446594 Update the JUCE logo 2021-08-23 11:00:36 +01:00
Tom Poole
3833c6d207 Re-save all projects 2021-08-23 10:17:46 +01:00
Tom Poole
46fe3789fc Bump version number to 6.1.0 2021-08-23 09:55:56 +01:00
ed
b13af2df95 Re-saved all projects 2021-08-16 16:13:59 +01:00
ed
c799b56b60 Fix missing prototypes warnings 2021-08-16 16:08:45 +01:00
Tom Poole
45d12f7a18 Projucer: Only switch to manual Xcode signing if not using the default Code-Signing Identity 2021-08-12 16:32:50 +01:00
Tom Poole
0a69edd216 Projucer: Switch to manual Xcode signing if a Code-Signing Identity is specified 2021-08-12 13:04:42 +01:00
ed
63f2a7c30c Re-saved all projects 2021-08-11 12:01:05 +01:00
ed
455b8baf7e Projucer: Update Android plug-in and gradle versions 2021-08-11 11:50:05 +01:00
ed
39772b7474 Android: Remove old minimum SDK version checks 2021-08-11 11:50:04 +01:00
reuk
2465cb0d2a Projucer: Add support for IPP when installed via the oneAPI toolkit 2021-07-28 19:28:34 +01:00
ed
c66e8baf7e Whitespace 2021-07-28 16:03:22 +01:00