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
Alexander Shaduri
556a82e42b
NVMe: Show attributes in Info window.
2024-05-13 18:11:06 +04:00
Alexander Shaduri
57f7b6d000
Make Info window display tabs only if properties with appropriate sections are available.
2024-05-13 17:17:24 +04:00
Alexander Shaduri
67a0b128f7
Display info properly for flash drives.
2024-05-13 16:49:07 +04:00
Alexander Shaduri
72c01bebba
NVMe: Parse error log.
2024-05-13 16:48:26 +04:00
Alexander Shaduri
dede4695e9
ATA JSON parser is on par with Text parser now, feature-wise.
2024-05-13 16:48:01 +04:00
Alexander Shaduri
5efefd3576
Implemented NVMe self-test log parsing.
...
Refactoring AtaStorageProperty -> StorageProperty.
2024-05-07 19:36:40 +04:00
Alexander Shaduri
516eaa2086
Basic NVMe parser implemented.
2024-05-02 15:20:16 +04:00
Alexander Shaduri
c3a6f0b624
Implemented detection of device type.
2024-05-02 14:38:31 +04:00
Alexander Shaduri
6594cddb65
Refactored drive data fetch and parsing, and drive types.
2024-05-02 13:47:20 +04:00
Alexander Shaduri
bf2343015e
Avoid unnecessary exceptions when reading config file.
2024-05-02 13:47:14 +04:00
Alexander Shaduri
589263e902
etc... -> etc.
2024-04-25 16:53:30 +04:00
Alexander Shaduri
61fe92e201
ATA JSON parser improvements.
2024-04-24 15:58:45 +04:00
Alexander Shaduri
1b7264793e
ATA JSON parser improvements.
2024-04-24 15:51:01 +04:00
Alexander Shaduri
18a6628d0e
Support parsing more of ATA output in JSON.
2024-04-23 17:03:52 +04:00
Alexander Shaduri
f7d9956665
Support parsing ATA Self-test Log in JSON.
...
UI fixes.
2024-04-23 12:55:23 +04:00
Alexander Shaduri
212b6bfe4f
Fix compilation.
2024-04-22 17:22:14 +04:00