[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/sdk/kdevplatform/language/duchain
From:       David Nolden <david.nolden.kde () art-master ! de>
Date:       2010-04-17 16:50:22
Message-ID: 20100417165022.EFA25AC89B () svn ! kde ! org
[Download RAW message or body]

SVN commit 1115833 by zwabel:

Add todos


 M  +3 -0      duchainlock.cpp  
 M  +3 -2      ducontext.h  


--- trunk/extragear/sdk/kdevplatform/language/duchain/duchainlock.cpp \
#1115832:1115833 @@ -24,6 +24,9 @@
 #include <unistd.h>
 #include <QtCore/QThread>
 
+///@todo Always prefer exactly that lock that is requested by the thread that has \
the foreground mutex, +///           to reduce the amount of UI blocking.
+
 //Nanoseconds to sleep when waiting for a lock
 const uint uSleepTime = 500;
 
--- trunk/extragear/sdk/kdevplatform/language/duchain/ducontext.h #1115832:1115833
@@ -36,6 +36,9 @@
 
 class QWidget;
 
+///@todo Move the complete handling of smart-ranges out of here, so that the duchain \
is independent of the editor. +///           Use the foreground-lock instead of the \
smart-lock everywhere. +
 namespace KTextEditor {
   class SmartRange;
 }
@@ -824,8 +827,6 @@
   friend class IndexedDUContext;
   friend class LocalIndexedDUContext;
   friend class TopDUContextDynamicData;
-  void synchronizeUsesFromSmart() const;
-  void synchronizeUsesToSmart() const;
 
   void clearDeclarationIndices();
   void updateDeclarationIndices();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic