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

12705 commits

Author SHA1 Message Date
Tom Poole
bbbb967c63 Update the GitHub Issue and PR templates to a new format and add a CLA workflow 2022-01-20 12:30:56 +00:00
reuk
bd52350c00
VST3 Wrapper: Avoid calling processBlock when there is no audio input/output 2022-01-17 10:58:18 +00:00
reuk
df206371ff
AudioDeviceManager: Ensure device settings are up to date before notifying callbacks 2022-01-17 10:58:18 +00:00
reuk
550d61e487
AudioIODevice: Ensure CoreAudio device can be restarted after stopping 2022-01-17 10:58:18 +00:00
reuk
61eafdb7ee
Documentation: Avoid attempting to document implementation details 2022-01-17 10:58:18 +00:00
reuk
640194c878
MinGW: Improve compatibility
With this patch applied, the DemoRunner should build under MinGW, and be
(nearly) feature-complete compared to the MSVC build.

Specifically, when building with MinGW:
- Adds support for accessibility
- Fixes build issues in the juce_video module
- Fixes a link issue in the VST3 wrapper when VST3_CAN_REPLACE_VST2 is
  defined
- Adds support for the new-style native FileChooser
- Tidies up some other low-severity warnings

Known issues:
- Direct2D rendering is still not supported when building with MinGW due
  to ABI compatibilities.
2022-01-17 10:58:18 +00:00
reuk
b65803e8a3
Accessbility: Improve support for touch-to-explore on Android 2022-01-17 10:58:17 +00:00
reuk
fc378aaf9a
AU Client: Avoid AudioBuffer assertion when plugin has no audio channels 2022-01-17 10:58:17 +00:00
reuk
1edb56df71
NSViewComponentPeer: Properly constrain zoomed window size onto current display 2022-01-17 10:58:17 +00:00
reuk
12b7a8f9d1
Accessibility: Prefer toggle action to press action for checkable items 2022-01-17 10:58:17 +00:00
reuk
f429647ae9
MinGW: Add uuid definitions for MinGW-w64 2022-01-17 10:58:17 +00:00
reuk
aaf68f58f5
Juceaide: Only suppress compiler environment variables when cross compiling 2022-01-17 10:58:17 +00:00
reuk
e730962921
NSViewComponentPeer: Avoid triggering NSBeeps on unhandled key presses 2022-01-17 10:58:17 +00:00
Tom Poole
b53b5f14a1 Projucer: Increment the Android target SDK default setting 2022-01-14 14:49:35 +00:00
attila
1fc0de32c8 Windows: Ensure that NativeMessageBox stays in front of its owner 2022-01-12 15:55:23 +00:00
attila
2e874e80cb ZipFile: Add path checks to uncompressEntry() 2022-01-12 13:16:57 +01:00
attila
a2cc9a8cd5 File: Fix isSymbolicLink() on Windows when querying non-existing paths 2022-01-12 13:06:47 +01:00
reuk
967fc1cc24
CMake: Fix link of Android projects that use OpenGL 2022-01-10 22:15:21 +00:00
reuk
cea8dc260c
CMake: Propagate CMAKE_MAKE_PROGRAM to juceaide build 2022-01-10 22:15:21 +00:00
reuk
2678c1d10d
AUv3 Wrapper: Use correct timestamps for outgoing events
Previously, with two instances of the MIDILogger AUv3 in series in
Logic, the timestamps received by the second plugin in the chain would
not match the timestamps of the events emitted by the first plugin.
2022-01-10 22:15:21 +00:00
reuk
f12cac596b
MIDILogger: Display message timestamps 2022-01-10 22:15:21 +00:00
reuk
bb724761f2
FFT: Allow performFrequencyOnlyForwardTransform to ignore negative frequencies 2022-01-10 22:15:21 +00:00
reuk
82df66100c
MouseCursor: Allow arbitrarily-sized cursors on Windows 2022-01-10 22:15:21 +00:00
reuk
b0e689eaf4
AudioProcessLoadMeasurer: Fix potential divide by zero due to uninitialised samplesPerBlock 2022-01-10 22:15:21 +00:00
reuk
77c24ae49f
PopupMenu: Expose item ticked state to screen readers 2022-01-10 22:15:20 +00:00
reuk
3084a23547
PopupMenu: Improve accessibility of custom components in menus
The 'wrapper' accessibility handler is now ignored if a menu item has a
custom component, and has no submenu, and cannot be triggered
automatically. This avoids the case where a custom menu item may end up
with a wrapper accessibility handler that has no useful actions.

This patch also adds a 'label' argument to the addCustomItem functions,
which allows text for the screen reader to be supplied in the case where
a custom component is in use, but the menu item has accessibility
actions.
2022-01-10 22:15:20 +00:00
reuk
8b3fe6f250
WidgetsDemo: Avoid assertion in menu with custom components 2022-01-10 22:15:20 +00:00
reuk
8a2bde9fec
NSViewComponentPeer: Only allow full screen mode for resizable windows with maximise buttons
Effects of this change for windows with native titlebars:
- Resizable windows without maximise buttons will now only allow the
  'zoom' behaviour from the rightmost titlebar button (i.e. this button
  will not allow entering full-screen mode)
- Non-resizable windows will grey-out the rightmost titlebar button,
  whether or not the maximise button is enabled
2022-01-10 22:15:20 +00:00
reuk
05676c862a
UIViewComponentPeer: Allow setting an app style, to ensure the status bar can be seen over the app background 2022-01-10 22:15:20 +00:00
reuk
ad4368bbf1
UIViewComponentPeer: Clear focused peer on destruction to avoid dangling pointer 2022-01-10 22:15:20 +00:00
reuk
0cec50618d
FileChooser: Find an appropriate peer to focus when the FileChooser is destroyed
This works around a rare issue in the DialogsDemo where the AlertWindow
would fail to display because no peer had focus.
2022-01-10 22:15:20 +00:00
reuk
038d6dff32
FileChooser: Avoid calling member functions on pimpl after it is destroyed 2022-01-10 22:15:20 +00:00
reuk
37b92f6882
WavAudioFormat: Attempt to avoid quadratic metadata lookups 2022-01-10 22:15:19 +00:00
reuk
d66f9399ba
StringPairArray: Allow adding the contents of a std::unordered_map<String, String> 2022-01-10 22:15:19 +00:00
reuk
ca5c9fdae6
FloatVectorOperations: Add overloads accepting size_t element counts 2022-01-10 22:15:19 +00:00
reuk
43280c3f7f
AU: Tidy up ChannelRemapper 2022-01-10 22:15:19 +00:00
reuk
2073e46e79
iOS InAppPurchases: Use recommended receipt verification procedure 2022-01-10 22:15:18 +00:00
Tom Poole
48a7274b08 PopupMenu: Update the example docs 2022-01-10 15:32:13 +00:00
Tom Poole
74c8963880 DSP: Unconditionally use std::invoke_result instead of std::result_of if C++ 17 is available 2022-01-07 16:09:33 +00:00
reuk
cd34f1b00b
TreeView: Reset itemUnderMouse when deleting TreeViewItems to avoid dereferencing dangling pointers 2022-01-06 16:32:43 +00:00
attila
4f9a9c7bfc Linux: Fix BadWindow error when XSETTINGS is not available 2022-01-06 12:36:26 +01:00
Tom Poole
9979dd27fa Add a const specialisation to SampleTypeHelpers 2022-01-05 11:38:22 +00:00
attila
2b3abd3ca6 MacOS: Fix TextEditor when using marked text (e.g. Korean) 2022-01-04 17:20:11 +01:00
attila
87061fb751 MacOS: Change keyCode calculation to fix shortcuts with non-Latin languages 2022-01-04 17:20:11 +01:00
attila
b8094cb200 Android: Fix keyCode calculation and add support for modifier keys 2022-01-04 17:20:07 +01:00
ed
96383fb504 macOS: Fix nullptr dereference in WebInputStream on macOS versions < 10.10 2021-12-22 09:43:51 +00:00
attila
e329f524a2 StandaloneFilterWindow: Take native window borders into account when constraining size 2021-12-21 15:39:24 +00:00
ed
6eac100a79 macOS Accessibility: Pass through accessibility hit test to accessible view in MouseForwardingNSOpenGLViewClass 2021-12-21 15:36:36 +00:00
Tom Poole
ddaa091103 JUCE version 6.1.4 2021-12-20 11:16:43 +00:00
reuk
02b0b752ea Thread: Update macOS thread priority calculation
The Apple threading documentation [^1] says the following:

> The second argument to pthread_setschedparam is the desired policy,
  which can currently be one of SCHED_FIFO (first in, first out),
  SCHED_RR (round-robin), or SCHED_OTHER. The SCHED_OTHER policy is
  generally used for extra policies that are specific to a given
  operating system, and should thus be avoided when writing portable
  code.

This appears to differ from the policy semantics on Linux and BSD, where
FIFO and RR are both explicitly real-time policies.

Therefore, on Linux/BSD we only enable the RR policy if the requested
priority is 8 or higher. Meanwhile, on macOS, we map all thread
priorities (0 - 10) onto the RR policy with an appropriate priority.

[^1]: https://developer.apple.com/library/archive/documentation/Darwin/Conceptual/KernelProgramming/scheduler/scheduler.html
2021-12-20 11:15:50 +00:00