Skip to content

Add application blacklist mode#938

Open
constansino wants to merge 1 commit into
Caldis:masterfrom
constansino:codex/application-blacklist-mode
Open

Add application blacklist mode#938
constansino wants to merge 1 commit into
Caldis:masterfrom
constansino:codex/application-blacklist-mode

Conversation

@constansino
Copy link
Copy Markdown

Summary

  • add an ApplicationListMode setting with Normal, Allowlist, and Blacklist modes
  • make blacklist entries pass through scroll, button, and HID++ scroll-hotkey handling while clearing active Mos state
  • keep the legacy allowlist preference mapped to the new list mode for existing users
  • replace the Application preferences allowlist checkbox with a localized segmented mode selector

Fixes #937.

Validation

  • xcodebuild -project Mos.xcodeproj -scheme Debug -destination 'platform=macOS,arch=arm64' test -only-testing:MosTests/OptionsButtonsLoaderTests -only-testing:MosTests/ScrollCoreHotkeyTests -only-testing:MosTests/ScrollHotkeyTests -only-testing:MosTests/ScrollDispatchContextTests -only-testing:MosTests/ScrollEventTests -only-testing:MosTests/ScrollFilterTests -only-testing:MosTests/ScrollPhaseTests -only-testing:MosTests/ScrollPosterStateTests -only-testing:MosTests/ButtonBindingTests -only-testing:MosTests/ButtonUtilsCacheTests -only-testing:MosTests/InputProcessorTests CODE_SIGN_IDENTITY='-' CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES DEVELOPMENT_TEAM='' CODE_SIGN_STYLE=Manual
  • xcodebuild -project Mos.xcodeproj -scheme Debug -configuration Debug -destination 'platform=macOS,arch=arm64' build CODE_SIGN_IDENTITY='-' CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES DEVELOPMENT_TEAM='' CODE_SIGN_STYLE=Manual
  • xcodebuild -project Mos.xcodeproj -scheme Debug -configuration Release -destination 'platform=macOS,arch=arm64' build CODE_SIGN_IDENTITY='-' CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=YES DEVELOPMENT_TEAM='' CODE_SIGN_STYLE=Manual
  • swiftc -parse Mos/Utils/Constants.swift Mos/Options/Options.swift Mos/ScrollCore/ScrollUtils.swift Mos/ButtonCore/ButtonCore.swift Mos/ScrollCore/ScrollCore.swift Mos/Windows/PreferencesWindow/ApplicationView/PreferencesApplicationViewController.swift
  • jq empty Mos/Localizable.xcstrings Mos/mul.lproj/Main.xcstrings
  • xmllint --noout Mos/Base.lproj/Main.storyboard
  • git diff --check

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.

Add blacklist mode for the application list

1 participant