[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/devtools/kdevelop4-extra-plugins/python
From: Piyush Verma <piyush.verma () gmail ! com>
Date: 2007-07-31 22:15:33
Message-ID: 1185920133.645324.11181.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 694848 by verma:
Reverted the Backgroundparser commit as done by adymo.
DUContext nolonger has a member clearUsingNamespaces,
,instead it is clearNamespaceAliases
M +1 -1 parser/contextbuilder.cpp
M +6 -5 parser/contextbuilder.h
M +1 -1 pythonlanguagesupport.cpp
--- trunk/playground/devtools/kdevelop4-extra-plugins/python/parser/contextbuilder.cpp #694847:694848
@@ -212,7 +212,7 @@
ret = child;
readLock.unlock();
DUChainWriteLocker writeLock(DUChain::lock());
- ret->clearUsingNamespaces();
+ ret->clearNamespaceAliases();
ret->clearImportedParentContexts();
m_editor->setCurrentRange(ret->textRangePtr());
break;
--- trunk/playground/devtools/kdevelop4-extra-plugins/python/parser/contextbuilder.h #694847:694848
@@ -33,16 +33,17 @@
namespace KDevelop
{
-class DUChain;
-class KDevelop::DUChainBase;
-class DUContext;
-class TopDUContext;
+ class DUChain;
+ class KDevelop::DUChainBase;
+ class DUContext;
+ class TopDUContext;
}
class PythonEditorIntegrator;
class ParseSession;
-namespace Python {
+namespace Python
+{
class LexedFile;
typedef KSharedPtr<LexedFile> LexedFilePointer;
}
--- trunk/playground/devtools/kdevelop4-extra-plugins/python/pythonlanguagesupport.cpp #694847:694848
@@ -66,7 +66,7 @@
void PythonLanguageSupport::documentChanged( KDevelop::IDocument* doc )
{
kDebug() << "###########--Adding document to parser--################" << endl;
- BackgroundParser::self()->addDocument(doc->url());
+ core()->languageController()->backgroundParser()->addDocument(doc->url());
}
PythonLanguageSupport::~PythonLanguageSupport()
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic