Review Request: Port LatexPlugin to Filter

David Edmundson kde at davidedmundson.co.uk
Mon Aug 6 09:53:12 UTC 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105887/#review16956
-----------------------------------------------------------


Ok, getting close to ship-able. Due to freezes, there's no point rushing this into 0.5


filters/latex/latex-filter.cpp
<http://git.reviewboard.kde.org/r/105887/#comment13325>

    This is still a massive fail.
    
    If one doesn't have kopete installed, this plugin will not do anything at all.
    
    This needs copying, renaming (to avoid a clash) and adding to CMake to install



tests/message-processor-basic-tests.cpp
<http://git.reviewboard.kde.org/r/105887/#comment13324>

    Replace this with something less derpy.
    
    Here, have the DCT used in libJPEG.
    $$F_{uv} = \frac{1}{4}C_uC_v\sum_{x=0}^{7} \sum_{y=0}^{7} f_{xy} \ast \cos\left(\frac{(2x+1)u\pi}{16}\right) \cos\left(\frac{(2y+1)v\pi}{16}\right)$$
    


- David Edmundson


On Aug. 6, 2012, 9:48 a.m., Lasath Fernando wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105887/
> -----------------------------------------------------------
> 
> (Updated Aug. 6, 2012, 9:48 a.m.)
> 
> 
> Review request for Telepathy.
> 
> 
> Description
> -------
> 
> This is pretty much the latex plugin from Kopete.
> If any incoming text is in latex surrounded by $$, it renders it in the chat window.
> 
> 
> Diffs
> -----
> 
>   filters/CMakeLists.txt ca5ec1e 
>   filters/latex/CMakeLists.txt PRE-CREATION 
>   filters/latex/ktptextui_message_filter_latex.desktop PRE-CREATION 
>   filters/latex/latex-filter.h PRE-CREATION 
>   filters/latex/latex-filter.cpp PRE-CREATION 
>   tests/message-processor-basic-tests.h 7dc99e4 
>   tests/message-processor-basic-tests.cpp 8546605 
> 
> Diff: http://git.reviewboard.kde.org/r/105887/diff/
> 
> 
> Testing
> -------
> 
> David sent me a formula that rendered nicely in my chat window.
> 
> Note to future self: update unit test so it matches a regex (to account for random temp file).
> 
> 
> Thanks,
> 
> Lasath Fernando
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20120806/75bdcd4a/attachment.html>


More information about the KDE-Telepathy mailing list