Alexander Shaduri and Copilot
e4c9afeed0
Update src/applib/warning_colors.h
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-08 18:52:27 +01:00
anthropic-code-agent[bot] and ashaduri
c322e96741
Revert to umbrella gtkmm.h include per maintainer request
...
Co-authored-by: ashaduri <2302268+ashaduri@users.noreply.github.com >
2026-03-08 18:52:27 +01:00
anthropic-code-agent[bot] and ashaduri
a6e2dd0cc6
Add GTK init guard and optimize theme detection
...
- Guard theme detection with Gtk::Main::level() check to avoid crashes in non-GUI executables
- Use narrow headers (gtkmm/settings.h, gtkmm/main.h) instead of umbrella gtkmm.h
- Return early from app_property_get_label_highlight_color() for WarningLevel::None
Co-authored-by: ashaduri <2302268+ashaduri@users.noreply.github.com >
2026-03-08 18:52:27 +01:00
anthropic-code-agent[bot] and ashaduri
6de9bb897d
Implement theme-aware red text colors for dark theme legibility
...
Co-authored-by: ashaduri <2302268+ashaduri@users.noreply.github.com >
2026-03-08 18:52:27 +01:00
Alexander Shaduri
5343ba9dae
Cleanups
2026-03-04 22:48:21 +01:00
Alexander Shaduri
dadfd60ed3
Fix gcc shadow warning.
2025-11-25 19:29:46 +01:00
copilot-swe-agent[bot] and ashaduri
54425a306a
Implement natural sort order for drive names
...
Co-authored-by: ashaduri <2302268+ashaduri@users.noreply.github.com >
2025-11-25 12:59:41 +01:00
Alexander Shaduri
6630116ba1
Properly implemented persistence of manually added devices ( #87 ). Added --forget-devices option to clear the list if any of the devices causes trouble.
2025-04-28 18:51:42 +04:00
Alexander Shaduri
1f7c2b6a92
Manually added devices can be persistent now.
2025-04-28 11:19:44 +00:00
Alexander Shaduri
d7032eb351
Allow smartctl < 7.3 again, falling back to Text parser; this configuration is for compatibility only and not fully supported.
2025-02-24 13:52:04 +04:00
Alexander Shaduri
589c280bdc
Support saving smartctl output to text (using old text format) instead of json ( #76 ).
2025-02-15 13:22:47 +04:00
Alexander Shaduri
9f85d09736
Support standard (non-extended) self-test log in JSON ATA parser ( #79 ).
2025-02-14 13:48:30 +04:00
Alexander Shaduri
d45e5360cc
Temperature: Fixed reporting unreasonably large values when raw value encodes min/max values as well ( #78 ); support protocol-independent temperature reporting in JSON.
2025-02-14 13:28:43 +04:00
Alexander Shaduri
a5fddf1bb2
Use {fmt} instead of <format> to support older compilers.
2025-02-07 11:44:50 +04:00
Alexander Shaduri
a254c17fcb
Updated wikipedia links.
2024-12-10 18:26:40 +04:00
Alexander Shaduri
840398c073
Fix potential crash in attribute description database.
2024-11-19 12:58:45 +04:00
Alexander Shaduri
3aa5ddfc32
Test results are presented in a more obvious manner now.
2024-11-04 20:38:47 +04:00
Alexander Shaduri
c2277edb56
Show smartctl database version in basic properties.
2024-11-04 17:07:20 +04:00
Alexander Shaduri
d82ec219f6
Refactoring: Split out property description code for ATA Attribute and ATA Statistic into separate files.
...
Added descriptions and warnings to NVMe Attributes.
Storage Property: Rely less on reported name (not as useful with JSON parser), more on generic name.
2024-11-04 16:56:10 +04:00
Alexander Shaduri
dc007c84ab
Fix ATA testing with when JSON parser is used.
2024-11-04 13:11:19 +04:00
Alexander Shaduri
74c5e92d4b
Do not remove NVMe devices namespaces if a device has more than one namespace.
2024-10-31 16:21:43 +04:00
Alexander Shaduri
aaa374c8ed
Fix self-test status execution returning error.
2024-10-31 16:21:15 +04:00
Alexander Shaduri
2a6902dbb5
Support self-tests on WD NVMe with smartctl < 7.5.
2024-10-31 16:05:07 +04:00
Alexander Shaduri
02206a8967
Minor code cleanups.
2024-10-31 15:56:23 +04:00
Alexander Shaduri
af2a5a18b3
"Perform Tests" menu item is correctly disabled now if self-tests are not supported; if support is unknown, an appropriate message is shown after the Info window is displayed.
2024-10-31 15:47:42 +04:00
Alexander Shaduri
1d0e325813
JSON Basic Parser: Make sure the health property is in the health section (fixes GUI not displaying health after first scan).
2024-10-31 15:21:02 +04:00
Alexander Shaduri
fb468f8594
Windows: Fixed auto-detection issues, minor refactoring of the detection code.
2024-10-31 14:26:20 +04:00
Alexander Shaduri
4ff0aaad9c
Hide self-test tab if NVMe does not support self-tests.
2024-06-11 13:53:23 +04:00
Alexander Shaduri
c795635469
Improve device type detection.
2024-06-11 13:47:11 +04:00
Alexander Shaduri
e844b9949d
Detection of NVMe self-test support.
2024-06-11 13:46:57 +04:00
Alexander Shaduri
5c807e1859
Fix missing include.
2024-06-11 13:29:35 +04:00
Alexander Shaduri
25f1c62d2c
Support NVMe behind USB bridges.
2024-05-31 12:50:03 +04:00
Stephen Kitt
7b6aa046f4
Use the canonical nlohmann json include path
...
As documented in https://github.com/nlohmann/json , the canonical
include path for json.hpp is nlohmann/json.hpp. Tihs updated the
vendored dependency to match, so that gsmartcontrol can more easily be
built using a system-installed copy of nlohmann json as well as the
vendored copy.
Signed-off-by: Stephen Kitt <steve@sk2.org >
2024-05-27 13:31:27 +02:00
Alexander Shaduri
db6811450e
Remove local_glibmm.h workaround for broken libintl.h.
2024-05-22 11:51:41 +04:00
Alexander Shaduri
74a0cf012b
Refactored so that executor options are given as a vector, not as a string; this improves reliability as the string does not have to be shell-parsed.
2024-05-20 17:41:29 +04:00
Alexander Shaduri
501134c2fd
Use double-quoting of commands in Windows.
2024-05-17 16:56:44 +04:00
Alexander Shaduri
4211374126
Updated documentation to indicate NVMe support.
2024-05-17 11:38:57 +04:00
Alexander Shaduri
d916dc4a9d
Removed mention of any pcre dependency.
2024-05-16 16:47:44 +04:00
Alexander Shaduri
791cc93f5f
Fixed std::regex-based parsing.
2024-05-16 16:41:39 +04:00
Alexander Shaduri
1df72dc2e0
Initial port from pcre to std::regex (not working yet).
2024-05-16 16:27:18 +04:00
Alexander Shaduri
cf3a9f6ae3
Partial port from pcre to std::regex.
2024-05-16 15:13:34 +04:00
Alexander Shaduri
6d49968a59
Fix make_format_args() calls.
2024-05-14 18:30:46 +04:00
Alexander Shaduri
84ae416c2c
Removed AODC feature, it's been deprecated for a while.
2024-05-14 17:42:46 +04:00
Alexander Shaduri
dd4fd4d187
Fixed loading text files as virtual devices (size parsing, ATA detection).
2024-05-14 17:26:51 +04:00
Alexander Shaduri
ade001359b
Implemented loading virtual drives from JSON.
2024-05-14 16:57:01 +04:00
Alexander Shaduri
ac2d3d6b33
Implement proper SMART on/off switch support detection.
2024-05-14 15:55:12 +04:00
Alexander Shaduri
537ea258ca
NVMe: Full support for self-testing.
2024-05-14 15:41:27 +04:00
Alexander Shaduri
5ba969c561
NVMe: Support self-test log and running self-tests (untested).
2024-05-14 14:27:24 +04:00
Alexander Shaduri
5a4e60f645
Format LBA in locale-aware way.
2024-05-14 14:26:37 +04:00
Alexander Shaduri
456feb645a
NVMe: Show Error Log.
2024-05-14 11:50:27 +04:00