D5870: Match subsequences in application runner

2017-05-28 Thread Albert Astals Cid
This revision was automatically updated to reflect the committed changes. Closed by commit R120:ea59c63a815a: Match subsequences in application runner (authored by rthomas, committed by aacid). REPOSITORY R120 Plasma Workspace CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D5870?vs=14

D5870: Match subsequences in application runner

2017-05-27 Thread Ronnie Thomas
rthomas added a comment. @aacid : I have assigned the Plasma-Workspace repo to this revision. Please commit this patch on my behalf. I think I'll hold on for a while before applying for commit access. REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D5870 To

D5870: Match subsequences in application runner

2017-05-27 Thread Ronnie Thomas
rthomas set the repository for this revision to R120 Plasma Workspace. REPOSITORY R120 Plasma Workspace REVISION DETAIL https://phabricator.kde.org/D5870 To: rthomas, #plasma, davidedmundson Cc: aacid, davidedmundson, apol, plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed,

D5870: Match subsequences in application runner

2017-05-27 Thread Albert Astals Cid
aacid added a comment. This has no repo assigned, so i was going to commit it but could not. You can apply for a developer account if you think you need it at https://community.kde.org/Infrastructure/Get_a_Developer_Account REVISION DETAIL https://phabricator.kde.org/D5870 To: rthomas

D5870: Match subsequences in application runner

2017-05-25 Thread Ronnie Thomas
rthomas added a comment. No, I don't have commit access yet. Can I apply for a developer account now? I haven't done so until now. REVISION DETAIL https://phabricator.kde.org/D5870 To: rthomas, #plasma, davidedmundson Cc: davidedmundson, apol, plasma-devel, ZrenBot, spstarr, progwolff, le

D5870: Match subsequences in application runner

2017-05-24 Thread David Edmundson
davidedmundson added a comment. Do you have commit access? REVISION DETAIL https://phabricator.kde.org/D5870 To: rthomas, #plasma, davidedmundson Cc: davidedmundson, apol, plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, mart, lukas

D5870: Match subsequences in application runner

2017-05-21 Thread David Edmundson
davidedmundson accepted this revision. This revision is now accepted and ready to land. REVISION DETAIL https://phabricator.kde.org/D5870 To: rthomas, #plasma, davidedmundson Cc: davidedmundson, apol, plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, s

D5870: Match subsequences in application runner

2017-05-20 Thread Ronnie Thomas
rthomas added a comment. Uh.. ping? REVISION DETAIL https://phabricator.kde.org/D5870 To: rthomas, #plasma Cc: davidedmundson, apol, plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, lukas

D5870: Match subsequences in application runner

2017-05-16 Thread Ronnie Thomas
rthomas marked 3 inline comments as done. REVISION DETAIL https://phabricator.kde.org/D5870 To: rthomas, #plasma Cc: davidedmundson, apol, plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, lukas

D5870: Match subsequences in application runner

2017-05-16 Thread Ronnie Thomas
rthomas updated this revision to Diff 14603. rthomas added a comment. - Splitting the query using splitRef() instead of split() - Using QLatin1Char(' ') as the separator to split the query CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D5870?vs=14559&id=14603 REVISION DETAIL http

D5870: Match subsequences in application runner

2017-05-16 Thread David Edmundson
davidedmundson added inline comments. INLINE COMMENTS > rthomas wrote in servicerunner.cpp:203 > Could you explain why would we want to use splitRef instead of split? I'm not > sure I understand the need for it. split copies the strings. splitRef creates references to a location within an exits

D5870: Match subsequences in application runner

2017-05-16 Thread Ronnie Thomas
rthomas added inline comments. INLINE COMMENTS > apol wrote in servicerunner.cpp:101 > use a foreach I'm skipping the first string in strList because that string has already been accounted for relavace right before the call to increaseMatchRelavance. Relevance is incremented by 0.01 only based

D5870: Match subsequences in application runner

2017-05-15 Thread Aleix Pol Gonzalez
apol added a comment. +1 INLINE COMMENTS > servicerunner.cpp:101 > + > +for(int i=1; i +{ use a foreach > servicerunner.cpp:203 > +//Splitting the query term to match using subsequences > +QStringList queryList = term.split(" "); > + `splitRef(QLatin1Char('

D5870: Match subsequences in application runner

2017-05-15 Thread Ronnie Thomas
rthomas created this revision. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel. REVISION SUMMARY Match applications in krunner using subsequences instead of substrings. This allows matching applications using parts of its name, instead of