Alexander Shaduri
876e29973c
Simplified AtaStorageProperty by mergin Section and SubSection.
2024-04-15 16:29:51 +04:00
Alexander Shaduri
351f5edaa9
Switched most of message-based error handling to std::expected.
...
Refactored enum class naming to use ThisCase.
Decorated most getters with [[nodiscard]].
2024-03-22 18:21:08 +04:00
Alexander Shaduri
21267acb8c
Separate out basic text parser from StorageDevice.
...
Store all properties in StoragePropertyRepository.
2024-03-20 20:29:19 +04:00
Alexander Shaduri
29555ed584
Ported away from deprecated u8path().
2024-03-11 14:53:05 +04:00
Alexander Shaduri
985700c79d
Moved to C++23, making the code compatible with it (u8string / u8path incompatibilities).
2024-03-07 14:38:44 +04:00
Alexander Shaduri
396ea3daf3
Fixed some clang-tidy warnings.
2023-03-03 23:00:52 +04:00
Alexander Shaduri
88a36c6f57
Changed internal property names to match smartctl's json paths.
2022-02-14 13:21:23 +04:00
Alexander Shaduri
ef94137edc
Info Window: Make the text views with output texts use monospace font with the new GTK versions.
2022-02-01 13:46:43 +04:00
Alexander Shaduri
910f71ec9e
Info Window: Align and monospace table cells where applicable to improve readability.
2022-02-01 13:31:18 +04:00
Alexander Shaduri
f4973cdb4b
Handle all tree view styling in per-table cell renderers; this fixes conflicts between renderer styles and markup.
2022-02-01 12:51:48 +04:00
Alexander Shaduri
5865134b29
Code cleanup - reduce std::strlen usage.
2022-01-29 22:27:12 +04:00
Alexander Shaduri
c72b746d0a
Escape all text wherever it may be interpreted as markup, even if not coming from external source.
2022-01-14 19:17:15 +04:00
Alexander Shaduri
b4b6980a0c
Fixed a GTK warning related to markup in Info window's attributes tab.
2022-01-14 18:53:16 +04:00
Alexander Shaduri
7f2fb32735
Refactored InstanceManager (now WindowInstanceManager) to manage all window instances, keep them alive and have the ability to destroy them; this avoids any manual "delete" calls, and fixes a (newly introduced) crash on exit.
2022-01-10 19:13:11 +04:00
Harald Judt
6adac797d3
Fix barely readable info cell texts
...
By simply resetting values, the rendered cell text colors are barely
readable. Setting Pango::WEIGHT_NORMAL instead of resetting seems to fix this
nicely without any negative consequences.
Signed-off-by: Harald Judt <h.judt@gmx.at >
2021-12-21 14:25:06 +01:00
Alexander Shaduri
788a4760b8
Refactored storage property classes (better naming, documentation), removed app_gtkmm_features.h.
2021-03-16 16:06:28 +04:00
Alexander Shaduri
d74da816a1
Refactored command executors (better naming, documentation).
2021-03-16 15:24:08 +04:00
Alexander Shaduri
bedd8f362b
Refactored gtkmm utils and app builder to simply the code and document it better.
2021-03-15 17:55:22 +04:00
Alexander Shaduri
28dacf4d74
Fixed all remaining clang-tidy warnings.
2021-03-03 18:15:23 +04:00
Alexander Shaduri
60ba6078c2
Fixed some problems reported by clang-tidy.
2021-03-02 19:12:18 +04:00
Alexander Shaduri
07b6a27dc0
Fixed libintl conflicts causing compilation errors in Windows.
2021-03-02 18:25:16 +04:00
Alexander Shaduri
2986bb4893
Ported hz::scoped_ptr to std::unique_ptr and removed it.
2021-03-01 22:43:22 +04:00
Alexander Shaduri
f0dfeaf8c0
Updated / added copyright headers.
2021-02-26 14:36:27 +04:00
Alexander Shaduri
c6ebf9feb1
Initial version of complete port to cmake; removed all autotools files.
2021-02-24 17:57:51 +04:00
Alexander Shaduri
0f6ff2a4cb
Moved files out of gsmartcontrol directory after import from SVN.
2021-02-23 20:24:01 +04:00