Commit Graph

109 Commits

Author SHA1 Message Date
Andrius Štikonas 063da467f3 Add SPDX metadata to CMakeLists.txt files. 2020-09-16 01:03:48 +01:00
Andrius Štikonas ad48c72af8 Switch to SPDX license headers. 2020-09-16 00:35:12 +01:00
Andrius Štikonas cc43e8b706 Fix out of bounds access.
BUG: 396099
2018-07-07 14:12:25 +01:00
Andrius Štikonas 2137fa58b8 Explicitely specify the scope of FileSystem::Type enum. 2018-04-07 19:54:55 +01:00
Andrius Štikonas 3c9d85d842 Use enums instead of ints when choosing filesystem color in KConfig. 2018-04-07 19:05:05 +01:00
Andrius Štikonas 3eae84de13 Adapt to kpmcore API changes std::array->std::vector. 2018-04-05 21:54:55 +01:00
Andrius Štikonas a1a535cb03 Remove checkPermissions code. 2018-03-19 02:45:18 +01:00
Andrius Štikonas fa65cd116b Use defaultBackend from kpmcore.
Do not duplicate the same thing in partitionmanager.kcfg
2018-01-31 18:50:33 +00:00
Andrius Štikonas f29656ca45 Move showColumnsContextMenu function from kpmcore to partitionmanager. 2017-09-14 20:42:43 +01:00
Andrius Štikonas 78eca538d6 Remove double underscore from include guards. 2017-09-11 16:28:04 +01:00
Andrius Štikonas 4b68a0cba0 Add support for UDF file system. 2017-08-31 10:21:20 +01:00
Andrius Štikonas 64463944f7 Workaround for 380974.
If DBUS_SESSION_BUS_ADDRESS is not defined then try to determine it from
~/.dbus/session/bus/ and pass to partitionmanager running as root.

This fixes a long delay before KMessageBoxes become usable.
The delay happens when using KNotifications >= 5.33.
2017-06-13 22:12:58 +02:00
Andrius Štikonas 4e78cd9ff1 Pass DBUS_SESSION_BUS_ADDRESS environmental variable.
This is necessary for disabling Plasma automounter on Wayland.

BUG: 368175
2017-06-13 00:06:39 +02:00
Andrius Štikonas 42fc14cad1 Add a note about kdesu configuration 2017-05-31 21:49:17 +01:00
Andrius Štikonas 3cefd3f087 Revert "Pass through /home/andrius environmental variable to use ~/.config/ and user theme."
This reverts commit 408edd7f15.
2017-01-09 12:27:24 +00:00
Andrius Štikonas 408edd7f15 Pass through /home/andrius environmental variable to use ~/.config/ and user theme. 2017-01-05 18:32:28 +00:00
Andrius Štikonas 3c465a4cb6 Pass more variables to sudo for Wayland support. 2016-10-27 01:51:50 +01:00
Andrius Štikonas c84026a27e Pass KDE_FULL_SESSION variable to sudo if it was defined in the initial environment. 2016-10-19 21:26:59 +01:00
Andrius Štikonas 5267f9825a Convert some more for loops to ranged based loop. 2016-08-15 17:38:00 +01:00
Andrius Štikonas 35db33089b Add more KUIT string contexts. 2016-08-15 16:57:43 +01:00
Andrius Štikonas f81cb3cc30 Improve semantic markup. 2016-07-18 02:21:14 +01:00
Andrius Štikonas cf891183cb
Always use because it is type safe. 2016-04-14 19:18:36 +01:00
Andrius Štikonas 9c91e25e96 Update copyright. 2016-03-02 18:33:40 +00:00
Andrius Štikonas 3ccc829483 Add a comment. 2016-01-31 14:23:49 +00:00
Andrius Štikonas 53e1413d06 Look for kdesu binary in libexec path. 2016-01-29 16:44:17 +00:00
Andrius Štikonas 15b7fa3470 kpmcore/ prefix in #includes is no longer required. 2016-01-12 00:12:49 +00:00
Andrius Štikonas 333e03ac10 Get rid of kpmgui internal library.
kpmgui was basically the whole partitionmanager except for main.cpp file.
All useful functions were moved to kpmcore library, kpmgui is not necessary now.
2016-01-06 15:56:32 +02:00
Teo Mrnjavac 48a2090b48 Generate color codes array from Settings. 2015-07-17 13:37:08 +02:00
Andrius Štikonas 81004a2445 Format partitionmanager code using KDE style. 2015-07-13 17:17:41 +03:00
Andrius Štikonas 618468742c Move FileSystem::defaultFileSystem to GUI. 2015-06-30 22:22:13 +03:00
Andrius Štikonas a58a041e6a Move Capacity::preferredUnit to GUI. 2015-06-14 02:06:18 +01:00
Andrius Štikonas 11b097141a Move createFileSystemColor back to GUI. 2015-06-12 13:11:29 +01:00
Andrius Štikonas b651d8de89 Move kpmcore to another repository (sysadmin/kpmcore) 2015-06-04 01:51:56 +01:00
Andrius Štikonas 2b7d2ff377 Move util/htmlreport util/helpers to kpmgui library. 2015-03-28 18:23:53 +00:00
Andrius Štikonas 8e5c1b1ebd Move naturalLessThan function out of util/helpers. 2015-03-28 16:56:39 +00:00
Andrius Štikonas 0ce605e7bd Move KAboutData setup code out of util/helpers.cpp to main.cpp. 2015-03-28 00:48:51 +00:00
Chris Campbell 0ff2c923c3 Split partitionmanagerprivate into kpmcore and kpmgui.
Please enter the commit message for your changes. Lines starting
2015-03-27 16:28:21 +00:00
Andrius Štikonas 85ee018dd7 Change homepage (the previous domain owned by Volker has expired). 2015-02-17 11:56:39 +00:00
Andrius Štikonas bbb2fa3067 Use GPLv3 copyright notices. 2015-02-07 00:32:25 +00:00
Andrius Štikonas 8b26ef6d4a Add myself to credits. 2015-02-05 01:41:51 +00:00
Andrius Štikonas a7a6d56112 PartitionManager links to and uses GPLv3 libraries, so switch license to GPLv3+. 2015-02-05 01:32:14 +00:00
Andrius Štikonas aa8c8eeb37 Change myself from developer to maintainer. 2015-02-05 01:12:27 +00:00
Andrius Štikonas d52ea34cf7 Complete KF5 port:
* Expose backend versions in a similar manner to backend Id.
 * Fix configure dialog signals.
2015-02-05 00:09:39 +00:00
Andrius Štikonas 02ffa73bb5 Fix gaining root privileges when command line options are supplied. 2015-02-04 23:19:49 +00:00
Andrius Štikonas cc8e02cb43 Port away from deprecated KF5 methods. 2014-11-03 19:57:25 +00:00
Andrius Štikonas 204d2f9799 Remove all remaining functions depending on Solid. 2014-08-09 22:06:27 +03:00
Andrius Štikonas 1ee1e2f780 Merge branch 'master' into frameworks
Conflicts:
	CMakeLists.txt
	src/util/helpers.cpp
2014-07-24 08:56:54 +01:00
Andrius Štikonas 5447297f06 Bump version number to 1.1.0 2014-07-06 14:18:44 +01:00
Andrius Štikonas 9026bebc2d Fix build with udisks1. 2014-07-02 14:29:50 +01:00
Andrius Štikonas e469561b6f Merge branch 'master' into frameworks
Conflicts:
	src/fs/btrfs.cpp
	src/plugins/dummy/dummybackend.cpp
	src/plugins/libparted/libpartedbackend.cpp
	src/util/helpers.cpp
2014-07-02 14:27:04 +01:00