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

3574 commits

Author SHA1 Message Date
reuk
6468088100
Build: Add LSHandlerRank key to filetype associations dict 2021-12-01 15:35:54 +00:00
reuk
809252736b
Projucer: Only resave project if necessary 2021-11-25 11:42:40 +00:00
reuk
65a20c63ee
Projucer: Require a resave whenever any ValueTree property changes 2021-11-25 11:42:39 +00:00
reuk
f1e766ec18
Projucer: Ensure that saving always continues after moving a project 2021-11-25 11:42:39 +00:00
reuk
5a621e811f
Projucer: Use std::async instead of ThreadPool in module scanner 2021-11-25 11:42:39 +00:00
reuk
250870a868
Projucer: Formatting 2021-11-25 11:42:39 +00:00
reuk
60f76da091
Projucer: Show document save state in the titlebar 2021-11-25 11:42:39 +00:00
reuk
221a137526
Resave projects 2021-11-19 16:35:22 +00:00
reuk
37b11e24f3
Projucer: Use correct version description in generated VS solution files
This ensures that solution files have correctly numbered icons in
Windows Explorer.
2021-11-19 16:35:22 +00:00
ed
a970b15959 Add Visual Studio 2022 solutions to all projects 2021-11-09 15:35:45 +00:00
ed
8aabde7680 Projucer: Add Visual Studio 2022 exporter 2021-11-09 10:41:07 +00:00
Tom Poole
fc8eacbf5b Fix a string comparison in c064b0c 2021-11-09 07:59:30 +00:00
Tom Poole
c064b0c604 AudioPluginHost: Embed the assets required for internal plug-ins 2021-11-08 14:08:05 +00:00
ed
bfea8c89b0 Re-save all projects 2021-11-08 09:04:11 +00:00
ed
c45c1afc7e Projucer: Bump Xcode LastUpgradeCheck 2021-11-03 12:47:44 +00:00
ed
67dfc1975c Projucer: Re-save temporary projects after moving to new location to fix relative path build errors in generated IDE projects 2021-11-02 10:47:34 +00:00
reuk
540001365c
Projucer: Fix temporary project save/open in Xcode on Monterey
Previously, when saving a temporary project, two native dialogs would be
created. The first was very short-lived, as it was automatically
dismissed by the second dialog. On older macOS versions, this appeared
to work correctly (the first dialog was so short-lived that it did not
appear to the user). However, on macOS 12.0, the second dialog fails to
display altogether.

Displaying two file chooser dialogs feels like a programming error, so
the code has been reorganised a bit to avoid this case.
2021-11-01 10:04:35 +00:00
attila
f562517939 AudioPluginHost: Make the .exe relocatable when using the Projucer build 2021-10-26 17:22:43 +02:00
reuk
b72b155443
Naming: Fix up naming of ChildProcessCoordinator and ChildProcessWorker 2021-10-25 09:51:21 +01:00
ed
a12d5fb540 Projucer: Add "audioplugin_" prefix to Unity plug-ins on Linux 2021-10-25 08:26:13 +01:00
ed
3c82b3b906 Projucer: Amend 499a4240 slightly to add both warning settings to preserve compatibility with older Xcode versions 2021-10-15 12:24:35 +01:00
ed
c6f4d8494c Re-save all projects 2021-10-15 10:10:55 +01:00
ed
499a424052 Projucer: Fix legacy build system setting for Xcode 13 2021-10-15 10:10:55 +01:00
reuk
7da8b73a96
AudioPluginHost: Add subprocess plugin scanning feature 2021-10-14 16:56:20 +01:00
reuk
68a727fa19
CMake: Factor source-grouping fixup into a separate function 2021-10-14 12:40:24 +01:00
ed
0de0a2648e Projucer: Fix a crash in BinaryResources::browseForResource() 2021-10-11 10:10:48 +01:00
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