Commit Graph

37 Commits

Author SHA1 Message Date
Dhinak G
cea721a33a GUI: Update messages for installer download 2025-08-29 20:16:57 -04:00
Dhinak G
2383966234 products_appledb.py: Add AppleDB as InstallAssistant source 2025-08-28 17:37:37 -04:00
Gonen
9ac02b0f6b GUI: Reduce CPU usage II - have smoother UX with faster refresh rate
* Set thread_sleep_interval to 0.01s for better UI responsiveness
* Improve thread waiting with thread.join() where applicable (thanks to @sbytnar)
2025-04-05 20:29:07 +03:00
Gonen
4ce91cad3d [WIP] GUI: Reduce CPU usage by adding sleep intervals to UI wait loops
Fix issue where the GUI main thread was consuming excessive CPU while
waiting for background tasks to complete.
By adding a configurable sleep interval between UI updates,
CPU usage is significantly reduced while maintaining responsiveness.

- Add thread_sleep_interval constant to global Constants class
- Implement wait_for_thread utility function in gui_support
- Update all wxPython event loops to use the new helper
- Test shows approximately 60% CPU usage reduction during waits
2025-04-03 23:18:48 +03:00
Mykola Grymalyuk
5e4b124b2a defaults.py: Implement additional error handling for 2.1.0 bug 2024-11-06 10:18:17 -07:00
Mykola Grymalyuk
2a578734b9 gui_settings.py: Fix typing for boolean values 2024-11-02 18:19:43 -06:00
Mykola Grymalyuk
737aed5635 gui_settings.py: Add error handling for invalid value 2024-10-31 16:03:44 -06:00
Mykola Grymalyuk
6a58ef1dab gui_settings.py: Handle saving values of None 2024-10-05 12:21:34 -06:00
Mykola Grymalyuk
a8f76af6bc GUI: Support saving settings on-model 2024-10-05 11:14:46 -06:00
Mykola Grymalyuk
796b5bcd9e gui_settings.py: Adjust pathing for root settings 2024-09-25 11:40:35 -06:00
Mykola Grymalyuk
7e5f171210 gui_settings.py: Resolve Beachball defaults write 2024-09-23 11:09:23 -06:00
Mykola Grymalyuk
8eebf7e1e1 GUI: Add option to configure cpus=4 on MacPro3,1/Xserve2,1
If booting Sonoma or older, can toggle off the workaround
2024-09-14 10:01:52 -06:00
Mykola Grymalyuk
2fb243cc00 wx_gui: Fix unpatch check 2024-09-03 21:23:39 -06:00
Mykola Grymalyuk
b74001a6e5 wx_gui: Handle spacing 2024-09-03 20:33:38 -06:00
Mykola Grymalyuk
4e4157c125 sys_patch: Standardize patch names 2024-09-03 19:15:33 -06:00
Mykola Grymalyuk
9ef569e949 wx_gui: Add handling for new patchset format 2024-09-03 17:20:20 -06:00
Mykola Grymalyuk
a329e80082 patchsets: Implement new patch detection architecture
Greatly streamlines future patch set development
2024-09-01 21:00:05 -06:00
Mykola Grymalyuk
fccde7214b GUI Installer: Support chainloading 2024-08-30 14:45:24 -06:00
Mykola Grymalyuk
bd51332a17 sys_patch.py: Add backend for MetallibSupportPkg 2024-08-28 15:21:35 -06:00
Mykola Grymalyuk
53dd5d3477 Further modularize sys_patch 2024-08-13 13:07:58 -06:00
Mykola Grymalyuk
90092a296d Implement getattrlist for improved CoW detection 2024-08-01 11:16:00 -06:00
Mykola Grymalyuk
8d88fbbfa4 Remove unused imports 2024-07-21 13:53:52 -06:00
Mykola Grymalyuk
4583a743be sucatalog: Publish initial version 2024-07-21 11:54:54 -06:00
Mykola Grymalyuk
475b9e793f sys_patch: Fix patches typing 2024-06-08 20:24:04 -06:00
Mykola Grymalyuk
3bffad8001 GUI: Add side spacing for wx.TextCtrl elements 2024-06-02 12:19:44 -06:00
Mykola Grymalyuk
18d66c66bb gui_entry.py: Add missing import 2024-05-28 18:53:50 -06:00
Mykola Grymalyuk
fdfc86e0d6 sys_patch: Avoid relaunching OCLP 2024-05-28 12:23:33 -06:00
Mykola Grymalyuk
d613581faa wx_gui: Destroy frame on root patching 2024-05-27 17:27:58 -06:00
Mykola Grymalyuk
8fb2ee4b83 Remove stop gap “supports_privileged_helper()” code
Intended to handle transition better, now that it’s complete the code is no longer required
2024-05-27 17:11:28 -06:00
Mykola Grymalyuk
ec9ecbc7a9 Shim: Switch to old spawn logic 2024-05-27 12:13:26 -06:00
Mykola Grymalyuk
303d3de6bd GUI: Remove relaunch logic 2024-05-27 12:13:09 -06:00
Mykola Grymalyuk
b0def277ea updates.py: Add support for PKG updates 2024-05-27 11:29:04 -06:00
Mykola Grymalyuk
acbeef070f Remove alias creation
Now handled by PKG
2024-05-27 11:04:14 -06:00
Mykola Grymalyuk
7d686a29cf Implement update shim 2024-05-26 19:21:49 -06:00
Mykola Grymalyuk
abb18a5ad2 subprocess_wrapper.py: Add unified error handling
Additionally adds backend support for Privileged Helper Tool
2024-05-10 16:06:16 -06:00
Mykola Grymalyuk
83fec2952e Move utilities directory to support 2024-04-01 11:15:34 -06:00
Mykola Grymalyuk
463bed4e06 Restructure into package format 2024-03-31 21:27:36 -06:00