Skip to content

Releases: Alterego-42/Buffer-memoryCleaner

v1.0.0🎇

24 Nov 12:51
2036023

Choose a tag to compare

This program has passed the first phase of testing and is officially released.

Change Log

1. Dynamic Tray Icon Feature

  • New Icon: Created the icon_cold.png icon file
  • Resource Management: Updated the resources.qrc file and added references to all icons
  • Dynamic Switching: Tray icon changes in real-time based on memory usage
    • < 40%: icon_cold.png (idle state)
    • 40%-70%: icon.png (normal state)
    • 70%-80%: icon_hot.png (high temperature state)
    • > 80%: icon_red.png (danger state)

2. Auto-Cleanup Settings UI

  • Layout: Added an 'Auto-Cleanup Settings' group on the right side of the main window
  • Threshold Control: Added a memory cleanup threshold slider (10%-100%, default 80%)
  • Frequency Control: Added a cleanup frequency slider (1-30 seconds, default 1 second)
  • Real-Time Display: Dynamically shows current setting values

3. Permission Prompt Optimization

  • Permission Maintenance: Place the privilege escalation process before the Qt loop
  • Startup Window: Add a UAC window to proactively obtain administrator privileges
  • Failure Feedback: Add a no-permission running mode

4. Background Cleanup Thread Optimization

  • UI Smoothness: Fixed UI lag during auto-cleanup
  • Asynchronous Execution: Moved auto-cleanup operations to a background thread
  • Asynchronous Feedback: Use a timer to asynchronously process cleanup results and update the UI

5. Code Structure Improvements

  • Header Declarations: Added a forward declaration for QSlider and new member variables
  • Signal-Slot Connections: Connected slider change signals to handling functions
  • Frequency Control Mechanism: Implemented a counter mechanism to control cleanup frequency
  • Function Implementation: Added slot functions for threshold and frequency changes

v1.0-beta.0

22 Nov 10:02

Choose a tag to compare

The first beta release, packaged as a single file.
Feedback from testing is welcome at any time.

P.S.1: Run as administrator