summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2007-10-19 22:21:50 +0000
committerWulf Krueger <philantrop@gentoo.org>2007-10-19 22:21:50 +0000
commit1d87a025aeb90845e155c0985fd41029deec64d0 (patch)
tree728ff468817455fdc12b6cdb6b94c2415f843d98 /dev-util/kdevelop/files
parentVersion bump (diff)
downloadhistorical-1d87a025aeb90845e155c0985fd41029deec64d0.tar.gz
historical-1d87a025aeb90845e155c0985fd41029deec64d0.tar.bz2
historical-1d87a025aeb90845e155c0985fd41029deec64d0.zip
Bump to KDE 3.5.8. Removed obsolete versions.
Package-Manager: portage-2.1.3.15
Diffstat (limited to 'dev-util/kdevelop/files')
-rw-r--r--dev-util/kdevelop/files/digest-kdevelop-3.3.53
-rw-r--r--dev-util/kdevelop/files/digest-kdevelop-3.3.63
-rw-r--r--dev-util/kdevelop/files/digest-kdevelop-3.4.0-r26
-rw-r--r--dev-util/kdevelop/files/digest-kdevelop-3.5.03
-rw-r--r--dev-util/kdevelop/files/kdevelop-3.5.0-scope.patch82
5 files changed, 85 insertions, 12 deletions
diff --git a/dev-util/kdevelop/files/digest-kdevelop-3.3.5 b/dev-util/kdevelop/files/digest-kdevelop-3.3.5
deleted file mode 100644
index d71d8224fc29..000000000000
--- a/dev-util/kdevelop/files/digest-kdevelop-3.3.5
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 e1bb5566c79022c20d534efae386cfa2 kdevelop-3.3.5.tar.bz2 8178575
-RMD160 7c422d62073fd8984d1464fec7201d255b147b40 kdevelop-3.3.5.tar.bz2 8178575
-SHA256 b92ca82e9b0547251d11a647e01578e3f641e0ea2069d07172885e1035406d29 kdevelop-3.3.5.tar.bz2 8178575
diff --git a/dev-util/kdevelop/files/digest-kdevelop-3.3.6 b/dev-util/kdevelop/files/digest-kdevelop-3.3.6
deleted file mode 100644
index 758647a1ce0e..000000000000
--- a/dev-util/kdevelop/files/digest-kdevelop-3.3.6
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 0de7c7d82c176456f2adff48981f5d40 kdevelop-3.3.6.tar.bz2 8176547
-RMD160 1a1356e9eb015b2947cd64ba9ba223479d1ef3a4 kdevelop-3.3.6.tar.bz2 8176547
-SHA256 1cd0daccc885d1e50fc169fc33fc3d78b5d7970cdd14f249d2b8450a92f0b685 kdevelop-3.3.6.tar.bz2 8176547
diff --git a/dev-util/kdevelop/files/digest-kdevelop-3.4.0-r2 b/dev-util/kdevelop/files/digest-kdevelop-3.4.0-r2
deleted file mode 100644
index 5682a766ae63..000000000000
--- a/dev-util/kdevelop/files/digest-kdevelop-3.4.0-r2
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 3ee48fd1a951678ce4a4f90ade0f5c90 kdevelop-3.4.0-qmake-parser-2.patch.bz2 35588
-RMD160 abc7376f97b7b3cc1e1e0cb5c73d0979a58ca5a5 kdevelop-3.4.0-qmake-parser-2.patch.bz2 35588
-SHA256 32fa957e622c8a3d4730c1124a2b343905c64196ca703129277baa6d8a3230d1 kdevelop-3.4.0-qmake-parser-2.patch.bz2 35588
-MD5 9cf367c89329acf23738e23c0b663ee9 kdevelop-3.4.0.tar.bz2 9158370
-RMD160 7a3fb362e456965f5c35f2a8a3293178d596c845 kdevelop-3.4.0.tar.bz2 9158370
-SHA256 c477c8980b5dfd4d512ad793d69dd4d5c7987e376789f68796a8013db08d3194 kdevelop-3.4.0.tar.bz2 9158370
diff --git a/dev-util/kdevelop/files/digest-kdevelop-3.5.0 b/dev-util/kdevelop/files/digest-kdevelop-3.5.0
new file mode 100644
index 000000000000..b4cf2af7420b
--- /dev/null
+++ b/dev-util/kdevelop/files/digest-kdevelop-3.5.0
@@ -0,0 +1,3 @@
+MD5 1101077b3a0164da463f60cad4f13e25 kdevelop-3.5.0.tar.bz2 9415312
+RMD160 fad1adda009eaa7fc6a6533a6bf211e3f1fa23fa kdevelop-3.5.0.tar.bz2 9415312
+SHA256 d05afebfc9a8b61ca0fbc6dbe2341d7f6b0762cf76573abdc20d1147068c8aaa kdevelop-3.5.0.tar.bz2 9415312
diff --git a/dev-util/kdevelop/files/kdevelop-3.5.0-scope.patch b/dev-util/kdevelop/files/kdevelop-3.5.0-scope.patch
new file mode 100644
index 000000000000..cd50da7bc60c
--- /dev/null
+++ b/dev-util/kdevelop/files/kdevelop-3.5.0-scope.patch
@@ -0,0 +1,82 @@
+--- branches/kdevelop/3.5/buildtools/qmake/scope.h 2007/10/11 19:47:17 724230
++++ branches/kdevelop/3.5/buildtools/qmake/scope.h 2007/10/11 19:48:00 724231
+@@ -217,7 +217,7 @@
+ // runs through the statements until stopHere is found (or the end is reached, if stopHere is 0),
+ // using the given list as startvalue
+ // Changes the list using the +=, -=, = operations accordingly
+- void calcValuesFromStatements( const QString& variable, QStringList& result, bool, QMake::AST* stopHere = 0, bool fetchFromParent = true ) const;
++ void calcValuesFromStatements( const QString& variable, QStringList& result, bool, QMake::AST* stopHere = 0, bool fetchFromParent = true, bool setDefault = true ) const;
+
+ // Check wether the two operators are compatible
+ static bool isCompatible( const QString& op1, const QString& op2);
+@@ -255,8 +255,6 @@
+
+ QString replaceWs(QString);
+
+- // All different subscopes of this scope, the key is the "position" at which the scope starts
+- QMap<QString, Scope*> m_subProjects;
+
+ // The "position" inside the parent scope that this scope starts at
+ unsigned int m_num;
+
+--- branches/kdevelop/3.5/buildtools/qmake/scope.cpp 2007/10/11 19:47:17 724230
++++ branches/kdevelop/3.5/buildtools/qmake/scope.cpp 2007/10/11 19:48:00 724231
+@@ -325,13 +325,13 @@
+ return result;
+ }
+
+-void Scope::calcValuesFromStatements( const QString& variable, QStringList& result, bool checkIncParent, QMake::AST* stopHere, bool fetchFromParent ) const
++void Scope::calcValuesFromStatements( const QString& variable, QStringList& result, bool checkIncParent, QMake::AST* stopHere, bool fetchFromParent, bool setDefault ) const
+ {
+ if( !m_root )
+ return;
+
+ /* For variables that we don't know and which are not QT/CONFIG find the default value */
+- if( m_defaultopts
++ if( setDefault && m_defaultopts
+ && m_defaultopts->variables().findIndex(variable) != -1
+ && ( variable == "TEMPLATE" || variable == "QT" || KnownVariables.findIndex(variable) == -1 || variable == "CONFIG" ) )
+ {
+@@ -379,6 +379,42 @@
+ }
+ }
+ }
++ }else if( ast->nodeType() == QMake::AST::IncludeAST )
++ {
++ QMake::IncludeAST* iast = static_cast<QMake::IncludeAST*>(ast);
++ QValueList<unsigned int> l = m_scopes.keys();
++ for( unsigned int i = 0; i < l.count(); ++i )
++ {
++ int num = l[ i ];
++ if( m_scopes.contains( num ) )
++ {
++ Scope* s = m_scopes[num];
++ if( s && s->scopeType() == IncludeScope && s->m_incast == iast )
++ {
++ s->calcValuesFromStatements( variable, result, false, 0, false, false );
++ }
++ }
++ }
++
++ }else if( ast->nodeType() == QMake::AST::ProjectAST )
++ {
++ QMake::ProjectAST* past = static_cast<QMake::ProjectAST*>(ast);
++ if( past->isFunctionScope() || past->isScope() )
++ {
++ QValueList<unsigned int> l = m_scopes.keys();
++ for( unsigned int i = 0; i < l.count(); ++i )
++ {
++ int num = l[ i ];
++ if( m_scopes.contains( num ) )
++ {
++ Scope* s = m_scopes[num];
++ if( s && s->m_root == past && s->m_root->scopedID == past->scopedID )
++ {
++ s->calcValuesFromStatements( variable, result, false, 0, false, false );
++ }
++ }
++ }
++ }
+ }
+ }
+