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
f4e22a5c96
Windows: Add a note about why hidpi is disabled.
2024-10-31 15:18:01 +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
b2edaf69c1
Fix data member naming convention.
2024-06-11 13:29:25 +04:00
Alexander Shaduri
dfa6d043b3
Improve per-drive-type icon selection.
2024-06-11 13:16:24 +04:00
Alexander Shaduri
5e3f01f350
Fixed function naming convention.
2024-06-11 13:15:40 +04:00
Stephen Kitt
3324e27dee
Add the package name to the icons and ui paths
...
CMAKE_INSTALL_FULL_DATADIR gives the read-only
architecture-independent data root without the package name, so
BuildEnv::package_pkgdata_dir() only returns that ("/usr/share" or
equivalent). This adds the package name to the appropriate search
paths in app_init_and_loop().
Signed-off-by: Stephen Kitt <steve@sk2.org >
2024-06-05 16:01:47 +02:00
Alexander Shaduri
25f1c62d2c
Support NVMe behind USB bridges.
2024-05-31 12:50:03 +04:00
Alexander Shaduri
fdcf9f7099
Fix security warning.
2024-05-28 11:25:59 +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
1c19b51fda
Moved application GUI source files to gui subdirectory.
2024-05-22 11:46:02 +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
d356e2e79f
Add nvme as a type option in GUI.
2024-05-20 17:40:41 +04:00
Alexander Shaduri
501134c2fd
Use double-quoting of commands in Windows.
2024-05-17 16:56:44 +04:00
Alexander Shaduri
d6d63b7f88
Packaging fixes.
2024-05-17 13:14:01 +04:00
Alexander Shaduri
3d45bbe12a
Packaging fixes.
2024-05-17 13:09:13 +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
946f4b4339
Fix test failure under Arm architecture.
2024-05-15 13:48:48 +04:00
Alexander Shaduri
6d23e01a82
Fixed running tests under Arm.
2024-05-15 13:42:38 +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
32302c6a80
Info Window: Fixed refresh not working with treeviews.
2024-05-14 15:11:06 +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
f60f08327c
Info Window: Adapt to ATA JSON parser.
2024-05-13 16:48:48 +04:00
Alexander Shaduri
72c01bebba
NVMe: Parse error log.
2024-05-13 16:48:26 +04:00