Review Request: Fix stale suffix text removal in (and refactor) SIGNAL()/SLOT() completion.

Commit Hook null at kde.org
Mon Oct 1 15:26:06 UTC 2012


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


This review has been submitted with commit 933ccc536db9d7c46518800d1d8ce2d63cfb80f1 by Ivan Shapovalov to branch master.

- Commit Hook


On Sept. 25, 2012, 9:31 a.m., Ivan Shapovalov wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/106451/
> -----------------------------------------------------------
> 
> (Updated Sept. 25, 2012, 9:31 a.m.)
> 
> 
> Review request for KDevelop and Olivier Jean de Gaalon.
> 
> 
> Description
> -------
> 
> Most notably, I stopped using a complicated regex for detecting
> pieces of stale SIGNAL()/SLOT() macros like in
> "SIGNAL( <cursor here> someOldStuff(withArguments) )".
> Instead, just delete everything from cursor to next
> statement delimiter or EOL or unrelated closing bracket.
> 
> Also, added extensive comments on what's being done
> as the code was pretty unclear.
> 
> 
> This addresses bugs 202135 and 224996.
>     http://bugs.kde.org/show_bug.cgi?id=202135
>     http://bugs.kde.org/show_bug.cgi?id=224996
> 
> 
> Diffs
> -----
> 
>   languages/cpp/codecompletion/implementationhelperitem.cpp 5b832b1 
>   languages/cpp/codecompletion/item.h fa449ca 
>   languages/cpp/codecompletion/item.cpp d52c832 
>   languages/cpp/tests/test_cppcodecompletion.h 24b9a19 
>   languages/cpp/tests/test_cppcodecompletion.cpp 4eccce2 
> 
> Diff: http://git.reviewboard.kde.org/r/106451/diff/
> 
> 
> Testing
> -------
> 
> Added unit-tests using examples provided in the bug-reports; existing unit-tests pass.
> 
> 
> Thanks,
> 
> Ivan Shapovalov
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20121001/6b0a6357/attachment.html>


More information about the KDevelop-devel mailing list