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
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
Andrius Štikonas
ca136dfcaa
Add some comments.
...
Move copyblocks function lower in a file.
2018-03-22 17:52:59 +00:00
Andrius Štikonas
2cef3f6ec6
Cleanup ExternalCommand interface:
...
* Remove a separate constructor for copyblocks.
* Remove kauthThread and finished() signal.
2018-03-22 17:29:40 +00:00
Andrius Štikonas
39d3592c23
Actually check if the caller is authorized.
2018-03-22 17:41:49 +01:00
Caio Carvalho
dac3372a78
- Including ExternalCommandHelper asynchronous DBus call in ExternalCommand::execute
...
- Stop helper before starting a new in CoreBackendManager::startExternalCommandHelper
- Unregister org.kde.kpmcore.helperinterface service in ExternalCommandHelper::exit
2018-03-22 02:32:59 -03:00
Andrius Štikonas
4b91f2c07e
Convert copyblocks dbus call to asynchronous call.
2018-03-21 21:51:30 +01:00
Andrius Štikonas
97d7076481
Increase DBus call timeout to 10 days.
2018-03-21 21:11:09 +01:00
Andrius Štikonas
c09f6fb9fa
Add a function to stop KAuth helper daemon.
2018-03-21 20:44:07 +01:00
Andrius Štikonas
bd54ba7c5d
Convert copyblocks code from KAuth to DBus calls to helper daemon.
2018-03-21 18:01:40 +01:00
Andrius Štikonas
ef2b61d2ec
Wait until the helper started.
...
Ideally we should not block at this stage and wait before the first command
is executed. But this is much better than nothing.
2018-03-19 16:21:57 +01:00
Andrius Štikonas
645e16bb20
WIP: add some experimental code where helper is used as daemon
...
Caveats:
* copyblocks are not converted yet, but should be similar.
* There is no signaling back to main application which tells when even loop has started, so after password is entered, you need to click F5 to rescan devices
* There are some security checks but are they sufficient
2018-03-19 11:42:49 +01:00
l10n daemon script
ad863cc6b1
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-19 05:09:05 +01:00
Andrius Štikonas
519cc2cd3c
Merge branch 'master' into kauth
2018-03-18 12:52:57 +01:00
l10n daemon script
2f621fc6db
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-13 05:16:54 +01:00
l10n daemon script
4406297053
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-12 04:59:29 +01:00
l10n daemon script
f89bc39c76
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-11 05:21:27 +01:00
l10n daemon script
11d2bbc344
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-06 05:21:11 +01:00
l10n daemon script
07a0f47c57
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-05 05:14:10 +01:00
l10n daemon script
67b25dc0e9
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-04 05:17:01 +01:00
Andrius Štikonas
17451c3494
Add non-const overload to partition() function.
2018-03-03 16:38:21 +00:00
l10n daemon script
fe117a20b0
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-03 05:26:15 +01:00
Andrius Štikonas
144e260efe
Finish porting to KCoreAddons JSON plugins.
...
Convert .desktop files to .json with desktoptojson
2018-03-02 11:33:46 +00:00
l10n daemon script
ff9e6c8323
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-02-19 04:59:32 +01:00
Huzaifa Faruqui
72da110996
Fix copyblocks exit status check
2018-02-06 22:32:26 +05:30