Skip to content
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

Code analysis issues #1476

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Dave-Lowndes
Copy link

assert opcode before it's used.
Don't fail to delete memory even though it's unlikely to occur.
Handle situation when SHBrowseForFolder is cancelled (returns null).
Several places appear to be checking the wrong thing after calling SafeArrayCreateVector.

baconpaul and others added 9 commits September 26, 2024 21:36
- Add 'isTicked' and 'hasSubMenu' (second on mac only)
- Make enter open submenus if the submens are there
- Change the "Ticked" spoken label to "Checked"

The logic still isnt' quite right in 6.1.6; so apply patches
to make our use case work at least and revisit later with
JUCE team.
As discussed in surge-synthesizer/surge#6409
juce made the choice to SCALE mouse position in the vkb by overall
velocity and we don't want that
* Allow building for RISC-V
* Allow building for wasm

Signed-off-by: falkTX <[email protected]>

Merged against 7.0.5 by baconpaul
Merged against 7.0.12 by baconpaul
As described in surge issue surge-synthesizer/surge#7281
the 'esc' key in Reaper VST3 does not get delivered to the plugin menu
to close the menu, so accessible users with docked reaper windows get
dumped out of surge when canceling menu actions.

This doesn't fix that, but it adds an alternative that
Shift-F10 also closes the menu (since that is our accessible
open gesture).
…libc (surge-synthesizer#6)

This commit squashes the four GLIBC/MUSL commits from juce-framework#1239 into our branch as a single commit (retaining a single commit to make future rebasing easier etc). Those commits were:

* SystemStats: Only use locales on glibc

* Linux: Add JUCE_GLIBC and JUCE_MUSL macros

* SystemStats: Do not use execinfo.h on JUCE_MUSL

* Native: Only use stat64 on glibc and iOS

Musl 1.2.4 made the LFS64 interfaces only available when
_LARGEFILE64_SOURCE is defined, and they will be removed altogether in
Musl 1.2.5.

---------

Co-authored-by: Violet Purcell <[email protected]>

Rebase to 7.0.12 by baconpaul
Two simple case statement inclusions
…ches expected behaviour of Component::isShowing"

This reverts commit 555b667.
per conversation with @reuk in forum oct 1
assert opcode before it's used.
Don't fail to delete memory even though it's unlikely to occur.
Handle situation when SHBrowseForFolder is cancelled (returns null).
Several places appear to be checking the wrong thing after calling SafeArrayCreateVector.
@reuk
Copy link
Member

reuk commented Nov 19, 2024

Please can you provide some details about the code analysis you're running? Which tool are you using, and with what settings?

@Dave-Lowndes
Copy link
Author

@reuk Visual Studio code analysis & PVS-Studio - default settings. These are just a few that I've picked on while going over the Surge XT sources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants