Friedemann Kleint
4b0bafd615
Clean headers in CppTools.
...
Ran script to remove inludes on a trial-and-error basis and
manually corrected it.
Change-Id: Ic8464ea084ca1ab401e9f4a7d0183b92b4038902
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com >
2013-04-10 10:55:14 +02:00
Oswald Buddenhagen
7923032022
fix include style relating to cplusplus libraries
...
... and adjust INCLUDEPATH accordingly.
while i'm at messing with include statements, also re-order the include
blocks according to policy and sort them within bigger blocks.
Change-Id: I7762abfd7c4ecf59432b99db2f424e4fa25733a5
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com >
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2013-04-03 13:40:39 +02:00
Erik Verbruggen
45656335fc
C++: Change the locator filter to queue changed documents.
...
The changed documents get searched for symbols when either a limit of
10 pending documents is reached, or when the filter is asked to return
all matches.
Change-Id: Ic18fc66b0a802165fdd8a028bd13d0ce11524510
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com >
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2013-03-07 14:23:04 +01:00
Oswald Buddenhagen
1fda2111d4
Merge remote-tracking branch 'origin/2.6'
...
Conflicts:
src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in
src/plugins/debugger/qtmessageloghandler.cpp
src/plugins/debugger/qtmessagelogwindow.cpp
src/plugins/madde/maemodeployconfigurationwidget.cpp
src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp
src/plugins/qmldesigner/designercore/include/widgetqueryview.h
src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp
src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp
src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h
src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp
src/plugins/qnx/bardescriptormagicmatcher.h
src/plugins/qt4projectmanager/profilekeywords.cpp
src/plugins/remotelinux/deployablefilesperprofile.cpp
src/plugins/remotelinux/deployablefilesperprofile.h
src/plugins/remotelinux/deploymentinfo.cpp
src/plugins/remotelinux/deploymentsettingsassistant.cpp
src/plugins/remotelinux/profilesupdatedialog.cpp
tests/auto/icheckbuild/ichecklib.cpp
tests/auto/icheckbuild/parsemanager.cpp
tests/auto/icheckbuild/parsemanager.h
Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
2013-01-31 16:25:33 +01:00
Robert Loehning
298531e370
Incremented year in copyright info
...
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205
Reviewed-by: Kai Koehne <kai.koehne@digia.com >
2013-01-29 16:27:03 +01:00
Orgad Shaneh
29a93998df
Remove braces for single lines of conditions
...
#!/usr/bin/env ruby
Dir.glob('**/*.cpp') { |file|
# skip ast (excluding paste, astpath, and canv'ast'imer)
next if file =~ /ast[^eip]|keywords\.|qualifiers|preprocessor|names.cpp/i
s = File.read(file)
next if s.include?('qlalr')
orig = s.dup
s.gsub!(/\n *if [^\n]*{\n[^\n]*\n\s+}(\s+else if [^\n]* {\n[^\n]*\n\s+})*(\s+else {\n[^\n]*\n\s+})?\n/m) { |m|
res = $&
if res =~ /^\s*(\/\/|[A-Z_]{3,})/ # C++ comment or macro (Q_UNUSED, SDEBUG), do not touch braces
res
else
res.gsub!('} else', 'else')
res.gsub!(/\n +} *\n/m, "\n")
res.gsub(/ *{$/, '')
end
}
s.gsub!(/ *$/, '')
File.open(file, 'wb').write(s) if s != orig
}
Change-Id: I3b30ee60df0986f66c02132c65fc38a3fbb6bbdc
Reviewed-by: hjk <qthjk@ovi.com >
2013-01-08 10:48:18 +01:00
Erik Verbruggen
271fb797cb
Made symbol searching plug-able through indexing support.
...
The indexing support for the built-in code model is moved to its own
file. Symbol searching will now call for a searcher through that support
interface, which will create a fully configured and ready-to-go searcher
that can be started in the/a future.
Change-Id: Idc3ee1c7c789a69fa05ee1d42415313dcea94cf8
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com >
2012-11-26 14:07:35 +01:00
hjk
386ca7c8dd
Adjust license headers
...
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2012-10-05 17:12:56 +02:00
Eike Ziller
e0e8cf3ada
Contact -> qt-project.org
...
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-07-19 13:23:21 +02:00
hjk
2931a499e6
Long live the king!
...
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-26 19:55:36 +01:00
Christian Kamm
dc72cff71a
C++: Add basic 'insert #include' quick fix.
...
Change-Id: I3a2fef56d6d1871ea4bbb139f9bdd2bc44dd0123
Reviewed-by: Leandro Melo <leandro.melo@nokia.com >
2011-12-02 13:00:28 +01:00
hjk
31600758de
all: s/info@qt.nokia.com/qt-info@nokia.com/
...
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-11-03 10:33:19 +01:00
Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
con
04e32b0049
License headers.
2010-12-17 16:03:42 +01:00
Roberto Raggi
29b304e7d0
Skip uninteresting symbols.
2010-09-08 14:23:01 +02:00
Roberto Raggi
33650ac988
Reuse the strings
2010-09-07 14:49:40 +02:00
Roberto Raggi
86799309aa
Keep the locator database in sync with the current snapshot.
...
Thanks to this patch we can move the filtering of C++ symbols
in a background thread.
Done-with: Erik Verbruggen
2010-09-06 16:53:46 +02:00
Roberto Raggi
988cc958ab
Renamed Symbol::identity() to Symbol::unqualifiedName().
2010-08-26 12:23:09 +02:00
Roberto Raggi
354b9712e4
Merged ScopedSymbol and Scope.
2010-08-11 15:25:18 +02:00
con
2bda8675e5
C++ symbols find filter for advanced find.
...
Required refactoring of the search result window to show real trees of
search results.
The backend is the backend from the Locator filter, which is a bit
outdated now.
2010-07-23 16:34:22 +02:00
con
80d85e2887
Locator Cpp filters can jump to a column too.
2010-07-23 16:22:13 +02:00
Roberto Raggi
adfdb51660
Recursive definition of CPlusPlus::QualifiedNameId.
...
Done-with: Erik Verbruggen
2010-07-12 15:10:00 +02:00
hjk
9595504bda
Long live the king!
2010-03-05 11:28:13 +01:00
Friedemann Kleint
2fd8b2d7ff
Fix some code scanning issues.
...
QString: Use QChar where appropriate.
2010-02-01 12:43:56 +01:00
con
8b9c748abb
Merge remote branch 'origin/1.3'
2009-12-03 15:15:08 +01:00
Thorbjørn Lindeijer
5373017abd
Fixed inline implemented methods not showing up in the methods filter
...
Done with Roberto Raggi.
Task-number: QTCREATORBUG-405
2009-12-03 11:34:31 +01:00
Roberto Raggi
7c7ce13ac0
Use const names.
2009-12-01 12:46:23 +01:00
hjk
93cbef8724
long live the king
2009-08-14 09:30:56 +02:00
Jason McDonald
884b7af769
Update license headers and sales contact details.
...
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Christian Hoenig
575495b99b
Implement CppCurrentDocumentFilter for symbols in current document
2009-05-30 10:43:07 +02:00
hjk
8ca887aae2
Fixes: change file license headers to include LGPL
2009-02-25 09:15:00 +01:00
Daniel Molkentin
59affcfffc
Bump year in licence header.
2009-01-13 19:22:14 +01:00
hjk
da3cb14483
chancge Nokia GPL exception version from 1.2 to 1.3
2008-12-16 17:20:00 +01:00
Thorbjørn Lindeijer
5f544b4daf
Added the CppFunctionsFilter to QuickOpen
...
In the GUI this is currently called "Methods" with the shortcut 'm'.
2008-12-09 17:19:35 +01:00
Thorbjørn Lindeijer
0e27bc5aa3
Exclude anonymous symbols from the QuickOpen
...
They're not overly useful to have in there, since they don't have a name
you could type to jump to them.
Reviewed-by: Roberto Raggi
2008-12-09 16:32:51 +01:00
Thorbjørn Lindeijer
c14896b7d2
Slight optimization in Session::projectForFile
...
Avoid creating a copy of the list of projects.
2008-12-08 13:05:44 +01:00
Thorbjørn Lindeijer
ecfb77d469
Separate scope in classes quickopen filter
...
The scope of the classes is now separated and displayed in the second
column, and not included in the search.
2008-12-05 13:23:04 +01:00
Thorbjørn Lindeijer
4e76b54dec
Use QFlags for indicating symbols to search for
2008-12-05 09:02:08 +01:00
Thorbjørn Lindeijer
cecd5023dd
First incarnation of classes quickopen filter
...
Invokable with 'c', currently shows all classes it can find.
2008-12-04 18:22:58 +01:00