Andrius Štikonas
221d7aded6
d-pointerize ExternalCommand class.
2018-04-12 00:47:40 +03:00
Andrius Štikonas
9e107c8136
Add forgotten files.
2018-04-11 15:14:17 +03:00
Andrius Štikonas
db40442744
d-pointerize Operation class.
2018-04-11 03:52:46 +03:00
Andrius Štikonas
9cc583e7d5
Try to workaround systemd automounting.
2018-04-10 23:26:44 +03:00
Andrius Štikonas
dda5ddd3e6
Fix more memory leaks in SmartDiskInformation.
2018-04-09 16:16:02 +01:00
Andrius Štikonas
a9a637454a
Fix a memory leak in SmartParser.
...
CC: caiojcarvalho@gmail.com
2018-04-09 16:07:44 +01:00
Andrius Štikonas
492e3beb18
Reuse SmartStatus::SelfTestStatus enum.
2018-04-09 15:37:46 +01:00
Andrius Štikonas
b5d0b500cf
Reuse SmartStatus::Overall enum for SmartDiskInformation.
2018-04-09 15:27:07 +01:00
Andrius Štikonas
622def3b56
Convert more enums to scoped enums.
2018-04-09 15:14:34 +01:00
Andrius Štikonas
df449ac3d4
Mark old enum values as deprecated.
2018-04-09 13:42:36 +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
2e5f0fbcb2
d-pointerize FileSystem class.
2018-04-08 01:46:08 +01:00
Andrius Štikonas
17c8772240
Explicitely specify the scope of enum.
2018-04-07 19:54:30 +01:00
l10n daemon script
6eab8757b5
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-04-06 05:23:24 +02: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
7ed6657e30
Restore functionality of FileSystem::findExternal
...
This also fixes unused variable warnings
2018-03-31 23:49:37 +01:00
Andrius Štikonas
a83cb256cb
Finish d-pointerizing CoreBackend class.
2018-03-31 22:08:55 +01:00
Andrius Štikonas
279159ca6f
Use smart pointers for CoreBackendPartitionTable.
2018-03-31 21:49:20 +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
5e85f0b974
Remove ping interface in KAuth helper as it is blocking KPM GUI.
2018-03-31 18:01:00 +01:00
Andrius Štikonas
1062766e36
Fix spelling mistake.
2018-03-31 16:44:00 +01:00
Andrius Štikonas
738842799a
Make kpmcore link libraries private.
2018-03-31 16:30:53 +01:00
Andrius Štikonas
1500eeb625
Use std::unique_ptr for CoreBackendDevices
2018-03-31 14:44:40 +01:00
Andrius Štikonas
8fa1814f45
Remove libparted backend.
2018-03-31 13:14:38 +01:00
Andrius Štikonas
00cb2c85d9
d-pointerize CoreBackendManager
2018-03-31 13:07:35 +01:00
Andrius Štikonas
8f88efeefd
Use std::unique_ptr in CoreBackend.
2018-03-31 12:56:34 +01:00
l10n daemon script
8658743a49
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-03-30 05:19:57 +02:00
Andrius Štikonas
9218b55c57
Exit even loop if KAuth job finishes with error.
2018-03-28 02:15:46 +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
a4be3fd2ea
Start KAuth helper in CoreBackendManager constructor.
2018-03-24 15:32:15 +00:00
Andrius Štikonas
f04416beba
Simplify Qtimer code in ExternalCommandHelper.
2018-03-23 22:47:21 +00:00
Andrius Štikonas
8cdf70171e
Start QTimer before enteting event loop.
2018-03-23 22:08:23 +00:00
Caio Carvalho
47a1519699
- Including Watchdog Timer in CoreBackendManager to ping DBus service.
...
- Including ExternalCommandHelper::ping slot to receive pings.
- Including timer to watch last ping in the service to unregister it after reaching 42 seconds without pings.
2018-03-23 18:19:33 -03:00