Commit Graph

27 Commits

Author SHA1 Message Date
Laurent Montel
5c1bd9571b const'ify
svn path=/trunk/KDE/kdelibs/; revision=992157
2009-07-06 11:37:02 +00:00
Ryan P. Bitanga
9b6304fcde Add adaptive search for KRunner
svn path=/trunk/KDE/kdelibs/; revision=967705
2009-05-13 19:18:30 +00:00
Jacopo De Simoi
13dd4280f7 Finally constify isValid() [BIC]
svn path=/trunk/KDE/kdelibs/; revision=963116
2009-05-03 23:13:52 +00:00
Jacopo De Simoi
7e598b49ec Invalidate the context using a dummy pointer instead of 0. This avoids emitting to a null pointer.
BUG: 188940

svn path=/trunk/KDE/kdelibs/; revision=957813
2009-04-22 22:50:20 +00:00
Laurent Montel
72e29219f2 use ref
svn path=/trunk/KDE/kdelibs/; revision=941649
2009-03-20 08:25:20 +00:00
Aaron J. Seigo
546895b775 time to introduce the ability for runners to decide if they care to that they should return early
svn path=/trunk/KDE/kdelibs/; revision=934729
2009-03-03 17:27:28 +00:00
Aaron J. Seigo
89e8786c5d SVN_SILENT: some minor clean ups here and there
svn path=/trunk/KDE/kdelibs/; revision=934712
2009-03-03 16:44:35 +00:00
Jacopo De Simoi
235f81fa36 Added a stale flag to searchJobs; less pollution from old queries; fixed a misplaced brace in previous commit that made krunner unable to run any command :(
svn path=/trunk/KDE/kdelibs/; revision=934467
2009-03-03 08:02:13 +00:00
Aaron J. Seigo
a9ea89d812 case insensitive matching patch couresty of Diaa Sami
svn path=/trunk/KDE/kdelibs/; revision=917754
2009-01-28 14:09:36 +00:00
Aaron J. Seigo
2a8e07ba42 use value/contains better.
svn path=/trunk/KDE/kdelibs/; revision=895573
2008-12-11 02:52:06 +00:00
Aaron J. Seigo
fda8cf20d7 take the space location from the cleaned up path, not the original term
BUG:154395

svn path=/trunk/KDE/kdelibs/; revision=895431
2008-12-10 18:15:47 +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
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
Marijn Kruisselbrink
21b148b963 change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Jakub Stachowski
795129a4ad If path is a symlink then examine its target.
BUG: 163738

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=819655
2008-06-11 17:26:36 +00:00
Aaron J. Seigo
39230257f7 don't misidentify local files and network locations
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=818917
2008-06-10 01:08:33 +00:00
Thiago Macieira
3d0ddada81 Accept URLs that have no hostname (such as smb:/ and zeroconf:/) as
type NetworkLocation too.

This makes it possible to type zeroconf:/ in krunner and load the
associated program (Dolphin in my case), just like in KDE 3.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=812822
2008-05-26 13:21:06 +00:00
Aaron J. Seigo
a3d432d16d fix deadlock
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=809963
2008-05-19 19:58:06 +00:00
Aaron J. Seigo
2ec2a2b346 allow finding and running matches by id
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=806697
2008-05-12 04:53:42 +00:00
Aaron J. Seigo
6019dc7b27 huge patch, but it's needed to avoid crashes and i can't wait on other people's pending work forever. so...
QueryMatch by value! shared dptr == no copy of data either! so (nearly) all the speed love of pointers with none of the crash hate. woo!

RunnerContext also by value! die pointers die!

also get rid of tons of locking that just doesn't make sense anymore; get rid of data priority enum as well since it's completely meaningless.

speed, glory, stability! ftw!

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=805661
2008-05-09 03:49:11 +00:00
Aaron J. Seigo
f3188fb672 SearchMatch -> QueryMatch
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803385
2008-05-02 18:46:05 +00:00
Aaron J. Seigo
a8647e4ecc SearchTerm -> Query
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803374
2008-05-02 18:17:09 +00:00
Aaron J. Seigo
916938efae fix unlock mismatch due to detach happening
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803147
2008-05-02 05:31:24 +00:00
Aaron J. Seigo
f3e1fd618f * actually delete the matches on removeAllMatches
* use macros for the locking exercises

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803058
2008-05-01 19:43:22 +00:00
Aaron J. Seigo
f55bbb73f9 SearchContext -> RunnerContext
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=803041
2008-05-01 18:40:10 +00:00