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

10102 commits

Author SHA1 Message Date
ed
dea0f1638b Rename ValueWithDefault -> ValueTreePropertyWithDefault and store default value in shared Value object to propagate changes 2021-12-10 15:49:01 +00:00
reuk
44404508fe Bump version number to 6.1.3 2021-12-08 15:26:08 +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
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
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
1509d6796b
FileChooser: Allow multiple selection on iOS 2021-12-01 15:35:54 +00:00
reuk
8407b5ea74
ProcessorChain: Avoid runtime branching on Context::usesSeparateInputAndOutputBlocks 2021-12-01 11:01:38 +00:00
ed
bd01175d55 Docs: Update Component docs referencing deprecated setFocusContainer() method 2021-12-01 10:22:19 +00:00
ed
4471efd1c5 Windows: Allow OpenGL 3.3 core profile context 2021-11-30 17:07:49 +00:00
ed
81df4560dd Tooltip: Fix bug where tip would not be updated for new components 2021-11-30 17:07:31 +00:00
ed
27e75a7059 DropShadower: Fix crash due to IsWindowOnCurrentVirtualDesktop() causing synchronous repaint messages during component destruction on Windows 2021-11-30 17:07:31 +00:00
ed
61fdde7cf9 ASIO: Add short sleep after calling setSampleRate() to allow devices to respond to changes 2021-11-30 17:07:31 +00:00
ed
fd7e4afcda macOS: Detach AVPlayer listeners before calling setPlayer 2021-11-30 17:07:31 +00:00
reuk
ed1bc944fd
AudioChannelSet: Add 7.1.6 speaker layout 2021-11-25 11:42:40 +00:00
reuk
d0590b5fc5
ComponentPeer: Add facility for displaying document save state in the titlebar 2021-11-25 11:42:39 +00:00
reuk
9d913e4e80
FileBasedDocument: Add missing const specifier 2021-11-24 16:20:38 +00:00
reuk
cc8a9ca896
FileChooser: Avoid deprecated delegate method signature 2021-11-24 16:20:38 +00:00
reuk
da46ee6c7a
FileChooser: Launch chooser asynchronously
When FileChooser instances were created, launched, and hidden all inside
the same event callback on macOS 12.0.1, the chooser dialog sometimes
remained open. This could cause problems including crashes, as closing
the dialog would attempt to call a completion handler block referencing
an already-deleted FileChooser::Native instance.

Opening the chooser panel later on the message thread seems to resolve
the issue.
2021-11-24 16:20:38 +00:00
reuk
8458ac0186
MessageManager: Correct visibility of repostCurrentNSEvent
This commit reverts c34f13a02d

In stripped plugin builds, the repostCurrentNSEvent function was still
public. There doesn't seem to be a good reason for this, as no host
should need to call the function.

It looks like the shared code component of a Projucer-generated plugin
project was briefly built as a framework that was shared by the
different plugin wrappers. In this scenario, the framework would need to
make repostCurrentNSEvent public so that the wrappers could locate the
function. However, now that the shared code target is built as a static
library, standard external linkage should be sufficient for the symbol
to be located from the wrapper's TUs.
2021-11-24 16:20:38 +00:00
reuk
efdb3ec72f
OpenGL: Make version number parsing slightly more robust
This fixes an issue on iOS platforms where the version number string is
prefixed with "OpenGL ES " despite the Khronos docs for OpenGL ES
specifying that "The GL_VERSION and GL_SHADING_LANGUAGE_VERSION strings
begin with a version number".
2021-11-24 16:20:37 +00:00
reuk
e97f7d1c6c
OpenGLContext: Use high-priority thread for OpenGL renderer to smooth animations on M1 machines 2021-11-24 16:20:37 +00:00
reuk
69aa461be1
Time: Fix duplicate '-' symbols in UTC offset string 2021-11-24 16:20:37 +00:00
reuk
44b34be183
Rectangle: Add string conversion functions for floats and doubles 2021-11-24 16:20:37 +00:00
reuk
ca4bdb6b3a
Component: Avoid calling member functions on objects destroyed when exiting modal state 2021-11-24 16:20:37 +00:00
reuk
062e966138
NSViewComponentPeer: Fix zoom and fullscreen behaviour 2021-11-24 16:20:37 +00:00
reuk
ff62b1b39f
LinuxComponentPeer: Handle window constraints correctly on high resolution displays 2021-11-24 16:20:37 +00:00
reuk
c17aec47ac
Windows: Allow maximized windows to resize to fill the screen, even when a constrainer is applied
This mirrors the behaviour on Linux, where maximizing a window always
fills the screen, even if a constrainer is active.

If you don't want to allow your component to fill the screen, disable
the maximize button in the window's titlebar when creating the window
(i.e. ensure DocumentWindow::maximiseButton is not set in the required
buttons).
2021-11-24 16:20:36 +00:00
reuk
cb7d9ec1db
Windows: Take custom scale into account when scaling cursors 2021-11-24 16:20:36 +00:00
reuk
8a95fb1c82
SliderParameterAttachment: Allow right-click to change parameter value
Previously, right-clicking on a slider could change its value, but the
parameter value would not be changed, leaving the slider in a different
state to the parameter.
2021-11-24 16:20:36 +00:00