reuk
48c6087faf
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-14 22:50:09 +00:00
Tom Poole
a5b76d3989
macOS: Fix window icon NSImage leak
2021-12-14 20:54:31 +00:00
ed
53c6d19ed9
ValueTreePropertyWithDefault: Remove message thread dependency
2021-12-14 17:01:58 +00:00
ed
156722d299
Re-save projects
2021-12-14 17:01:26 +00:00
ed
aaf00f13ca
Projucer: Bump Xcode LastUpgradeCheck
2021-12-14 16:58:34 +00:00
Tom Poole
05796beffd
macOS: Fix CGImage memory access violation on Monterey
2021-12-14 14:36:52 +00:00
ed
08283c9969
ValueTreePropertyWithDefault: Initialise MessageManager in default setting unit test
2021-12-14 11:46:04 +00:00
ed
a1ea76b408
BufferingAudioReader: Clear buffer in timeout unit test
2021-12-14 11:46:04 +00:00
ed
1744008413
Windows: Don't send modal input attempts to windows that are explicitly ignoring them
2021-12-14 11:45:47 +00:00
ed
3f7791bbfe
ASIO: Include max size when adding supported buffer sizes
2021-12-13 12:56:15 +00:00
ed
b421159be3
Accessibility: Use ignored AccessibilityHandler for slider text boxes to fix keyboard focus/accessible focus sync issue
2021-12-13 12:56:15 +00:00
ed
4f49032fa8
Re-save projects
2021-12-10 15:50:04 +00:00
ed
1b2aeec65d
Projucer: Attempt to copy module paths from compatible exporter when adding new export target
2021-12-10 15:49:58 +00:00
ed
fdcdda3463
Projucer: Update to ValueTreePropertyWithDefault class
2021-12-10 15:49:01 +00:00
ed
2b6dc9f7d2
Projucer: Update internal property components
2021-12-10 15:49:01 +00:00
ed
1de36db60a
Update property component constructors to allow temporary ValueTreePropertyWithDefault objects
2021-12-10 15:49:01 +00:00
ed
dea0f1638b
Rename ValueWithDefault -> ValueTreePropertyWithDefault and store default value in shared Value object to propagate changes
2021-12-10 15:49:01 +00:00
ed
6d38d7eb33
Projucer: Set project changed flag when global properties change
2021-12-09 15:16:32 +00:00
reuk
0bac0e78c8
JUCE version 6.1.3
2021-12-08 15:31:22 +00:00
reuk
c9b28be145
Resave all projects
2021-12-08 15:26:08 +00:00
reuk
44404508fe
Bump version number to 6.1.3
2021-12-08 15:26:08 +00:00
reuk
5c1e31a995
Documentation: Fix paths to auxiliary documents
2021-12-08 15:26:08 +00:00
reuk
7b45b1d606
Documentation: Convert list items to plain paragraphs to avoid doxygen warnings
2021-12-08 15:26:07 +00:00
reuk
3581e2aa7e
Documentation: Add doxygen guards to Steinberg namespace
2021-12-08 15:26:07 +00:00
reuk
d5099ecf4d
Documentation: Add doxygen guards to UMP namespace
2021-12-08 15:26:07 +00:00
reuk
bf32f0dba9
Sanitizer Warnings: Bump sanitizer macro to support Xcode 11 onwards
2021-12-08 15:26:07 +00:00
reuk
d26945f476
ObjC Helpers: Ensure that all methods accept mandatory "self" and "selector" arguments
2021-12-07 19:08:11 +00:00
reuk
9f7409fd3e
FileChooser: Fix function signature for Obj-C interop
2021-12-07 18:18:52 +00:00
ed
81013b0517
Docs fix
2021-12-07 17:30:54 +00:00
ed
4c2c51eaf4
Check for nullptr comparison operator in NullCheckedInvocation::invoke()
2021-12-07 16:25:22 +00:00
ed
112f8999fd
iOS: Fix native message box leak when no callback is provided
2021-12-07 16:25:22 +00:00
ed
b620bf1d43
Windows: Use compatibility profile when creating 3.2 context to allow deprecated function use
2021-12-06 14:27:01 +00:00
ed
e52582a561
Windows: Create OpenGL 3.2 context when specified (not 3.3)
2021-12-06 14:27:01 +00:00
ed
9867ee5c30
Whitespace
2021-12-06 14:27:01 +00:00
ed
fcb4a8adb3
Fix NullCheckedInvocation::invoke() std::function signature to allow non-forwarding references
2021-12-06 14:27:00 +00:00
ed
a71bda9adb
Projucer: Check if IDE project file exists when saving
2021-12-06 14:27:00 +00:00
ed
2224bb9760
Windows: Recreate OpenGL context if pixel format changes
2021-12-03 12:26:13 +00:00
reuk
c5c9f080d3
OpenGL: Ensure context is initially drawn with correct scale on macOS
2021-12-03 10:15:51 +00:00
ed
fc0f6b1f2f
Tidy up
2021-12-02 09:24:55 +00:00
ed
1059f7b022
DropShadower: Check for deletion after calling isWindowOnCurrentVirtualDesktop()
2021-12-02 09:24:55 +00:00
ed
3e542f3465
VST: Fix incorrect upper bound of jlimit() in getProgramName()
2021-12-02 09:24:55 +00:00
ed
7c609484e8
AU: Set plug-in host callbacks immediately after calling releaseResources() in prepareToPlay() in case the audio unit relies on them during initialisation
2021-12-02 09:24:55 +00:00
ed
b8cb4da497
ASIO: Amend 61fdde7c to always sleep after calling setSampleRate()
2021-12-02 09:24:34 +00:00
reuk
ea8b0a2d32
OpenGL: Ensure that GL views display at the correct scale on macOS 12
...
Previously, we were using the window's top-left position to determine
the scale to use for the OpenGLContext. However, on macOS the
backingScaleFactor of the window is not strictly related to the top-left
corner of the window, so the OpenGL view's scale could end up differing
from the backing scale factor when slowly moving a window between
displays with different backing scale factors.
On macOS, we now use the backing scale factor of the window's screen (as
maintained by AppKit), rather than trying to work out the correct
display and scale ourselves.
2021-12-01 15:44:07 +00:00
reuk
72abf72c79
GraphicsContext: Fix unused variable warning
2021-12-01 15:44:07 +00:00
reuk
474e6d73a4
Projucer: Fix potential order-of-destruction bug in AvailableModulesList
...
When the AvailableModulesList is destroyed, it will wait for the current
module scanning job (running on a background thread) to complete. This
job will try to take the AvailableModulesList::lock when it completes,
so the lock must outlive the background thread.
2021-12-01 15:44:07 +00:00
reuk
f269f1d6c9
UMP: Make documentation private until APIs become public
2021-12-01 15:44:07 +00:00
reuk
03428561ed
ScaledImage: Use in a few more places
2021-12-01 15:44:07 +00:00
reuk
34fdea0708
DragAndDropContainer: Allow custom scaling
2021-12-01 15:35:54 +00:00
reuk
6468088100
Build: Add LSHandlerRank key to filetype associations dict
2021-12-01 15:35:54 +00:00