Re: KMarkdownWebView (kpart) in KDE Review

2017-08-22 Thread Friedrich W. H. Kossebau
Am Dienstag, 22. August 2017, 23:38:06 CEST schrieb Friedrich W. H. Kossebau:
> Am Dienstag, 22. August 2017, 22:41:28 CEST schrieb Albert Astals Cid:
> > You don't have a Messages.sh
> 
> Thanks for taking a look, though... there is one, in src/:
> https://cgit.kde.org/kmarkdownwebview.git/tree/src/Message.sh

Seems I am blind to some trailing "s" :) My bad, fixed.

Cheers
Friedrich




Re: KMarkdownWebView (kpart) in KDE Review

2017-08-22 Thread Friedrich W. H. Kossebau
Am Dienstag, 22. August 2017, 23:09:18 CEST schrieb Allen Winter:
> One Krazy issue about making an explicit ctor, see
> http://ebn.kde.org/krazy/reports/kdereview/kmarkdownwebview/src/index.html

Fixed.

> I ran clazy too and it found no issues.

Happy to read. Thanks for having had a look, Allen :)

Cheers
Friedrich




Re: KMarkdownWebView (kpart) in KDE Review

2017-08-22 Thread Friedrich W. H. Kossebau
Am Dienstag, 22. August 2017, 22:41:28 CEST schrieb Albert Astals Cid:
> You don't have a Messages.sh

Thanks for taking a look, though... there is one, in src/:
https://cgit.kde.org/kmarkdownwebview.git/tree/src/Message.sh

Placement missing to follow some pattern?

For completeness I just pushed added extraction from rc file, though the 
current one has no strings. But a wrong domain still, and will not hurt to be 
prepared for possibly future additions there.

Cheers
Friedrich




Re: KMarkdownWebView (kpart) in KDE Review

2017-08-22 Thread Allen Winter
One Krazy issue about making an explicit ctor, see
http://ebn.kde.org/krazy/reports/kdereview/kmarkdownwebview/src/index.html

I ran clazy too and it found no issues.

On Monday, August 21, 2017 6:18:19 PM EDT Friedrich W. H. Kossebau wrote:
> Hi,
> 
> KMarkdownWebView today entered KDE Review. This repo contains a kpart for 
> rendered display of Markdown files, using web technologies (webpage with 
> JavaScript library which creates HTML from the plaintext handed in).
> 
> I consider it rather a hack and would favour something done natively in Qt 
> (e.g. like the Markdown Okular generator in https://phabricator.kde.org/
> D7382). But for now it serves the use-case of providing a webpage-like 
> rendered display of markdown documents. Especially for the live preview 
> plugin for Kate & KDevelop currently worked on*.
> 
> * https://frinring.wordpress.com/2017/08/21/look-what-you-have-donewwdo
> 
> See also https://cgit.kde.org/kmarkdownwebview.git/about/
> 
> The separate library libKMarkdownWebView is done for sharing code with a 
> thumbnailer plugin, whose code yet is to be committed to this repo, as it 
> resists to work right now.
> 
> Initial build on CI looks good:
> https://build.kde.org/job/Extragear%20kmarkdownwebview%20kf5-qt5%20SUSEQt5.9/
> https://build.kde.org/job/Extragear%20kmarkdownwebview%20kf5-qt5%20FreeBSDQt5.7/
> 
> And people on #kde-devel & #kdevelop also reported successful builds and 
> usage.
> 
> 
> Target would be extragear/$SOMETHING, with $SOMETHING possibly "utils".
> 
> Initial release planned right after leaving kdereview.
> 
> Question: is there any appstream metadata possible for plugins?
> 
> Cheers
> Friedrich
> 







Re: KMarkdownWebView (kpart) in KDE Review

2017-08-22 Thread Albert Astals Cid
El dimarts, 22 d’agost de 2017, a les 0:18:19 CEST, Friedrich W. H. Kossebau 
va escriure:
> Hi,
> 
> KMarkdownWebView today entered KDE Review. This repo contains a kpart for
> rendered display of Markdown files, using web technologies (webpage with
> JavaScript library which creates HTML from the plaintext handed in).
> 
> I consider it rather a hack and would favour something done natively in Qt
> (e.g. like the Markdown Okular generator in https://phabricator.kde.org/
> D7382). But for now it serves the use-case of providing a webpage-like
> rendered display of markdown documents. Especially for the live preview
> plugin for Kate & KDevelop currently worked on*.
> 
> * https://frinring.wordpress.com/2017/08/21/look-what-you-have-donewwdo
> 
> See also https://cgit.kde.org/kmarkdownwebview.git/about/
> 
> The separate library libKMarkdownWebView is done for sharing code with a
> thumbnailer plugin, whose code yet is to be committed to this repo, as it
> resists to work right now.
> 
> Initial build on CI looks good:
> https://build.kde.org/job/Extragear%20kmarkdownwebview%20kf5-qt5%20SUSEQt5.9
> /
> https://build.kde.org/job/Extragear%20kmarkdownwebview%20kf5-qt5%20FreeBSDQ
> t5.7/
> 
> And people on #kde-devel & #kdevelop also reported successful builds and
> usage.
> 
> 
> Target would be extragear/$SOMETHING, with $SOMETHING possibly "utils".
> 
> Initial release planned right after leaving kdereview.

You don't have a Messages.sh

Cheers,
  Albert

> 
> Question: is there any appstream metadata possible for plugins?
> 
> Cheers
> Friedrich