<p>Good job, thanks for keeping working on this. Would be great if this could find its way into KDevelop this year.</p>
<p>However, i find it problematic that you don't trigger the background-parser. This is something that simply has to be done, be it time-consuming or not, because by default KDevelop simply doesn't build uses at all, so the control-flow graphs will be very unreliable. The contex-browser however _does_ trigger the background-parser on its find-uses functionality, but i guess you were referring to its use-highlighting?</p>
<p>Greetings, David</p>
<p><blockquote type="cite">Am 19.06.2010 09:13 schrieb "Sandro Andrade" <<a href="mailto:sandro.andrade@gmail.com">sandro.andrade@gmail.com</a>>:<br><br>Hi there,<br>
<br>
I've just moved controlflowgraph plugin to kdereview, after fixing all<br>
known issues and suggestions<br>
provided.<br>
<br>
/trunk/kdereview/controlflowgraph<br>
<br>
Suggestions are welcome.<br>
Thanks,<br>
<br>
Sandro<br>
<br>
-------------------------<br>
<br>
Old features:<br>
<br>
- Control flow visualization between methods, classes, and namespaces.<br>
- Integration Code Browser <-> Control Flow Graph for nodes<br>
representing methods, classes, and namespaces.<br>
- Integration Class Browser -> Control Flow Graph.<br>
- Graph locking.<br>
- Clustering by class, namespace, and/or project.<br>
- Support for multiple toolviews with optimized management.<br>
- Optional adjustment of maximum graph level (including no maximum level).<br>
- Drawing of incoming arcs.<br>
- Use of folder names for classes with no namespaces (as an<br>
alternative to "Global Namespace").<br>
- Visualization of uses that make an edge with navigation tool tip -><br>
code browser.<br>
- Optional use of short names (non-qualified) for clustered graphs.<br>
- Menu extensions for code browser, class browser, and project manager.<br>
- Graph exporting in png, jpg, gif, svg, dia, fig, pdf, and dot formats.<br>
- Graph zoom in/out and birds-eye integration with KGraphviewer kpart.<br>
- Generating of graph in a separated thread.<br>
<br>
New features:<br>
<br>
- View uses on edge hover (automatic uses view can be disabled/enabled<br>
- mouse button in left button group).<br>
- IStatus implementation: display information of current graph processing.<br>
- Merged graphs for a given class or for the entire project (probably<br>
very time-consuming), accessible via contextMenuExtension.<br>
- IRunController integration for merged graphs. These are more<br>
time-consuming, then graph generation can be stopped.<br>
<br>
Notes:<br>
<br>
- Graph generation threads are always serialized to preserve system<br>
resources. Too fast mouse/cursor movements in a document<br>
could trigger an excessively ammount of graph generation threads.<br>
- KConfig thread-safety issues were solved by packing all required<br>
data before thread starting.<br>
- Graphviz's layout functions aren't thread-safe and minimal lock was<br>
implemented.<br>
- Controlflowgraph plugin does not trigger backgroundparser<br>
executions. When generating a graph for the entire project that would<br>
imply in parsing all files. Its behaviour regarding finding uses and<br>
declarations/definitions is similar to that of contextbrowser plugin.<br>
<font color="#888888"><br>
--<br>
KDevelop-devel mailing list<br>
<a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br>
<a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</font></blockquote></p>