Skip to content

Fix multiple macOS compatibility bugs#281

Open
sclarkca wants to merge 3 commits into
gao-sun:masterfrom
sclarkca:fix/macos-compatibility-bugs
Open

Fix multiple macOS compatibility bugs#281
sclarkca wants to merge 3 commits into
gao-sun:masterfrom
sclarkca:fix/macos-compatibility-bugs

Conversation

@sclarkca
Copy link
Copy Markdown

Summary

Fixes several bugs related to newer macOS compatibility:

Files Changed

  • eul/Store/TopStore.swift - Parse rsize unit suffixes (K/M/G)
  • eul/Store/NetworkStore.swift - Safer counter wrap handling
  • eul/Store/PreferenceStore.swift - Write appearance mode to widget container
  • eul/AppDelegate.swift - Also set NSApp.appearance
  • eul/StatusBar/StatusBarManager.swift - Cleaner visibility logic
  • eul/StatusBar/StatusBarItem.swift - Ensure button allocation
  • SharedLibrary/Schema/PreferenceEntry.swift - Add appearanceMode field
  • SharedLibrary/Schema/StandardProvider.swift - Fix deprecated API availability
  • BatteryWidget/BatteryWidget.swift, CpuWidget/CpuWidget.swift, MemoryWidget/MemoryWidget.swift, NetworkWidget/NetworkWidget.swift - Apply preferred color scheme from preference

913695467@qq.com added 2 commits May 16, 2026 12:49
- Change default disk stats to use root volume "/" instead of summing
  all volumes from /Volumes, which included external drives (fixes gao-sun#250)
- Fix invalid NSRegularExpression pattern "/ +/g" (JS-style) to use
  Swift's split(separator:) directly
- Fix gao-sun#227: Parse top command rsize suffixes (K/M/G) correctly for
  memory process list display
- Fix gao-sun#226: Handle network byte counter wrap without reporting 0 speed
- Fix gao-sun#236: Add appearance mode to widget shared preferences so
  widgets follow eul's theme setting
- Fix gao-sun#246: Set NSApp.appearance alongside window.appearance for
  consistent appearance switching
- Fix gao-sun#271: Improve status bar visibility logic to avoid flickering
  on newer macOS versions
- Fix deprecated OSXApplicationExtension → macOSApplicationExtension
@github-actions github-actions Bot added the needs review PR needs review label May 16, 2026
- Filter ifconfig results to only physical interfaces (en*, ap*)
- Prevent deadlock by adding timeout guard for async network callback
- Fix TopStore memory parsing formatting
- Remove SDKROOT=macosx from SwiftFormat build phase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review PR needs review

Projects

None yet

1 participant