184 Commits

Author SHA1 Message Date
Serhiy Mytrovtsiy
f22e615341 feat: added an option to lock the top process 2022-01-04 12:09:54 +01:00
Serhiy Mytrovtsiy
b6c45c53b9 feat: redesigned settings view. Each module has two views: module settings and widget settings. The previous widget settings view was too complicated and weird 2021-11-04 17:38:53 +01:00
Serhiy Mytrovtsiy
3bf846fa0f fix: fixed wrong components adjustment when changing the number of top processes (#673) 2021-10-26 17:02:44 +02:00
Serhiy Mytrovtsiy
4168862287 feat: added Tachometer widget to the CPU, GPU, and RAM module (#631) 2021-10-13 18:27:31 +02:00
Serhiy Mytrovtsiy
58be03d807 feat: added average CPU load to the details 2021-09-07 19:53:13 +02:00
Serhiy Mytrovtsiy
9193b49c1f feat: added average CPU load reader 2021-09-06 20:25:23 +02:00
Serhiy Mytrovtsiy
d2efc1f264 feat: added CPU scheduler and speed limits to the popup (#540) 2021-08-24 21:38:23 +02:00
Serhiy Mytrovtsiy
3f3b721140 feat: added CPU limit (scheduler and speed limits) reader (#540) 2021-08-23 18:40:26 +02:00
Serhiy Mytrovtsiy
bf5b4c406e feat: redraw ProcessView to the NSStackView (#569) 2021-08-17 18:25:22 +02:00
Serhiy Mytrovtsiy
f12b123e3d fix: fixed enabling widget when toggling some option in the settings when the module is disabled 2021-08-15 13:03:28 +02:00
Serhiy Mytrovtsiy
0fe2c0dd98 feat: add an option to enable split value (System/User) for CPU and RAM in the BarChart (#441) 2021-08-03 20:11:18 +02:00
Serhiy Mytrovtsiy
918a07150b feat: change value type from Double to ColorValue in the BarChart (#441) 2021-08-02 20:11:48 +02:00
Serhiy Mytrovtsiy
5853a2b4b8 feat: add an option to select update interval for top processes to the CPU (#552) 2021-07-26 20:32:24 +02:00
Serhiy Mytrovtsiy
a3a002a2d3 feat: removed os.log and moved to NextLog 2021-06-26 13:38:45 +02:00
Serhiy Mytrovtsiy
13707090eb feat: combine StatsKit and ModuleKit in the one framework: Kit 2021-06-04 19:37:29 +02:00
Serhiy Mytrovtsiy
0c7f5699ed feat: initialized swiftlint and fixed warnings and errors 2021-05-22 14:58:20 +02:00
Serhiy Mytrovtsiy
e5832af9e8 fix: escape temperature read in CPU module for apple silicon (#445) 2021-04-30 17:29:00 +02:00
Serhiy Mytrovtsiy
5eb709ccf3 feat: init Label widget (#376)
feat: removed labels option from `Bar, Line and Pie chart` widgets
feat: added `Label widget` to the all modules
feat: removed another UnsafeMutablePointer
2021-03-30 20:34:50 +02:00
Serhiy Mytrovtsiy
76500207c9 fix: fixed file descriptors leak (#384) 2021-03-26 21:56:28 +01:00
Serhiy Mytrovtsiy
adcb0da9ab feat: moved from UnsafePointer<SMCService> to sharable instance (SMC.shared) 2021-03-25 22:14:20 +01:00
Serhiy Mytrovtsiy
cd689999ac feat: moved from UnsafePointer<Store> to sharable instance (Store.shared) 2021-03-20 16:33:14 +01:00
Serhiy Mytrovtsiy
feb2c71118 fix: setup frequency reader when toggle on 2021-03-12 17:56:43 +01:00
Serhiy Mytrovtsiy
3b43e91c3d feat: add option to disable CPU frequency (IPG) (#379) 2021-03-12 17:51:29 +01:00
Serhiy Mytrovtsiy
38e064d183 fix: correct widget ordering after restart (return reader readyHandler) (#347) 2021-02-16 20:01:46 +01:00
Serhiy Mytrovtsiy
7b2b786b86 feat: now few widgets can be enabled for one module 2021-02-13 16:39:11 +01:00
Serhiy Mytrovtsiy
151ac1ceca fix: added condition to the CPU temperature: must be less than 110C (#280) 2021-01-09 21:08:30 +01:00
Serhiy Mytrovtsiy
cc1d9459e1 feat: was added option to disable the top processes (0 - option in the number of processes) 2021-01-07 16:29:03 +01:00
Serhiy Mytrovtsiy
752a8e9cd0 fix: adjust CPU temperature sensors (#266) 2021-01-02 17:19:51 +01:00
Serhiy Mytrovtsiy
347be6a86d - hide temperature indicator from the CPU popup if not available (#222) 2020-12-11 19:09:51 +01:00
Serhiy Mytrovtsiy
59ae549118 - add reconnection mechanism to IPG reads 2020-12-02 17:16:04 +01:00
Serhiy Mytrovtsiy
db1a40d25e - fix CPU frequency reader block after sleep/IPG interruption (#199) 2020-12-02 17:07:22 +01:00
Serhiy Mytrovtsiy
660b4db91e - mark CPU frequency reader as popup (#192) 2020-12-01 17:50:55 +01:00
Serhiy Mytrovtsiy
2f062ddb1e - add new Pie chart widget
- add Pie chart widget to the CPU module
- add Pie chart widget to the RAM module
2020-12-01 17:19:56 +01:00
Serhiy Mytrovtsiy
cb267ad89e - rename CircleGraphView to PieWidget
- add option to show/hide the value in PieWidget
- add option to fill full pie in PieWidget
2020-11-30 17:27:20 +01:00
Serhiy Mytrovtsiy
4b73023b43 - fix app crash with old version of IntelPowerGadget (#202) 2020-11-30 17:02:53 +01:00
Serhiy Mytrovtsiy
5974548d56 - remove C bridge for IntelPowerGadget framework
- remove IntelPowerGadget framework dependency
- add IntelPowerGadget dynamic load if x86
- enable universal build (from now supports Apple Silicon) (#181)
2020-11-24 00:11:02 +01:00
NanoSector
aff3406450 Partially fix duplicate entries in RAM module (#174)
* Do not create more ProcessView instances than necessary

Signed-off-by: NanoSector <rick@nanosector.nl>

* Clear out any potentially leftover ProcessView instances in RAM module

Signed-off-by: NanoSector <rick@nanosector.nl>

* Add clear() method to ProcessView

Signed-off-by: NanoSector <rick@nanosector.nl>

* Add attachProcess helper method

Signed-off-by: NanoSector <rick@nanosector.nl>

* Memory: Refactor processCallback method

Signed-off-by: NanoSector <rick@nanosector.nl>

* Battery: Refactor processCallback method

Signed-off-by: NanoSector <rick@nanosector.nl>

* CPU: Refactor processCallback method

Signed-off-by: NanoSector <rick@nanosector.nl>

* Network: Refactor processCallback method

Signed-off-by: NanoSector <rick@nanosector.nl>

* Set exclusive process range for other popups

Signed-off-by: NanoSector <rick@nanosector.nl>

* Process code review: Remove unnecessary semicolons

Signed-off-by: NanoSector <rick@nanosector.nl>

* Process code review: Remove more unnecessary semicolons

Signed-off-by: NanoSector <rick@nanosector.nl>
2020-11-20 22:08:07 +01:00
Serhiy Mytrovtsiy
ec1c834e58 - add pid to the process toolTip in the top processes 2020-11-17 16:50:55 +01:00
Serhiy Mytrovtsiy
e840726415 - fix CPU and Memory chart height 2020-11-14 16:33:17 +01:00
Serhiy Mytrovtsiy
762afd1763 - adjust Mini widget sizes 2020-11-09 22:31:56 +01:00
Serhiy Mytrovtsiy
f9b90bc3ba - move from core graphics to CALayout in Mini widget 2020-11-05 13:24:20 +01:00
Serhiy Mytrovtsiy
e5808b8556 - rewrite Popup view
- improve popup view updates and resizes
- add scrollView to popup view (need to display a lot of sensors)
2020-10-31 19:34:28 +01:00
Serhiy Mytrovtsiy
9d2010ad6b - add some missing sensors (#128)
- add missing sensors group translation
2020-10-31 16:38:23 +01:00
Serhiy Mytrovtsiy
f8ba0b8bf7 - improve performance when changing the widget
- move trigger process.read when changing the number of top processes to the background
2020-10-29 16:46:22 +01:00
Serhiy Mytrovtsiy
e1e7825b18 - add top view initialization to the network popup
- add an option to select number of top processes to the Battery module
2020-10-29 16:33:24 +01:00
Serhiy Mytrovtsiy
9316a7bf7b - change layout in the CPU and Memory popups (moved to NSGridView) 2020-10-26 18:05:04 +01:00
Serhiy Mytrovtsiy
d1cb36c212 - add an option to select number of top processes in the Memory module 2020-10-25 17:00:14 +01:00
Serhiy Mytrovtsiy
1910e4a53a - add an option to select number of top processes in the CPU module (#79) 2020-10-24 17:30:46 +02:00
Serhiy Mytrovtsiy
e7a57ca64e - update readers update interval (moved to one list of intervals) 2020-10-23 15:17:51 +02:00
Serhiy Mytrovtsiy
2100c0b134 - move CPU frequency and temperature to the dedicated reader (less CPU consumption)
- add model identifier to the model name tooltip
2020-10-22 20:50:34 +02:00