Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update default.qss to better support for Cleanlooks theme in PyQt6 - Emptied default.qss to allow system dark and light modes to apply properly. - Ensures compatibility with Cleanlooks theme in PyQt6. * Update .gitignore to exclude .idea directory - Added .idea/ to .gitignore to prevent JetBrains IDE configuration files from being tracked. - Helps keep the repository clean and focused on source code. * Fix typos and update default window dimensions in cemu.ini - Corrected typos in the configuration file. - Updated default width and height values for better display of the window. * Add exception handling for missing syscall files in cemu/arch/__init__.py - Added exception handling to manage cases where syscall files do not exist for specific architectures (e.g., Generic). - Display a PyQt6 QMessageBox with the exception message to inform the user. * Add function to determine dark mode in cemu/ui/utils.py - Added is_dark_mode function to check if the current palette is in dark mode. - Uses QPalette to determine if the window color value is less than 128. * Enhance RegisterWidget in cemu/ui/registers.py - Changed column width from 60 to 80 in RegisterWidget class. - Improves the display of register names and values in the table. * Enhance MemoryMappingWidget and fix typos in cemu/ui/mapping.py - Increased column widths to 120 for better display in MemoryMappingWidget. - Set fixed width of MemoryMapTableWidget to 350. - Corrected typo in permission checkbox label from 'eXecute' to 'Execute'. * Add tooltips to CommandWidget buttons in cemu/ui/command.py - Enhanced CommandWidget to show tooltips when hovering over QPushButtons. - Tooltips provide additional context for each button's functionality. * Fix crashes and add error handling in cemu/emulator.py - Wrapped self.setup() method in try-except to handle exceptions gracefully. - Added QMessageBox to display error messages when setup fails. - Removed unnecessary reassignment of self.codelines in reset method to prevent crashes. - Modified next_instruction method to return Optional, returning None when no instructions remain instead of raising an exception. * Enhance AssemblyView and fix bugs in cemu/ui/codeeditor.py - Increased fixed width of AssemblyView from 140 to 230 for better display. - Removed background color stylesheet for better harmony in dark mode. - Fixed bug in update_assembly_code_pane method to correctly handle line returns on Windows by using '\n' instead of os.linesep. * Organize imports and remove unnecessary return statements in cemu/ui/highlighter.py - Organized imports for better readability and maintenance. - Removed unneeded return statements at the end of None type methods. * Enhance dock widget positions, implement StartInFullScreen, and fix various bugs in cemu/ui/main.py - Enhanced dock widget positions for better user experience in CEmuWindow class. - Implemented StartInFullScreen with global settings stored in ini file. - Changed default window width and height to 800x600 instead of 1600x800. - Fixed bug in Architecture menu for proper switching between x86 AT&T and Intel syntax in different bits (16, 32, 64). - Fixed bug in showShortcutPopup method with incorrect string format syntax. - Fixed crash in EmulationRunner class method run when no instructions remain. * Enhance code highlighting in dark mode - Add various functions for ui dark mode in cemu/ui/utils.py - Improve syntax highlighting for ui dark mode in cemu/ui/highlighter.py * Update README.md - Added new screenshots for GUI * Add type hints and some minor changes to improve code readability
- Loading branch information