125 Commits

Author SHA1 Message Date
Serhiy Mytrovtsiy
ca00510030 feat: rewritten Battery top processes reader (#781) 2022-01-22 16:37:46 +01:00
Serhiy Mytrovtsiy
587d00ce06 feat: added maximum and designed battery capacity to the Battery popup view (#806)
fix: rounding battery health value to the nearest, not to the lowest value
2022-01-21 17:27:06 +01:00
Serhiy Mytrovtsiy
ee4adbc220 feat: added battery health string to the apple silicon macs 2022-01-13 21:02:42 +01:00
Serhiy Mytrovtsiy
00eff0fb1f fix: trying to fix app crash when stopping battery top processes reader (#781) 2022-01-09 13:01:26 +01:00
Serhiy Mytrovtsiy
f22e615341 feat: added an option to lock the top process 2022-01-04 12:09:54 +01:00
Serhiy Mytrovtsiy
07a2ea560c fix: removed Based on utilization in the Mini widget for the Battery (#717) 2021-11-24 17:55:08 +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
5d2c4c14ec feat: translated disabled status in the battery level notifications (#647) 2021-10-02 12:01:35 +02:00
Serhiy Mytrovtsiy
a350bffaa6 feat: added init read in the battery top processes reader 2021-08-28 15:16:51 +02:00
Serhiy Mytrovtsiy
787efb6b1a fix: fixed order of top processes in the CPU, RAM, and Battery modules (#594) 2021-08-26 19:49:40 +02:00
Serhiy Mytrovtsiy
bf5b4c406e feat: redraw ProcessView to the NSStackView (#569) 2021-08-17 18:25:22 +02:00
Serhiy Mytrovtsiy
54fbe170c0 fix: fixed battery health for apple silicon (#222) 2021-08-16 18:46:34 +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
918a07150b feat: change value type from Double to ColorValue in the BarChart (#441) 2021-08-02 20:11:48 +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
376eee80fd fix: removed empty space in the battery popup view 2021-05-16 13:29:25 +02:00
Serhiy Mytrovtsiy
281535bc17 fix: adjust details part in the battery popup to show battery level (#472) 2021-05-14 17:31:30 +02:00
Serhiy Mytrovtsiy
65cf681eac fix: add information when the time to charge/discharge is unavailable 2021-05-10 19:49:32 +02:00
Serhiy Mytrovtsiy
a5ac0d25dc feat: add information when last time charger was connected in the battery popup (#450) 2021-05-07 18:55:45 +02:00
Serhiy Mytrovtsiy
f7ec867cd3 fix: update battery high level notification message 2021-04-06 20:24:33 +02:00
Serhiy Mytrovtsiy
681ebeef23 fix: fixed memory leak in the Battery reader 2021-04-06 18:49:35 +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
b802bd6b40 fix: enable battery top process reader (pipe was closed when setup) 2021-03-29 17:23:56 +02:00
Serhiy Mytrovtsiy
76500207c9 fix: fixed file descriptors leak (#384) 2021-03-26 21:56:28 +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
8604b08af1 fix: disable Battery high level notification by default 2021-02-28 13:03:46 +01:00
Tyson
000d36c89c Battery high notification (#362)
* adding notification for battery high

* squashing bug
2021-02-28 12:39:00 +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
Tai Zhou
ecc7b8a932 Add Localization to the Power Source
Add two terms to all the languages and add localizations of widgets to Bulgarian and Romanian.
2021-02-08 18:14:34 +08:00
Serhiy Mytrovtsiy
4dd4af1a4f fix: battery module freeze when disabling (#336) 2021-02-05 18:59:57 +01:00
Serhiy Mytrovtsiy
38eeda6ac6 fix: reverted some change from last commit (Battery reader). Fixed the bug with wrong number of top processes in the Battery module (#299). 2021-01-20 19:50:19 +01:00
Serhiy Mytrovtsiy
1cf35f62ba fix: prevent a crash when opening the battery popup for the first time (#295). Fixed by removing overridden start function. 2021-01-20 18:38:19 +01:00
Serhiy Mytrovtsiy
65234052f5 fix: removed battery state on arm (Apple Silicon) (#274) 2021-01-09 23:16:01 +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
e33082f0ca fix: battery health on Apple Silicon (#246) 2020-12-30 14:43:18 +01:00
Junyi
88162a703a - enhancement: battery cycle (#245)
* - fix battery cycles not showing up in the popup.

* - resolve conflicts with the newest version

* fix: show correct GPU temperature on MBP16" built-in with Radeon Pro 5300M
2020-12-25 12:56:19 +01:00
Serhiy Mytrovtsiy
ec80752ac4 - add battery power (TDP) to the Batter popup view (#222) 2020-12-12 20:08:34 +01:00
Serhiy Mytrovtsiy
6b36d3e977 - fix sensor names for different versions of macs (#214)
- add sensor key to the sensor name toolTip in popup view
2020-12-10 19:55:46 +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
f9b90bc3ba - move from core graphics to CALayout in Mini widget 2020-11-05 13:24:20 +01:00
Serhiy Mytrovtsiy
c39b91c0b8 - fix Battery module settings visibility
- add option to select the battery time: short (01:25) and long (1h 25min) (#129)
- add missing translations
2020-10-31 21:13:31 +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
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
4ad776d908 - adjust bar chart widget in the battery module 2020-10-09 10:26:03 +02:00
Serhiy Mytrovtsiy
6c41edab7f - add bar chart widget to the battery module (#100) 2020-10-08 19:05:51 +02:00