Code completion

Andreas Pakulat apaku at gmx.de
Wed May 3 16:49:01 BST 2006


On 03.05.06 13:19:56, Alex Bligh wrote:
> Andreas Pakulat wrote:
> >I think it is the .pcs file called after your project name, deleting
> >that should work. Although I still think you're experiencing the mentioned bug 
> >which might
> >only be solved in KDE 3.4.
> 
> Deleting the .pcs does no good. Is there any chance of a backport to
> 3.3 and thus Ubuntu dapper (if you can point me at the patch that
> fixed it, I'm happy to make one up myself) as code-completion is
> basically unusable at the moment.

Found the thread on kdevelop-devel. The Subject is "Code completion
deadlock", however you can't get the patch out of the archive.

I'll attach the patch, but I think this has been fixed for kdevelop3.3
already, because it was fixed before KDE 3.5 came out and kdevelop3.3
was released together with KDE 3.5.

The patch needs to be applied to the file catalog.cpp in lib/catalog.

Andreas

-- 
You will receive a legacy which will place you above want.
-------------- next part --------------
Index: catalog.cpp
===================================================================
--- catalog.cpp	(Revision 462077)
+++ catalog.cpp	(Arbeitskopie)
@@ -414,7 +414,7 @@
 
     cursors[ current ] = 0;
 
-    if( current > 0) {
+    if( current == args.size() ) {
 
         DBC* join_curs = 0;
         int rtn = d->dbp->join( d->dbp, cursors, &join_curs, 0 );


More information about the KDevelop mailing list