con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
con
b1bcf081d8
Merge branch '2.1'
...
Conflicts:
src/plugins/coreplugin/basemode.cpp
src/plugins/coreplugin/basemode.h
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.cpp
src/plugins/coreplugin/scriptmanager/qworkbench_wrapper.h
src/plugins/debugger/cdb/cdbsymbolpathlisteditor.cpp
src/plugins/debugger/debuggeragents.cpp
src/plugins/debugger/debuggeruiswitcher.cpp
src/plugins/debugger/debuggeruiswitcher.h
src/plugins/projectexplorer/buildconfigdialog.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
src/plugins/qmldesigner/components/propertyeditor/colorwidget.h
src/plugins/qmldesigner/designercore/include/enumeratormetainfo.h
src/plugins/qmldesigner/designercore/include/modelutilities.h
src/plugins/qmldesigner/designercore/include/nodeinstance.h
src/plugins/qmldesigner/designercore/include/propertymetainfo.h
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicsscenenodeinstance.h
src/plugins/qmldesigner/designercore/instances/graphicsviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/graphicswidgetnodeinstance.h
src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/qmlviewnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.cpp
src/plugins/qmldesigner/designercore/instances/widgetnodeinstance.h
src/plugins/qmldesigner/designercore/metainfo/enumeratormetainfo.cpp
src/plugins/qmldesigner/designercore/metainfo/propertymetainfo.cpp
src/plugins/qmldesigner/designercore/model/modelutilities.cpp
src/plugins/snippets/inputwidget.cpp
src/plugins/snippets/snippetscompletion.cpp
src/plugins/snippets/snippetscompletion.h
src/plugins/snippets/snippetspec.cpp
src/plugins/snippets/snippetsplugin.cpp
src/plugins/snippets/snippetswindow.cpp
src/plugins/snippets/snippetswindow.h
src/plugins/texteditor/snippetsparser.cpp
src/tools/qml/qmldom/main.cpp
tests/manual/trk/runner.cpp
tests/manual/trk/trkolddevice.cpp
tests/manual/trk/trkolddevice.h
tests/manual/trk/trkserver.cpp
2010-12-17 17:00:53 +01:00
con
04e32b0049
License headers.
2010-12-17 16:03:42 +01:00
Friedemann Kleint
0ad2d077b9
Exported header cleanup: Separate out CppQuickFixCollector.
2010-11-01 17:04:48 +01:00
Erik Verbruggen
3ebc328498
C++: added quickfix to insert a method definition.
...
Reviewed-by: Christian Kamm
2010-09-30 12:19:39 +02:00
Erik Verbruggen
9a00b8ba27
C++: Renamed cppdeclfromdef.{cpp,h} to cppinsertdecldef.{cpp,h}
2010-09-09 15:26:43 +02:00
Kai Koehne
a8747f32e4
CppEditor: Simplify CppRefactoringChanges class
...
Remove unneeded methods from API.
2010-08-16 16:16:25 +02:00
Christian Kamm
7a5df3c39d
QuickFix: Move helpers from QuickFixData to RefactoringFile.
...
Makes them easy to use everywhere. Also when calling
QuickFixData::textOf and friends, it wasn't really clear which file
they would run on.
2010-08-13 12:51:22 +02:00
Christian Kamm
bbe64796a0
QuickFix: Introduce CppRefactoringFile.
2010-08-13 12:51:22 +02:00
Christian Kamm
0355e37e53
QuickFix: Migrate to a nicer API for cross-file quick fixes.
2010-08-12 14:21:35 +02:00
Erik Verbruggen
b2659950e2
Added the InsertionPointLocator.
...
For answers to questions about where to insert a snippet/chunk of C++ code. Ok,
currently it will only find the One And Only place to insert method
declarations in classes, and it will need some tuning.
2010-07-27 15:32:40 +02:00
Erik Verbruggen
d980e37e24
Reworked the QuickFix infrastructure.
2010-07-26 13:07:19 +02:00
Roberto Raggi
f895cbb472
Sorry this was not supposed to be committed.
...
Revert "Revert "Try to fix the type rewriter.""
This reverts commit c9bc1e7c64 .
2010-07-20 15:10:02 +02:00
Roberto Raggi
c9bc1e7c64
Revert "Try to fix the type rewriter."
...
This reverts commit 33b19f0210 .
2010-07-20 14:23:46 +02:00
ck
46f537e56a
Quickfix: Convert underscore notation to camel case.
...
Reviewed-by: Roberto Raggi
2010-07-20 11:07:14 +02:00
Roberto Raggi
89cc8993c9
Handle shadow declarations.
2010-07-20 10:44:07 +02:00
Roberto Raggi
33b19f0210
Try to fix the type rewriter.
2010-07-19 20:12:16 +02:00
Roberto Raggi
1702543d80
Added a simple quickfix to declare local variable.
2010-07-19 19:12:24 +02:00
Roberto Raggi
87001994d7
Fixed typos.
2010-07-19 18:43:45 +02:00
Roberto Raggi
e78380fdf2
Share the LookupContext.
2010-07-19 18:27:11 +02:00
Roberto Raggi
80a1a72201
Quickfix missing #include files.
2010-07-19 17:40:35 +02:00
con
5b989680ff
Fixes: Completing switch statements with enums in namespaces or classes.
...
We need to add the fully qualified name to the case statements.
Reviewed-by: Roberto Raggi
2010-07-19 16:46:19 +02:00
Roberto Raggi
fff4203a46
Introduced helpers to rewrite types and names.
...
Done-with: Erik Verbruggen
2010-07-16 11:04:52 +02:00
Roberto Raggi
06c7cb9b88
Disable Create declaration from definition quickfix.
2010-07-12 15:10:00 +02:00
Erik Verbruggen
9135c8ccb1
Quickfix for adding a declaration to a class from a definition.
2010-07-12 09:53:58 +02:00
con
795ae72e0f
Quick fix for completing cases in enum based switch statements.
...
Reviewed-by: Roberto Raggi
2010-07-09 10:33:00 +02:00
Tobias Hunger
fd9b74dbbb
Improve translation quickfix
...
* Use tr if a tr method is available at the object
* Use QT_TRANSLATE_NOOP for global string constants
* Do not offer to translate stuff inside QLatin1String and QLatin1Literal
* Do not offer to wrap strings inside tr, trUtf8 and QT_TRANSLATE_NOOP
with QLatin1String
2010-07-06 11:13:06 +02:00
Roberto Raggi
6d8ecb762f
Moved the semantic highlighter in a QFuture.
2010-07-06 10:53:34 +02:00
Roberto Raggi
eca8693ebd
Use the correct scope name when inserting QCoreApplication::translate().
2010-07-06 10:36:41 +02:00
Roberto Raggi
d209bd72db
Check for possible 0x0 access.
2010-07-05 12:49:03 +02:00
con
8da2d2e9ce
Quick fixes converting between hex, octal, and decimal integer literals.
2010-07-05 12:29:51 +02:00
Tobias Hunger
2ec6776548
translation quickfix
...
* Mark a string literal as translateable, using either
tr() (if the object is perived from QObject) or
QCoreApplacation::translate().
2010-07-05 10:39:19 +02:00
con
4be3333bf3
Add "wrap in QLatin1Char" quick fix.
2010-07-01 14:21:54 +02:00
Christian Kamm
a86ea40326
C++: Fix range(tokenIndex) function in CppQuickFixOperation.
2010-06-30 13:50:05 +02:00
Roberto Raggi
da817310c2
Get rid of PostfixExpressionAST and store the base expression together with the PostfixAST nodes.
2010-06-23 14:39:14 +02:00
Roberto Raggi
23aa0af883
Introduced IQuickFixFactory.
2010-06-22 15:59:21 +02:00
Roberto Raggi
27f6b2ceb5
Renamed CppRefactoringChanges::parsedDocumentForFile().
2010-06-22 12:13:30 +02:00
Roberto Raggi
eb749ec3a2
Generalized the changeset operations.
2010-06-22 12:13:30 +02:00
Roberto Raggi
b13d6ae362
Removed CppQuickFixOperation::cppRefactoringChanges().
2010-06-22 12:13:30 +02:00
Roberto Raggi
91eff02007
Moved CppRefactoringChanges.
2010-06-22 12:13:30 +02:00
Erik Verbruggen
f3faf34db9
Removed implicit change set and related utility methods.
2010-06-14 17:16:45 +02:00
Erik Verbruggen
297b281ced
Added infrastructure to change multiple files at once.
2010-06-14 15:03:10 +02:00
Roberto Raggi
f5dae8bc9f
Refactored the quickfix engine.
2010-06-07 12:16:45 +02:00
Erik Verbruggen
0877e56d97
Fixed possible unsigned overflow.
2010-06-04 11:15:38 +02:00
Roberto Raggi
bcf50a0a49
Generalized the quickfix collector.
2010-06-03 15:15:11 +02:00
Roberto Raggi
3d81ae8574
Reduced the usage of CppQuickFixOperation.
2010-06-03 14:45:55 +02:00
Roberto Raggi
a40349c09b
Reimplemented the C++ quick fix operations using TextEditor::QuickFixOperation.
2010-06-03 14:24:12 +02:00
Erik Verbruggen
3eee397abd
Moved ASTPath to its own header/source files.
2010-05-28 16:29:53 +02:00
Roberto Raggi
49c75444bd
Removed obsolete code.
2010-05-26 13:55:10 +02:00
con
38f6379f39
Merge remote branch 'origin/2.0'
...
Conflicts:
doc/qtcreator.qdoc
src/plugins/find/currentdocumentfind.cpp
src/plugins/qt4projectmanager/qt-s60/s60createpackagestep.cpp
2010-05-17 17:40:40 +02:00