Advertisement
selesn777

Untitled

Apr 26th, 2025
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. Here's the changelog comparing the two versions of the UPX_GUI.py file:
  2.  
  3. ### Changelog: UPX EXE Compressor GUI v1.3 → v1.8
  4.  
  5. #### Major Improvements:
  6. 1. **Threaded Compression**:
  7. - Added `CompressionThread` class to handle compression in a background thread
  8. - Prevents UI freezing during compression operations
  9.  
  10. 2. **Enhanced Settings Management**:
  11. - Replaced simple config file with `QSettings` for better cross-platform support
  12. - Added window geometry persistence
  13. - Added recent files list with menu integration (stores up to 5 recent files)
  14.  
  15. 3. **Improved UI/UX**:
  16. - Added progress bar for compression operations
  17. - Added file information display showing file size
  18. - Better font handling with default to Segoe UI
  19. - Added tooltips for various controls
  20. - Increased minimum window size (650x550 → 800x700)
  21.  
  22. 4. **New Features**:
  23. - Added "Test UPX" functionality
  24. - Added UPX CLI help dialog
  25. - Added advanced options (backup original file, auto-overwrite)
  26. - Enhanced about dialog with UPX version info and credits
  27. - Added menu bar with File, Edit, View, and Help menus
  28. - Added keyboard shortcuts for common actions
  29.  
  30. 5. **Robust Error Handling**:
  31. - Better input validation and error scenarios handling
  32. - Improved file overwrite handling with multiple options
  33. - Better CFG protection detection and warnings
  34.  
  35. #### Code Structure Improvements:
  36. 1. **Refactored Compression Logic**:
  37. - Split compression process into separate handler methods
  38. - Better separation of concerns with dedicated methods for different scenarios
  39.  
  40. 2. **Enhanced UI State Management**:
  41. - Added `set_ui_enabled()` method to disable UI during operations
  42. - Better visual feedback during operations
  43.  
  44. 3. **New Utility Methods**:
  45. - `update_file_info()` - shows file size information
  46. - `get_upx_version()` - retrieves UPX version
  47. - `reset_all()` - clears all fields
  48.  
  49. #### Bug Fixes:
  50. 1. Fixed potential issues with file paths containing spaces
  51. 2. Improved handling of UPX executable detection
  52. 3. Better handling of file overwrite scenarios
  53. 4. Fixed potential race conditions during compression
  54.  
  55. #### Visual Changes:
  56. 1. Improved status display with monospace font
  57. 2. Better button styling with disabled state handling
  58. 3. Added separators and better spacing in dialogs
  59. 4. More professional about dialog with credits section
  60.  
  61. #### Backward Compatibility:
  62. - Old config file (`upx_gui_config.txt`) will be replaced with registry/QSettings storage
  63. - All existing functionality remains working with additional improvements
  64.  
  65. This update represents a significant improvement in both functionality and code quality, making the application more robust and user-friendly while maintaining all existing features.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement