D26557: Allow to handle apps with Terminal=True in their desktop file, handle their associated mimetype properly

2020-01-14 Thread Méven Car
This revision was automatically updated to reflect the committed changes. Closed by commit R241:76470c116640: Allow to handle apps with Terminal=True in their desktop file, handle their… (authored by meven). REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE

D26557: Allow to handle apps with Terminal=True in their desktop file, handle their associated mimetype properly

2020-01-14 Thread Méven Car
meven added a comment. > OK, scheme-handler replaces most of these uses. I think we should just deprecate "helper protocols" (which either hardcode an exec line or abuse mimetypes) and move it all to the scheme-handler mechanism. I completely agree, we have a standardized way to handle

D26557: Allow to handle apps with Terminal=True in their desktop file, handle their associated mimetype properly

2020-01-14 Thread Méven Car
meven marked an inline comment as done. REPOSITORY R241 KIO BRANCH arcpatch-D26557 REVISION DETAIL https://phabricator.kde.org/D26557 To: meven, ervin, ngraham, #frameworks, dfaure Cc: dfaure, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D26557: Allow to handle apps with Terminal=True in their desktop file, handle their associated mimetype properly

2020-01-14 Thread Méven Car
meven updated this revision to Diff 73490. meven added a comment. Remove uncorrect comment REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26557?vs=73449=73490 BRANCH arcpatch-D26557 REVISION DETAIL https://phabricator.kde.org/D26557 AFFECTED FILES

D26557: Allow to handle apps with Terminal=True in their desktop file, handle their associated mimetype properly

2020-01-13 Thread David Faure
dfaure accepted this revision. dfaure added inline comments. This revision is now accepted and ready to land. INLINE COMMENTS > meven wrote in desktopexecparser.cpp:213 > > Can you call mimeTypes() instead of serviceTypes() here? I'm trying to > > slowly split the two notions, after it all got

D26557: Allow to handle apps with Terminal=True in their desktop file, handle their associated mimetype properly

2020-01-13 Thread Méven Car
meven updated this revision to Diff 73449. meven marked 7 inline comments as done. meven added a comment. Address review REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26557?vs=73182=73449 BRANCH arcpatch-D26557 REVISION DETAIL

D26557: Allow to handle apps with Terminal=True in their desktop file, handle their associated mimetype properly

2020-01-12 Thread Méven Car
meven added inline comments. INLINE COMMENTS > dfaure wrote in desktopexecparser.cpp:213 > Move result of method call into local const variable. The usual > range-for-detaches problem. > > Can you call mimeTypes() instead of serviceTypes() here? I'm trying to slowly > split the two notions,

D26557: Allow to handle apps with Terminal=True in their desktop file, handle their associated mimetype properly

2020-01-12 Thread David Faure
dfaure requested changes to this revision. dfaure added a comment. This revision now requires changes to proceed. Please add me as reviewer when touching my code in KIO. I almost didn't notice this one. INLINE COMMENTS > desktopexecparser.cpp:213 > +// add x-scheme-handler/ > +for

D26557: Allow to handle apps with Terminal=True in their desktop file, handle their associated mimetype properly

2020-01-10 Thread Méven Car
meven updated this revision to Diff 73182. meven added a comment. Clean up REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26557?vs=73181=73182 BRANCH master REVISION DETAIL https://phabricator.kde.org/D26557 AFFECTED FILES

D26557: Allow to handle apps with Terminal=True in their desktop file, handle their associated mimetype properly

2020-01-10 Thread Méven Car
meven updated this revision to Diff 73181. meven added a comment. Fix REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D26557?vs=73179=73181 BRANCH master REVISION DETAIL https://phabricator.kde.org/D26557 AFFECTED FILES src/core/desktopexecparser.cpp

D26557: Allow to handle apps with Terminal=True in their desktop file, handle their associated mimetype properly

2020-01-10 Thread Méven Car
meven planned changes to this revision. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D26557 To: meven, ervin, ngraham, #frameworks Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns

D26557: Allow to handle apps with Terminal=True in their desktop file, handle their associated mimetype properly

2020-01-10 Thread Méven Car
meven created this revision. meven added reviewers: ervin, ngraham, Frameworks. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. meven requested review of this revision. REVISION SUMMARY The Terminal field in .desktop file was not taken into account as the

D26557: Allow to handle apps with Terminal=True in their desktop file, handle their associated mimetype properly

2020-01-10 Thread Méven Car
meven edited the test plan for this revision. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D26557 To: meven, ervin, ngraham, #frameworks Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns