Commit Graph

94 Commits

Author SHA1 Message Date
Marco Martin
d09397673e correctly concatenate the path.
package is valid again (and passes plasmoidpackagetest)
2011-08-31 12:53:09 +02:00
Marco Martin
37ac5105ab fix resolution of paths w/ only a packageRoot+name 2011-08-31 12:53:09 +02:00
Marco Martin
7e50fe0f40 a new PackageStructure type: GenericComponent
this component will be used for loading generic repositories of files,
usually will be repositories of QML files
2011-08-31 12:53:09 +02:00
Aaron Seigo
2caa24b1b8 need to init qca 2011-05-26 16:03:38 +02:00
Aaron J. Seigo
65d5227bec fix and extend debug output
svn path=/trunk/KDE/kdelibs/; revision=1206642
2010-12-15 07:13:20 +00:00
Aaron J. Seigo
b6edd5beca treat no prefixes as the same as one prefix starting at the package root. probably not a bottleneck, but the duplicated code indicates that this may be better placed in PackageStructure in future. this is the path (excuse the pun :) of least change, however.
svn path=/trunk/KDE/kdelibs/; revision=1206637
2010-12-15 06:29:36 +00:00
Marco Martin
1e78bff90a remove double slashes
svn path=/trunk/KDE/kdelibs/; revision=1193160
2010-11-04 21:54:14 +00:00
Marco Martin
3cc339a852 use PLASMA_CUSTOM_PREFIX_PATHS environmant variable as optional custom fallback chain for plasmoidpackage (should it be for -all- packages?)
svn path=/trunk/KDE/kdelibs/; revision=1193156
2010-11-04 21:16:12 +00:00
Marco Martin
5e9d88496a FEATURE: fallback paths for the contents prefixes as well.
this is basically a merge of http://reviewboard.kde.org/r/5765/ with http://svn.reviewboard.kde.org/r/5763

svn path=/trunk/KDE/kdelibs/; revision=1193135
2010-11-04 19:18:32 +00:00
Aaron J. Seigo
95a18aca96 use search paths; unit tests still pass. RB #5763. opens the way for device specific files, for instance, so a plasmoid will be able to have different qml files for different targets (where that makes sense).
svn path=/trunk/KDE/kdelibs/; revision=1192748
2010-11-03 22:12:30 +00:00
Kevin Ottens
83fba085c0 Should be enough to repair the package install/uninstall in the mobile
case.

svn path=/trunk/KDE/kdelibs/; revision=1185886
2010-10-14 13:23:56 +00:00
Aaron J. Seigo
900023b40e build; constify a bit
svn path=/trunk/KDE/kdelibs/; revision=1185872
2010-10-14 12:56:18 +00:00
Kevin Ottens
c0f66faad7 Allow to build libplasma without KIO. Only issue is that the
copying/moving/removal of folders is defunct (so is the package
install/uninstall).

svn path=/trunk/KDE/kdelibs/; revision=1185865
2010-10-14 12:27:15 +00:00
Aaron J. Seigo
3383a999c8 a little less noise
svn path=/trunk/KDE/kdelibs/; revision=1171719
2010-09-04 22:50:50 +00:00
Aaron J. Seigo
4d81dce65e make package copyable and assignable
svn path=/trunk/KDE/kdelibs/; revision=1171413
2010-09-03 19:44:28 +00:00
Aaron J. Seigo
eb6c5443e9 keep going even if the .desktop file wasn't there; allows package removl to work even after botched installation
svn path=/trunk/KDE/kdelibs/; revision=1161151
2010-08-09 20:39:34 +00:00
Aaron J. Seigo
5505c4a7b0 allow arbitrary in-package paths with empty filetypes
svn path=/trunk/KDE/kdelibs/; revision=1100981
2010-03-09 05:57:57 +00:00
Anne-Marie Mahfouf
e56a637bbf support .tar.bz2 plasma theme packages as there are many of them
svn path=/trunk/KDE/kdelibs/; revision=1077451
2010-01-20 09:47:28 +00:00
Laurent Montel
a03e56aa19 Fix mem leak
svn path=/trunk/KDE/kdelibs/; revision=1058199
2009-12-04 08:31:53 +00:00
Aaron J. Seigo
65eda15e5d private headers
svn path=/trunk/KDE/kdelibs/; revision=1053920
2009-11-25 01:09:17 +00:00
Artur Duque de Souza
631f1052b1 Fix name issue with scripted plasmoids
Due to some problems reading from KWallet, just get the
name of the machine. Suggested by pinda to solve problem
with JS plasmoids being shared without machine names.

Reviewed by pinda

svn path=/trunk/KDE/kdelibs/; revision=1037774
2009-10-19 23:04:42 +00:00
Aaron J. Seigo
277eaeebe0 inverted logic
svn path=/trunk/KDE/kdelibs/; revision=1035748
2009-10-15 19:34:34 +00:00
Aaron J. Seigo
d73831e8f0 * hash() -> contentsHash()
* add the metadata file to the hash as well
* update test

svn path=/trunk/KDE/kdelibs/; revision=1026497
2009-09-21 21:48:19 +00:00
Aaron J. Seigo
19f55f804b packages can now generate a hash of their contents; inc unit test
svn path=/trunk/KDE/kdelibs/; revision=1026489
2009-09-21 21:37:44 +00:00
Rob Scheepmaker
9cb9cfe65e Push in remote widgets
svn path=/trunk/KDE/kdelibs/; revision=1018655
2009-09-02 02:27:16 +00:00
Aaron J. Seigo
0cdd7388b4 * make it possibl to install packages without registering them as a service
* support tar and compressed tar as well as zip
* support archives that contain the actual package in a top level subdir

themes and wallpapers now install nicely.

svn path=/trunk/KDE/kdelibs/; revision=1002165
2009-07-25 09:34:19 +00:00
Alex Merry
f5c6a90996 An error here with no warning tripped me up, so notify the user if it failed.
svn path=/trunk/KDE/kdelibs/; revision=969044
2009-05-17 12:16:52 +00:00
Aaron J. Seigo
1a892f1c41 allow setting the path
svn path=/trunk/KDE/kdelibs/; revision=967227
2009-05-12 23:05:40 +00:00
Aaron J. Seigo
55feec87c0 move the entryList and path setting logic into PackageStructure so that packages can have a bit more control over their life
svn path=/trunk/KDE/kdelibs/; revision=950408
2009-04-07 05:42:30 +00:00
Aaron J. Seigo
be9dc1758a hm, just found out that \w includes _
svn path=/trunk/KDE/kdelibs/; revision=940553
2009-03-17 16:43:21 +00:00
Aaron J. Seigo
e74e51a285 underscore is ok
svn path=/trunk/KDE/kdelibs/; revision=940245
2009-03-16 23:46:54 +00:00
Aaron J. Seigo
023ae75d69 allow package structures to say that external paths are ok. defaults to false, though some packagestructures that do not have executable code capabilities (e.g. wallpaper image sets) may wish to take advantage of this
CCBUG:180716

svn path=/trunk/KDE/kdelibs/; revision=911736
2009-01-16 01:02:35 +00:00
Aaron J. Seigo
0655ae2e03 slightly more useful debug output
svn path=/trunk/KDE/kdelibs/; revision=910609
2009-01-13 19:49:36 +00:00
Aaron J. Seigo
8dd6e79e56 * make it possible to get a list of installed packages by path rather than package name
* allow the basePath to be a symlink

svn path=/trunk/KDE/kdelibs/; revision=906191
2009-01-05 18:49:54 +00:00
Aaron J. Seigo
1cbfb3e399 one more step towards building!
svn path=/trunk/KDE/kdelibs/; revision=879797
2008-11-04 02:20:46 +00:00
Aaron J. Seigo
4b08c03726 change KDE includes to use the .h style now that we're in libs
svn path=/trunk/KDE/kdelibs/; revision=879795
2008-11-04 02:04:34 +00:00
Aaron J. Seigo
1b523b9054 ok, this time JUST the plasma dir ;)
svn path=/trunk/KDE/kdelibs/; revision=879759
2008-11-03 23:08:39 +00:00
Aaron J. Seigo
fa5a2d87d9 bum-de-dum! plasma to kdelibs.
svn path=/trunk/KDE/kdelibs/; revision=879757
2008-11-03 23:03:26 +00:00
Petri Damstén
78b0fc5ce5 Only add slash if basePath is a directory.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879394
2008-11-03 08:06:49 +00:00
Petri Damstén
870e710307 Support for metadata in PackageStructure.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=879173
2008-11-02 15:28:59 +00:00
Aaron J. Seigo
1aa252d612 package metadat by reference, not pointer, for API clarity and health
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=878840
2008-11-01 22:01:31 +00:00
Allen Winter
214ac5f91f clean up some kDebugs and kWarnings.
shorten some extra long lines.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870290
2008-10-12 10:20:02 +00:00
Allen Winter
a7aebfa60a a bunch more coding style fixes. still some lines longer than 100 chars.
this is definitely helping me find false positives in the Krazy style checker.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=870161
2008-10-11 22:48:38 +00:00
Petri Damstén
fdfdb97adb Add support for defaultPackageRoot and servicePrefix to package handling.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=865083
2008-09-26 15:43:32 +00:00
Petri Damstén
7fefa21903 return valid path also for package root.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=861218
2008-09-15 13:35:17 +00:00
Petri Damstén
b4818c5cac Fix icon path in services (not in plasmoid dir)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=860298
2008-09-12 15:15:38 +00:00
Aaron J. Seigo
35f8bbcc64 be careful with relative paths and symlinks in packages and themes; we don't want widgets referencing random files/resources, just stuff in the given package
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=848476
2008-08-17 20:52:37 +00:00
Richard J. Moore
014c81a040 - Validate the plugin name of the package at install time to prevent the
injection of bad characters into the path when the package is removed.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846853
2008-08-14 09:03:24 +00:00
Richard J. Moore
c8f517206a Add support for removing packages
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=846532
2008-08-13 16:40:31 +00:00
Sebastian Sauer
4b0afa6fa7 fix crash cause of a rather interesting design-decision in KConfig;
configgroup = KDesktopFile().desktopGroup()
means that configgroup has now a dangling pointer to it's master :-/

CC_MAIL:panel-devel@kde.org


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=831832
2008-07-13 12:06:53 +00:00