forked from juce-framework/JUCE
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] master from juce-framework:master #21
Open
pull
wants to merge
2,265
commits into
kzantow-audio:master
Choose a base branch
from
juce-framework:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
We instead query from the renderer whether the current render size has changed since the last frame, and repaint the entire window if so.
Previously, IDXGISwapChain::Present was called on a background thread, which made it difficult to avoid race conditions. e.g. during a live-resize of a window, we would occasionally draw old incomplete frames instead of new frames at the correct size. The new approach moves the Present call to the main thread via AsyncUpdater. We attempt to present whenever the swap event wakes, and whenever a frame is drawn. Only a single Present call may be made after the swap event wakes. Subsequent Present calls will be ignored until the next time the swap event wakes.
Previously, building the DemoRunner on Ubuntu 18.04 failed due to a missing type declaration.
This fixes an issue where VST3 plugins failed to scan and load on Linux.
Partially reverts a change made in 362a1cc. The factory needs to be multithreading-enabled in order to support e.g. drawing to the screen on the main thread and drawing to an Image on a background thread, even when no resources other than the graphics device are shared between the two threads.
This is more likely to place the regular/default style first in the list of styles. This change partially reverts a behavioural change in 68d0ea9.
This fixes an issue where Direct2D will emit an error when using dirty rects on the first full frame after resizing. The issue isn't present on all hardware/drivers, but was observed on a Windows 11 computer with a 890M iGPU.
It looks like the old default accidentally went missing in db3c2c6.
The INLINE macros allow singletons to be declared and defined in one line, without requiring a separate JUCE_IMPLEMENT_SINGLETON statement.
…awn at the wrong point This was evident in the FontsDemo when using the CoreGraphics renderer, selecting a font without an italic face, and enabling the italic style. The glyph anchor positions were incorrectly transformed by the text matrix, causing the left margin of the text to become tilted. We now correct for the slant and scale specified in the text matrix when computing glyph anchor positions.
Previously, listeners would sometimes fail to receive mouse up events blocked by modal components
The mouseWasOver member will now be updated on each mouse event, rather than on a timer.
…n mouseUp if the mouse has moved Previously, MouseSourceState::checkButtonState would trigger a menu item if the MouseSourceState had observed the mouse button transition from pressed to released while over an item, after more than 250ms had elapsed since creating the menu window. In situations where the main thread was very busy, this timeout could sometimes be reached inside the same mouse click/release gesture. If the menu was created inside a mouse-down, then simply tapping the mouse could sometimes trigger an item from the menu as soon as the menu window appeared. To help avoid accidentally triggering menu items, the menu window now prevents any item from being triggered by the mouse until either the mouse has been released once, or the mouse has moved. Put another way, if the mouse is initially pressed when the menu is shown, it cannot trigger a menu item unless the mouse is moved before it is released.
…d breaks The issue prior to this commit would be observable when using the GlyphArrangement functions e.g. addFittedText. This is a fix for a regression introduced in 9223805.
Co-authored-by: Roland Rabien <roland@rabien.com>
…ods. This fixes a bug introduced in the previous commit that caused all menu items to be sized too large.
Since b108fe2, JUCE NSViews have ignored mouse movements for child views. However, this causes issues for OpenGL views, which still expect to receive mouse input via the parent view. This fix makes the inner OpenGL view effectively invisible to the mouse, so all mouse events are handled by the owning JUCE view.
Co-authored-by: Aid Vllasaliu <vllasaliu.aid@gmail.com>
…ibrary is not present
This restores the JUCE 7 behaviour when the JUCE 8 font fallback mechanism fails to resolve a non-null Typeface::Ptr. This behaviour is significant when the base font specified is not available on the system.
…a warning The warning informs about a resolvable situation that will cause an error during LV2 plugin build steps, and suppresses VST3 manifest generation.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )