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

734 commits

Author SHA1 Message Date
reuk
aa95939273
SystemStats: Set hasNeon flag correctly on M1 machines 2021-11-24 16:20:35 +00:00
reuk
81fa777ff7
ObjC Helpers: Automatically derive appropriate signature for function 2021-11-24 11:51:11 +00:00
reuk
4196b5e45b
macOS: Silence deprecation warnings on Monterey 2021-11-01 10:04:35 +00:00
reuk
17b8708852
WebBrowserComponent: Avoid leaking browsers on macOS 2021-10-26 16:52:16 +01:00
ed
aabd65b0fd Text: Fix some build issues when JUCE_STRING_UTF_TYPE != 8 2021-10-14 16:52:31 +01:00
reuk
d36c8b4c55
NamedPipe: Avoid early exits from writes on unavailable pipes 2021-10-14 12:40:25 +01:00
ed
7d1918b385 macOS/iOS: Replace compile-time deployment target checks with runtime checks using the available keyword 2021-10-13 15:06:18 +01:00
ed
d9eb2022ed POSIX: Fix overflow when setting hi-res timer thread period on macOS/iOS 2021-10-13 15:06:18 +01:00
ed
3d282c1078 Desktop: Deprecate isOSXDarkModeActive() and add isDarkModeActive() for other platforms 2021-09-29 17:40:58 +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
a435026b24 macOS: Use available keyword instead of preprocessor version checks where possible 2021-09-29 16:13:48 +01:00
ed
2c02ba9723 macOS: Fix compile error when using C++20 language standard 2021-09-29 11:45:43 +01:00
reuk
f87582a013
URL: Allow specifying shared container for downloads on iOS 2021-09-28 11:31:47 +01:00
reuk
b6ab931bcf
File: Add helper function to locate shared containers on macOS and iOS
File::getContainerForSecurityApplicationGroupIdentifier will return the
path to a container which is shared between all apps using the specified
app group ID. This might be useful if you need to share resources
between a standalone app and an AUv3 plugin, for example.
2021-09-23 10:28:48 +01:00
reuk
d738f0274e
File: Fix quoting in openDocument() on Linux
The previous implementation would fail to open directories with names
that contained spaces, as the space would be escaped and then quoted.

I don't think it's particularly meaningful to supply parameters when
opening a file in this way (especially not quoting the parameters too!)
so I've removed that functionality.
2021-09-23 10:28:47 +01:00
ed
055a4e93e9 POSIX: Set fileHandle to 0 after closing in MemoryMappedFile::openInternal() to prevent it from being closed again in the destructor 2021-08-11 12:02:49 +01:00
ed
39772b7474 Android: Remove old minimum SDK version checks 2021-08-11 11:50:04 +01:00
ed
8f03215a9e Accessibility: Add Android support 2021-07-28 11:44:29 +01:00
ed
d6a5156dd5 Objective-C++: Make getIvar() a free function so it can be used without a class instance 2021-07-28 11:44:28 +01:00
reuk
802f33b0e8
Thread: Avoid setting realtime priority on Thread instances by default on POSIX systems 2021-07-27 15:11:05 +01:00
ed
0f76c7d097 POSIX: Close file handle after mapping in MemoryMappedFile::openInternal() to avoid hitting max open file limit 2021-07-27 14:34:30 +01:00
reuk
3d97343c2a
GCC: Fix redundant redeclaration warnings 2021-07-15 09:59:08 +01:00
ed
4e9521be2d ComSmartPtr: Fixed behaviour of ComBaseClassHelper::QueryInterface() in release builds 2021-06-29 16:15:01 +01:00
reuk
feb9ebb485
ComSmartPtr: Allow compilation on VS2015 2021-06-22 10:58:46 +01:00
ed
efd0373525 macOS: Support infinite timeouts for URL connections 2021-06-18 16:19:31 +01:00
reuk
a70488e38e MacOS: Fix API deprecations in macOS 12.0 and iOS 15.0 2021-06-10 15:20:39 +01:00
Attila Szarvas
fbc1a51a67 Windows: replace deprecated OS calls in SystemStats::getDisplayLanguage()
The previously used getUserDefaultUILanguage() was based on the deprecated
LCID/LANGID concept. It had an increasing number of corner cases as not
every locale had associated LCIDs. The new solution is based on locale
names (string based) and will return reasonable names in more situations.
2021-06-09 12:04:31 +02:00
reuk
3399c34d0d
Windows: Fix more warnings emitted by clang with GNU-like command-line 2021-06-04 12:09:05 +01:00
reuk
7ac6911ccc
Windows: Fix clang/gnu compiler warnings 2021-06-03 17:30:44 +01:00
reuk
31a7c62baf
Windows: Fix and suppress some analysis warnings
This fixes warnings that are emitted when building with the `-analyze`
flag enabled.
2021-05-26 15:34:26 +01:00
Tom Poole
bfdda737a2 Projucer: Removed the live build 2021-05-14 12:54:07 +01:00
reuk
900282ccf3
MinGW: Fix warnings and errors emitted when building VST3 plugins 2021-05-13 12:10:06 +01:00
ed
ec990202b1 Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics 2021-05-10 10:53:14 +01:00
ed
0fc1ede50f Used MemoryBlock::isEmpty() in a few places 2021-04-22 18:22:06 +01:00
Tom Poole
79fbde7099 Added preliminary support for FreeBSD 2021-03-29 14:16:46 +01:00
ed
be0c36001d Linux: Fixed some comparison warnings using Clang 10 2021-03-29 10:52:16 +01:00
Tom Poole
ef5608654d VST3: Fixed a bug loading plug-ins 2021-03-26 10:31:45 +00:00
Tom Poole
a9ad07a945 Use RAII for CFTypes 2021-03-25 15:48:35 +00:00
reuk
799c5ef51b
BasicNativeHeaders: Increment minimum required IE version on Windows
This ensures the function IUnknown_GetWindow is declared in shlwapi.h
when building against the Windows 7 SDK.
2021-03-18 12:22:32 +00:00
reuk
3fe0b07a82
SystemStats: Avoid "pragma intrinsic" when building with the Intel compiler 2021-03-16 17:20:14 +00:00
ed
77d4ac7242 URL: Fixed backwards compatibility of URL::createInputStream() when specifying a POST-like request with parameters and no POST data 2021-03-15 09:58:09 +00:00
ed
fa8c446d0c URL: Added InputStreamOptions and enable POST data to be sent with URL-encoded parameters.
- Added a new URL::createInputStream() overload that takes an InputStreamOptions helper class to simplify stream creation.
  - Modified the internals of URL and WebInputStream so that parameters are only added to the request body when ParameterHandling is set to inPostData. This allows POST data to be added via URL::withPOSTData() and sent with URL-encoded parameters.
2021-03-12 16:23:59 +00:00
ed
fe9493867e Linux: Quote Bash command string in Process::openDocument() to prevent ampersands being treated as a control operator 2021-03-05 18:40:04 +00:00
reuk
be1e3df4d0 macOS: Be explicit about string encodings when logging assertions 2021-02-18 17:16:45 +00:00
jules
a9b5fe3a39 Tweaks for emscripten support 2021-02-08 09:59:46 +00:00
reuk
837ab64dbd
Android: Fix numeric conversion warnings 2021-02-03 16:09:54 +00:00
ed
46f5b126d5 Tidied up some template statement whitespace 2021-01-29 15:40:12 +00:00
ed
af69be5346 Windows: Tidied up the usage of the JUCE_COMCALL, JUCE_COMCLASS, and JUCE_IUNKNOWNCLASS macros 2021-01-29 15:40:12 +00:00
ed
dc242f76db Windows: Added multiple inheritance support to ComBaseClassHelper 2021-01-29 15:40:12 +00:00
ed
4c008505c9 Fixed an uninitialised variable in the posix ChildProcess::isRunning() implementation 2021-01-22 09:26:17 +00:00