Commit Graph

6844 Commits

Author SHA1 Message Date
Aaron Seigo
2caa24b1b8 need to init qca 2011-05-26 16:03:38 +02:00
Aaron Seigo
73758abf97 start of package verification 2011-05-26 16:02:56 +02:00
Aaron Seigo
3b6a49b5bd need to init qca 2011-05-26 16:02:01 +02:00
Aaron Seigo
aeadba3adf add a test for an invalid signature 2011-05-26 15:49:01 +02:00
Aaron Seigo
8e9a38659e unit testing for Plasma::Signing 2011-05-26 15:13:15 +02:00
Aaron Seigo
7c095ebd31 used detached sigs; at least this way gpgme++ is giving me fingerprints on success 2011-05-26 15:12:56 +02:00
Aaron Seigo
5f0face742 fix localality check, improve debug output 2011-05-26 14:32:32 +02:00
Aaron Seigo
670f73702a minor scrubs 2011-05-26 14:04:12 +02:00
Aaron Seigo
e7d40b158e make signerOf sensible
* close opened file handles
* don't create QFile objects that are never used
* check for locality as it must with the current implementation be local files we're checking
* get rid of the unhelpful Private class method and merge it into the main class method
* don't append .asc to the packagePath accidentally when making the sig path
2011-05-26 13:37:44 +02:00
Aaron Seigo
223622f786 remove keyring manager like methods which don't stay in scope for purpuose of this class. 2011-05-26 13:19:41 +02:00
Aaron Seigo
155b5bd879 variety of functionality, performance and style fixes
it was like pulling on a thread in a sweater: the changes just kept rolling
into each other...

* don't load all the keys at start, just cache them as they are requested
* use GpgContext::key to get the key for us rather than looping through all keys
* fix SignedBy so it doesn't say a key is signed by every other key(!)
* FullTrus*t*ed
2011-05-24 14:10:59 +02:00
Aaron Seigo
35b714cd31 fix typo 2011-05-24 13:56:37 +02:00
Aaron Seigo
304f6f4344 slightly more readable 2011-05-24 13:24:08 +02:00
Aaron Seigo
1eeceda235 more clarity changes and removal of extraneous implementation detail info 2011-05-24 13:24:08 +02:00
Aaron Seigo
b79d23aea1 avoid lots of uselessness 2011-05-24 13:24:08 +02:00
Aaron Seigo
283cea6f7a fix signature 2011-05-24 13:24:08 +02:00
Aaron Seigo
787ff64871 more style fixes 2011-05-24 13:24:08 +02:00
Aaron Seigo
bb4ecbfb5f use sets instead of lists since we're mostly doing contains() 2011-05-24 13:24:07 +02:00
Aaron Seigo
e0a6591371 this isn't plasmoid specific in the least 2011-05-24 13:24:07 +02:00
Aaron Seigo
a21b5a8844 simple style fixes 2011-05-24 13:24:07 +02:00
Aaron Seigo
fc754ec380 no point in having two KDirWatches when we can have one
also fix the signatures of the slots in the private class
2011-05-24 13:24:07 +02:00
Aaron Seigo
9f4124973f don't output so much useless garbage 2011-05-24 13:24:07 +02:00
Aaron Seigo
fb4453a55f only use the install path for ultimate key storage
this should not be writable by the user, but is readable. safer than
picking the first dir that matches ... which would usually be in the
user's own dir. *facepalm*
2011-05-24 13:24:07 +02:00
Aaron Seigo
5496456af4 better name for the method that imports ulimately trusted keys 2011-05-24 13:24:07 +02:00
Aaron Seigo
4766f0e63e get rid of a memory leak and an unused/unuseful method in the private class 2011-05-24 13:24:07 +02:00
Aaron Seigo
5a9373ae0d cleanups 2011-05-24 13:23:39 +02:00
Script Kiddy
7417ab8acb SVN_SILENT made messages (.desktop file) 2011-05-24 11:18:16 +02:00
Nicolas Lécureuil
2970dd2317 Add check on corona to avoid crash
CCBUG: 264844
2011-05-22 22:33:06 +02:00
Marco Martin
e20c152d4d be less noisy, downgrade two kWarning to kDebug 2011-05-22 19:26:38 +02:00
Marco Martin
2710ba75df more hints that can be prefix-specific
hint-tile-center, hint-stretch-borders and hint-no-border-padding now support prefixes too (of course being retrocompatible)
2011-05-22 19:23:48 +02:00
Marco Martin
a916f9c7ed fix hint-compose-over-border for different prefix
BUGFIX: everywhere else masks are called "mask-" % prefix % "center", do so here too
2011-05-22 18:03:12 +02:00
Marco Martin
7e88d41ebe bind BackgroundHints for use in declarative containments 2011-05-21 17:47:30 +02:00
Frank Reininghaus
a85aa04ffd Fix storing binary data in StorageThread::save()
This makes the unit test plasma/tests/storagetest pass again :-)
2011-05-21 14:38:08 +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
953cce2c7c remove Context class 2011-05-20 09:41:48 +02:00
Aaron Seigo
e73f4bf9f2 hush the compiler 2011-05-20 09:41:38 +02:00
Aaron Seigo
5717088b57 remove references to Context classes, activity stored by id 2011-05-20 09:41:19 +02:00
Aaron Seigo
3ed8a6fad2 remove ContextConstraint 2011-05-20 09:36:34 +02:00
Aaron Seigo
0043de0ae9 remove references to Context 2011-05-20 09:21:36 +02:00
Aaron Seigo
f6bbda4258 the methods are now virtual, call directly 2011-05-20 09:01:36 +02:00
Aaron Seigo
983bacb8b7 pass by reference instead of a pointer 2011-05-20 09:01:12 +02:00
Aaron Seigo
48fa4d1db7 virtuals! 2011-05-20 08:57:33 +02:00
Aaron Seigo
d7e13e62ae remove geometryChanged, it's in QGraphicsWidget these days 2011-05-20 08:53:53 +02:00
Aaron Seigo
b9d4f2f042 merge findInCache methods 2011-05-20 08:23:43 +02:00
Aaron Seigo
a4af5cfa02 Merge remote-tracking branch 'origin/master' into libplasma2 2011-05-20 08:17:19 +02:00
Aaron Seigo
a225402b9e make setImagePath virtual 2011-05-20 08:16:01 +02:00
Aaron Seigo
9da79a0840 only emit repaintNeeded if there was actually a change 2011-05-20 08:13:24 +02:00
Aaron Seigo
7f4bd841e2 make graphicsWidget const 2011-05-20 08:10:39 +02:00