Commit Graph

104 Commits

Author SHA1 Message Date
Aaron Seigo
0633f2fd28 isPublished no longer required 2011-07-13 20:07:33 +02:00
Aaron Seigo
2f1c50c419 remove unpublish 2011-07-13 20:06:09 +02:00
Aaron Seigo
0fa24619d4 remove publish functionality 2011-07-13 20:05:07 +02:00
Aaron Seigo
97682614dd these list methods, while theoretically useful, were not actually used. out they go.
if we ever need something like this, it should be provided by the plugin itself so
as to be plugin neutral.
2011-07-13 18:04:29 +02:00
Aaron Seigo
b4dbbbb7d0 get rid of the convenience method; not used 2011-07-08 20:08:06 +02:00
Aaron Seigo
755a1f2ba6 more accurate (c) 2011-07-08 19:36:29 +02:00
Aaron Seigo
273b09d3db use KPluginInfo instead of PackageMetadata 2011-05-31 01:02:45 +02:00
Aaron Seigo
cd32321b68 Merge branch 'libplasma2_signedpackages' into libplasma2
Conflicts:
	plasma/package.cpp
2011-05-30 23:41:53 +02:00
Aaron Seigo
840ae26b2d use QCryptographicHash instead of QCA 2011-05-27 12:26:59 +02:00
Aaron Seigo
3b6a49b5bd need to init qca 2011-05-26 16:02:01 +02:00
Aaron Seigo
89c7e9b726 remove createPackage as well; it's a bit impl-specific and isn't used anywhere 2011-05-20 10:48:29 +02:00
Aaron Seigo
0c847e15f0 remove registerPackage; the impl is broken (assume a plasmoid) and isn't used 2011-05-20 10:45:22 +02:00
Aaron Seigo
bd2cb96e55 move install/uninstallPackage implementaton into PackageStructure 2011-05-20 10:43:40 +02:00
Aaron Seigo
9cdbf422ff consolidate remoting files, add signing gsoc 2011-04-29 15:18:35 +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