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

3535 commits

Author SHA1 Message Date
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
ed
7ab0c9812a Re-saved all projects 2021-07-28 11:44:29 +01:00
ed
ff935c5103 Re-saved all projects 2021-07-28 09:23:24 +01:00
reuk
3c68581567
Use jassertquiet where possible 2021-07-23 10:58:44 +01:00
reuk
0a609b307e
build_tools: Tidy up BuildHelperFunctions and remove some unnecessary namespaces 2021-07-23 10:58:43 +01:00
reuk
366a626894
CMake: Ensure version numbers in AU/AUv3 plists are correctly formatted
AU and AUv3 plugins only support version numbers with up to 3 parts.
2021-07-23 10:58:43 +01:00
Tom Poole
43e577ba6c Projucer: Remove unused embedded image data 2021-07-22 16:52:34 +01:00
Tom Poole
51645be3f6 AudioPluginHost: Remove unused binary data 2021-07-22 16:52:34 +01:00
ed
d394c770c9 Re-saved all projects 2021-07-22 16:33:42 +01:00
Tom Poole
c1eabac438 Projucer: Removed an unused asset file 2021-07-22 16:06:13 +01:00
ed
f38f721794 Re-saved all projects 2021-07-21 16:34:22 +01:00
ed
551d7b9c5b Add MessageBoxOptions class for specifying a set of AlertWindow and NativeMessageBox options
- Add AlertWindow::show() and showAsync() methods that take a MessageBoxOptions argument
  - Add NativeMessageBox::show() and showAsync() methods that take a MessageBoxOptions argument
  - Update the DialogsDemo to demonstrate the new methods
  - Deprecate AlertWindow::showNativeDialogBox() in favour of the NativeMessageBox methods
  - Pass button strings specified in MesssageBoxOptions to native dialog boxes correctly
  - Use modern TaskDialog on Windows for the native dialog box where available
2021-07-21 16:34:12 +01:00
ed
89ca17cf34 Projucer: Fixed some static analyzer warnings 2021-07-20 17:27:51 +01:00
ed
465912a26c Projucer: Substitute preprocessor definitions when parsing Android user libraries 2021-07-16 12:06:54 +01:00