Review Request: Port LatexPlugin to Filter

Lasath Fernando kde at lasath.org
Mon Aug 6 09:37:35 UTC 2012



> On Aug. 6, 2012, 12:28 a.m., David Edmundson wrote:
> > filters/latex/latex-filter.cpp, line 75
> > <http://git.reviewboard.kde.org/r/105887/diff/2/?file=76258#file76258line75>
> >
> >     Don't have commented out code
> >     
> >     
> >     Or at least explain why it's commented out

To be perfectly honest, I have no idea.


> On Aug. 6, 2012, 12:28 a.m., David Edmundson wrote:
> > filters/latex/latex-filter.cpp, line 101
> > <http://git.reviewboard.kde.org/r/105887/diff/2/?file=76258#file76258line101>
> >
> >     no-one ever sets this.

I was hoping you (or someone else here) might recognize what it was for...


> On Aug. 6, 2012, 12:28 a.m., David Edmundson wrote:
> > filters/latex/latex-filter.cpp, line 176
> > <http://git.reviewboard.kde.org/r/105887/diff/2/?file=76258#file76258line176>
> >
> >     This doesn't actually delete the temporary file.. you're just deleting the pointer to it.

uh oh.. did Kopete spam temp files anywhere or did/does some KDE magic take care of it?


> On Aug. 6, 2012, 12:28 a.m., David Edmundson wrote:
> > filters/latex/latex-filter.cpp, line 124
> > <http://git.reviewboard.kde.org/r/105887/diff/2/?file=76258#file76258line124>
> >
> >     for () {
> >     
> >     }

huh?


- Lasath


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


On Aug. 6, 2012, 12:36 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, 12:36 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/040301f1/attachment-0001.html>


More information about the KDE-Telepathy mailing list