Sebastian Kügler
249c1e1c93
Less warnings at runtime
...
It's quite common to try loading a package in order to check if it's
valid. No need to litter the console with that.
2014-05-23 18:41:50 +02:00
Kevin Ottens
72ba7b4146
Apply the astyle-kdelibs script
2014-04-26 01:48:37 +02:00
Sebastian Kügler
1bfbee809e
const-ref in foreach, clean up debugging
2014-02-04 02:18:28 +01:00
Sebastian Kügler
9e491920e5
Only search for metadata.desktop when necessary
2014-02-02 02:25:08 +01:00
Sebastian Kügler
fa7ae03867
Catch packages zipped into subdirectory
...
This is a pretty common thing, as most zipping tools put the contents
into a subdirectory by default.
Fixes theme package installation.
2014-02-02 02:18:54 +01:00
Aleix Pol
6c82a1ee86
Reduce compiler warnings
...
Remove unused and deprecated headers
Port some K_GLOBAL_STATIC to Q_GLOBAL_STATIC
2013-12-09 16:50:18 +01:00
Marco Martin
d7aa34cc6c
implement uninstall()
2013-10-22 11:20:42 +02:00
Sebastian Kügler
8915fd4004
Show package path in warning
2013-09-03 03:25:24 +02:00
Sebastian Kügler
bcbfea3576
Less debug
2013-08-27 04:27:48 +02:00
Kevin Ottens
0e590217f8
Port away from kdebug
2013-07-30 08:05:09 +02:00
Sebastian Kügler
a426264037
fix package root for wallpapers, makes it find the metadata, add debug
2013-04-26 23:48:50 +02:00
Marco Martin
53c161fb58
packages without structure are invalid
2013-03-05 14:23:52 +01:00
Sebastian Kügler
90b022435a
Make validation of zipped packages possible
...
- move the unpack block into its own function
- unzip if necessary, and point validator and metadata loader at this
function
- manually delete the tempdir, to keep it as long as the Package is
alive
This patch makes it possible to upgrade packages from .plasmoid files.
2013-02-27 06:46:28 +01:00
Sebastian Kügler
c8202da160
update sycoca after uninstalling, debug--
2013-02-27 03:36:53 +01:00
Aaron Seigo
dcc4c58bf7
keep the trailing slash as long as the package is a dir
...
also, use chop :)
2013-02-18 12:22:35 +01:00
Sebastian Kügler
bbf7e910ec
Fix loading plugininfo from file
...
Remove trailing slash from the path as it might point to a file, in
which case the file info lookup will fail.
2013-02-18 04:08:00 +01:00
Aaron Seigo
aea5627ef4
fix packagestructure test
2013-02-15 15:16:54 +01:00
Sebastian Kügler
7dfe957e66
The Big Move
...
All cpp code moves into the src/ subdirectory, as the Frameworks policy
suggests.
Directory structure should now be in line with other, future frameworks.
2013-02-14 17:17:12 +01:00