Review Request: Remove inconsistency in BackgroundParser internal state

Dmitry Risenberg dmitry.risenberg at gmail.com
Sun Mar 6 01:51:14 UTC 2011


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

Review request for KDevelop.


Summary
-------

When a document was added for parsing with multiple priorities, a default DocumentParsePlan was retrieved from m_documents when creating jobs after the first one. This led to incorrect set of features for parsing job and might trigger unnecessary reparsing when a file was reloaded.

Changed m_documents from QMap to QHash to avoid hitting https://bugs.kde.org/show_bug.cgi?id=267732.


Diffs
-----

  language/backgroundparser/backgroundparser.cpp 540a453e74d4a518e54bc9b5fa0c982d76088ea1 

Diff: http://git.reviewboard.kde.org/r/100807/diff


Testing
-------


Thanks,

Dmitry

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20110306/41b7e8c2/attachment.html>


More information about the KDevelop-devel mailing list