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

List:       kde-commits
Subject:    branches/work/kdevelop3
From:       Alexander Dymo <cloudtemple () mksat ! net>
Date:       2005-08-28 12:43:23
Message-ID: 1125233003.753821.23038.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 454250 by dymo:

Make project ast aware of the filename.


 M  +4 -0      buildtools/lib/parsers/qmake/qmakeast.h  
 M  +1 -0      buildtools/lib/parsers/qmake/qmakedriver.cpp  
 M  +39 -26    kdevelop.kdevelop  


--- branches/work/kdevelop3/buildtools/lib/parsers/qmake/qmakeast.h #454249:454250
@@ -121,6 +121,9 @@
     bool isFunctionScope() const { return m_kind == FunctionScope; }
     /**@return true if this node is empty.*/
     bool isEmpty() const { return m_kind == Empty; }
+    
+    void setFileName(const char *fileName) { m_fileName = fileName; }
+    const char *fileName() const { return m_fileName; }
 
     /**Scoped identifier (scope name or function name).*/
     QString scopedID;
@@ -131,6 +134,7 @@
 
 private:
     Kind m_kind;
+    const char *m_fileName;
 
 };
 
--- branches/work/kdevelop3/buildtools/lib/parsers/qmake/qmakedriver.cpp #454249:454250
@@ -42,6 +42,7 @@
 //     yydebug = 1;
     int ret = yyparse();
     *ast = projects.top();
+    (*ast)->setFileName(fileName);
     fclose(yyin);
     return ret;
 }
--- branches/work/kdevelop3/kdevelop.kdevelop #454249:454250
@@ -12,8 +12,20 @@
     </keywords>
     <projectdirectory>.</projectdirectory>
     <absoluteprojectpath>false</absoluteprojectpath>
-    <description/>
-    <ignoreparts/>
+    <description></description>
+    <ignoreparts>
+      <part>kdevctags2</part>
+      <part>kdevfilegroups</part>
+      <part>kdevfilelist</part>
+      <part>kdevfileview</part>
+      <part>kdevdistpart</part>
+      <part>kdevscripting</part>
+      <part>kdevsecurity</part>
+      <part>kdevfilter</part>
+      <part>kdevtexttools</part>
+      <part>kdevtools</part>
+    </ignoreparts>
+    <versioncontrol></versioncontrol>
   </general>
   <kdevfileview>
     <groups>
@@ -71,11 +83,11 @@
   <kdevdebugger>
     <general>
       <dbgshell>libtool</dbgshell>
-      <programargs/>
-      <gdbpath/>
-      <configGdbScript/>
-      <runShellScript/>
-      <runGdbScript/>
+      <programargs></programargs>
+      <gdbpath></gdbpath>
+      <configGdbScript></configGdbScript>
+      <runShellScript></runShellScript>
+      <runGdbScript></runGdbScript>
       <breakonloadinglibs>true</breakonloadinglibs>
       <separatetty>false</separatetty>
       <floatingtoolbar>false</floatingtoolbar>
@@ -102,14 +114,14 @@
       <abortonerror>true</abortonerror>
       <numberofjobs>1</numberofjobs>
       <dontact>false</dontact>
-      <makebin/>
+      <makebin></makebin>
       <prio>0</prio>
     </make>
     <run>
       <directoryradio>build</directoryradio>
       <customdirectory>/</customdirectory>
       <mainprogram>src/kdevelop</mainprogram>
-      <programargs/>
+      <programargs></programargs>
       <terminal>false</terminal>
       <autocompile>true</autocompile>
       <envvars/>
@@ -121,19 +133,19 @@
       <default>
         <envvars/>
         <configargs>--prefix=/opt/kde3 --enable-debug=full --enable-final</configargs>
-        <builddir>/home/andris/development/build/kde-head/kdevelop</builddir>
-        <topsourcedir>/home/andris/development/sources/kde-head/kdevelop</topsourcedir>
-        <cppflags/>
-        <ldflags/>
+        <builddir>build</builddir>
+        <topsourcedir></topsourcedir>
+        <cppflags></cppflags>
+        <ldflags></ldflags>
         <ccompiler>kdevgccoptions</ccompiler>
         <cxxcompiler>kdevgppoptions</cxxcompiler>
         <f77compiler>kdevpgf77options</f77compiler>
-        <ccompilerbinary/>
-        <cxxcompilerbinary/>
-        <f77compilerbinary/>
-        <cflags/>
-        <cxxflags/>
-        <f77flags/>
+        <ccompilerbinary></ccompilerbinary>
+        <cxxcompilerbinary></cxxcompilerbinary>
+        <f77compilerbinary></f77compilerbinary>
+        <cflags></cflags>
+        <cxxflags></cxxflags>
+        <f77flags></f77flags>
       </default>
     </configurations>
   </kdevautoproject>
@@ -149,7 +161,7 @@
       <includeTypes>true</includeTypes>
       <includeEnums>true</includeEnums>
       <includeTypedefs>false</includeTypedefs>
-      <automaticCodeCompletion>true</automaticCodeCompletion>
+      <automaticCodeCompletion>false</automaticCodeCompletion>
       <automaticArgumentsHint>true</automaticArgumentsHint>
       <automaticHeaderCompletion>true</automaticHeaderCompletion>
       <codeCompletionDelay>250</codeCompletionDelay>
@@ -157,17 +169,18 @@
       <headerCompletionDelay>250</headerCompletionDelay>
     </codecompletion>
     <creategettersetter>
-      <prefixGet/>
+      <prefixGet></prefixGet>
       <prefixSet>set</prefixSet>
       <prefixVariable>m_,_</prefixVariable>
       <parameterName>theValue</parameterName>
       <inlineGet>true</inlineGet>
       <inlineSet>true</inlineSet>
     </creategettersetter>
-    <references>
-      <pcs>Qt</pcs>
-      <pcs>KDevelop API</pcs>
-      <pcs>KDElibs</pcs>
-    </references>
+    <references/>
+    <qt>
+      <used>false</used>
+      <version>3</version>
+      <root>/usr/lib/qt3</root>
+    </qt>
   </kdevcppsupport>
 </kdevelop>
[prev in list] [next in list] [prev in thread] [next in thread] 

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