Andrius Štikonas
|
622def3b56
|
Convert more enums to scoped enums.
|
2018-04-09 15:14:34 +01:00 |
Andrius Štikonas
|
ee2688d4d9
|
Merge branch 'master' into kauth
|
2018-04-09 12:44:14 +01:00 |
Andrius Štikonas
|
f389306964
|
Make sure deprecated Partition::State enums have the same values as the new ones.
|
2018-04-09 12:32:46 +01:00 |
Andrius Štikonas
|
b42b41bdea
|
Add a shorter Partition::State enum names.
Will be converted to enum class later.
|
2018-04-09 03:46:05 +01:00 |
Andrius Štikonas
|
87f0d9d0a7
|
micro-optimization: QStringLiteral->QLatin1Char
|
2018-04-09 03:18:12 +01:00 |
Andrius Štikonas
|
844f7b3d59
|
LvmDevice: switch away from manual pointers.
|
2018-04-09 03:14:30 +01:00 |
Andrius Štikonas
|
3ccd04e675
|
Switch Device::Type enum to enum class.
|
2018-04-09 02:57:45 +01:00 |
Andrius Štikonas
|
1021e375b4
|
Create a new d-pointer when copying Device class.
Fixes a crash in Calamares
|
2018-04-09 02:45:24 +01:00 |
Andrius Štikonas
|
7e8bab3b4e
|
d-pointerize LvmDevice class.
|
2018-04-09 02:40:24 +01:00 |
Andrius Štikonas
|
df364bdc7c
|
Reuse the d-pointer of the base class Device for the child class DiskDevice.
|
2018-04-09 00:35:06 +01:00 |
Andrius Štikonas
|
210dea15de
|
Use smart pointer for SmartStatus.
Fixes a memory leak.
|
2018-04-08 14:58:02 +01:00 |
Andrius Štikonas
|
a71be700ba
|
d-pointerize Device class.
|
2018-04-08 14:45:59 +01:00 |
Andrius Štikonas
|
17c8772240
|
Explicitely specify the scope of enum.
|
2018-04-07 19:54:30 +01:00 |
Andrius Štikonas
|
876c037ebf
|
Use strongly typed enum for SmartAttributeUnit.
|
2018-04-05 23:06:52 +01:00 |
Andrius Štikonas
|
63cea60ff1
|
Replace std::array with std::vector
Less efficient but helps with keeping ABI stable
|
2018-04-05 21:52:17 +01:00 |
Andrius Štikonas
|
54be18e8ad
|
Deprecate cyllinder and head count.
|
2018-04-02 14:12:35 +01:00 |
Andrius Štikonas
|
cfa853a931
|
d-pointerize DiskDevice class.
|
2018-04-02 13:46:53 +01:00 |
Andrius Štikonas
|
0b6d91bbdb
|
Do not install some private smart include files.
|
2018-04-02 13:13:16 +01:00 |
Andrius Štikonas
|
398e9c3df5
|
d-pointerize FstabEntry class
|
2018-04-01 18:46:26 +01:00 |
Andrius Štikonas
|
2527b3ecc3
|
Merge branch 'master' into kauth
|
2018-03-31 20:30:05 +01:00 |
Andrius Štikonas
|
c1f4b36305
|
Fix mutex logic for cancelling operations.
|
2018-03-31 20:17:43 +01:00 |
Andrius Štikonas
|
1500eeb625
|
Use std::unique_ptr for CoreBackendDevices
|
2018-03-31 14:44:40 +01:00 |
Andrius Štikonas
|
e3aae714a2
|
Remove unnecessary whitespace.
|
2018-03-24 18:27:00 +00:00 |
Caio Carvalho
|
f8f25dc82a
|
- Changing SmartQuirkDatabase to store QString instead of char*.
- Changing quirkDatabase function to return QVector<SmartQuirkDatabase> instead of SmartQuirkDatabase*.
|
2018-03-24 15:17:30 -03:00 |
Andrius Štikonas
|
ac6dc0eb87
|
Remove backend readData/writeData functions.
|
2018-02-06 16:48:02 +00:00 |
Andrius Štikonas
|
2641730c0c
|
Merge branch 'master' into kauth
|
2018-02-04 15:56:38 +00:00 |
Andrius Štikonas
|
469855f7f7
|
Add missing variables to Partition class copy constructor.
|
2018-02-04 15:21:58 +00:00 |
Andrius Štikonas
|
f2b7f2bd9b
|
Use const char* instead of QString in Fstab::findBlkIdDevice
Thansk to: Adriaan de Groot
|
2018-01-31 17:02:59 +00:00 |
Andrius Štikonas
|
f98dbcc208
|
Only use libblkid on Linux.
|
2018-01-31 16:58:00 +00:00 |
Andrius Štikonas
|
838150d439
|
Do not use blkid cache.
|
2018-01-31 16:53:34 +00:00 |
Andrius Štikonas
|
c50006ed22
|
Fix #include issues in smart code.
CC: caiojcarvalho@gmail.com
|
2018-01-31 16:12:11 +00:00 |
Andrius Štikonas
|
9ea7cab92a
|
Merge branch 'master' into kauth
|
2018-01-31 15:15:25 +00:00 |
Andrius Štikonas
|
dd709fc8a9
|
Remove unnecessary extra LIBKPMCORE_EXPORT macros.
|
2018-01-27 13:15:19 +00:00 |
Huzaifa Faruqui
|
e42a5c9289
|
Implement copyblocks function in KAuth helper.
Switch BackupFileSystemJob to thenew copyblocks function.
Reviewed and cleaned up by: Andrius Štikonas
|
2018-01-24 15:22:42 +00:00 |
Caio Carvalho
|
a3d43e159f
|
Removing LIBKPMCORE_EXPORT from SmartParser and adding SMART support dependencies to testsmart in cmake
|
2018-01-21 01:41:59 -03:00 |
Caio Carvalho
|
49c0c39f4b
|
- Including SMART support test
- Adding export macro to SmartParser
|
2018-01-20 21:56:10 -03:00 |
Andrius Štikonas
|
1c024c6b29
|
Fix a typo in the comment.
|
2018-01-11 21:59:18 +01:00 |
Caio Carvalho
|
0190d32cf6
|
Including doxygen comments to the new SMART support classes
|
2018-01-11 17:38:53 -03:00 |
Andrius Štikonas
|
a135c86ba1
|
Use QStringLiteral instead of QString::fromLocal8Bit
|
2018-01-11 14:17:55 +01:00 |
Andrius Štikonas
|
ed7c5b1c77
|
Use long command line option for smartctl.
|
2018-01-11 12:00:52 +01:00 |
Andrius Štikonas
|
790553aa0b
|
Merge branch 'smart' into kauth
|
2018-01-11 11:31:18 +01:00 |
Caio Carvalho
|
44fae61d4f
|
- Removing libatasmart dependency from CMakeLists.txt
- Changing getQuirk regular expression evaluation to use QRegularExpression instead of QRegExp
|
2018-01-09 19:34:20 -03:00 |
Caio Carvalho
|
d71731141c
|
- Changed m_Quirk variable in SmartAttributeParsedData to SmartQuirk value instead of reference
- Changed smartctl call to use ExternalCommand class instead of QProcess
- Changed Q_FOREACH to C++11 ranged based for
- Changed quint64 json parsing
|
2018-01-09 01:35:59 -03:00 |
Caio Carvalho
|
8177fb9738
|
Adding smart JSON output support
|
2018-01-08 17:59:48 -03:00 |
Andrius Štikonas
|
f20bea9bf8
|
Merge branch 'sfdisk' into kauth
|
2017-12-24 23:40:06 +00:00 |
Andrius Štikonas
|
3e7e9d8955
|
Sort partitions by first sector.
|
2017-12-21 23:16:12 +00:00 |
Andrius Štikonas
|
3a691edb4a
|
Do not install copy source/target device headers.
|
2017-12-15 19:33:11 +00:00 |
Andrius Štikonas
|
8264c87ab8
|
Cleanup unnecessary includes.
|
2017-12-10 18:44:54 +00:00 |
Andrius Štikonas
|
27462bcddb
|
Remove workaround to access user dbus session as root.
|
2017-12-10 18:09:03 +00:00 |
Andrius Štikonas
|
906a89c16d
|
Use ExternalCommand to copy fstab file to its final location.
|
2017-12-10 17:36:39 +00:00 |