Tobias Hunger
aa2acec14c
Fix/add copyright headers
...
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Thorbjørn Lindeijer
b3e47623c6
Merged "Methods" and QML "Functions" locator filters
...
They're still separate filters, but by default they share the same
prefix, which will now make sure that only one entry shows up in the
list of filters.
Done-with: Christian Kamm
Task-number: QTCREATORBUG-4796
2011-05-06 12:41:15 +02:00
Friedemann Kleint
774fa49412
Fix more krazy warnings.
2011-04-19 15:43:53 +02:00
Oswald Buddenhagen
45c9cf7a12
add/unify i/o error handling
...
lots of use of Utils::FileSaver and Utils::FileReader
Task-number: QTCREATORBUG-1619
2011-04-18 14:10:14 +02:00
Oswald Buddenhagen
dc3c156cac
Merge branch '2.2'
...
Conflicts:
src/plugins/debugger/gdb/pythongdbengine.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4desktoptargetfactory.h
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.cpp
src/plugins/qt4projectmanager/qt-desktop/qt4simulatortargetfactory.h
src/plugins/qt4projectmanager/qt-maemo/maemodeploystep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemodeviceconfigurations.cpp
src/plugins/qt4projectmanager/qt-maemo/maemoglobal.cpp
src/plugins/qt4projectmanager/qt-maemo/qt4maemotargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/qt4symbiantargetfactory.cpp
src/plugins/qt4projectmanager/qt-s60/s60deploystep.cpp
src/plugins/qt4projectmanager/qt4target.cpp
src/plugins/qt4projectmanager/qt4target.h
src/plugins/qt4projectmanager/qtoptionspage.h
src/plugins/qt4projectmanager/qtversionmanager.cpp
src/plugins/welcome/welcomemode.cpp
2011-04-14 12:39:31 +02:00
Jarek Kobus
4d69c7455e
Remove unused constants, fix lacking virtual destructor
...
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2011-04-14 12:08:47 +02:00
hjk
8397663964
Update license.
2011-04-13 11:49:28 +02:00
Christian Kamm
faff0c8ace
C++ indenter: Fix for use of << and >> in parentheses.
...
Task-number: QTCREATORBUG-4076
2011-03-15 15:05:05 +01:00
Leandro Melo
ae3b2ab013
Still changes to our options dialog
...
We decided to have text-based buttons by default.
2011-02-28 14:42:32 +01:00
Leandro Melo
a5977bc822
Revert "Make our options dialog a bit more uniform"
...
This reverts commit 561f87fcb9 .
2011-02-28 14:37:27 +01:00
Leandro Melo
561f87fcb9
Make our options dialog a bit more uniform
...
In terms of buttons, layouts, aesthetics in general.
2011-02-25 16:29:35 +01:00
hjk
f576ad9f2c
texteditor: merge ITextEditable into ITextEditor
...
rename BastTextEditor->BaseTextEditorWidget, BaseTextEditorEditable->BaseTextEditor
rename BaseTextEditor{,Widget} subclasses
rename editableInterface->editorInterface
rename createEditableInterface->createEditor
minor cleanups after renamings
2011-02-22 11:23:53 +01:00
Leandro Melo
ea313f3ec8
Text editor: Introduce per project settings
...
With some refactorings to make the code look better.
Reviewed-by: con
2011-02-21 17:22:24 +01:00
hjk
9a6c4a42f7
completion: enable multiple completors for different use cases.
...
Introduce CompletionPolicy enum, use 'TextCompletion' for the new plain
text completion, and 'SemanticCompletion' or 'QuickFixCompletion' for
the existing cases.
Reviewed-by: Erik Verbruggen
2011-02-21 14:04:43 +01:00
Christian Kamm
187ae1e94a
QmlJS: Rework FakeMetaObjects to no longer contain pointers.
...
Having a duplicate prototype chain - once in FakeMetaObjects and once
in QmlObjectValues was unnecessary. Now FMOs don't contain references
which may allow other simplifications.
2011-02-10 17:04:22 +01:00
Erik Verbruggen
8ec140fcc3
Fixed regression in tst_Codegen.
2011-02-07 11:26:08 +01:00
hjk
57eae3191e
s:// end of namespace :// namespace :g for consistency
...
We use the latter style everywhere else to signify the end of a namespace block.
2011-02-04 12:45:32 +01:00
Friedemann Kleint
edb4893547
Header cleanup in src, specify module name.
2011-01-24 12:29:48 +01:00
Friedemann Kleint
a9a5e3ea17
Exported header cleanup.
2011-01-20 14:03:07 +01:00
Erik Verbruggen
94411bfaef
Fixed argument completion for destructors.
...
Task-number: QTCREATORBUG-2854
2011-01-19 16:40:07 +01:00
Erik Verbruggen
dea74862d3
Fixed the line retreival for find-usages.
...
Instead of using the pre-processed source, the original one is used.
This makes a difference when a macro is used in the line, where the pre-
processed source would have a "#gen true" token.
Task-number: QTCREATORBUG-3345
2011-01-17 14:47:20 +01:00
con
a444cdc7aa
Limit depth of include scanning to avoid performance problems.
...
Reviewed-by: Thorbjørn Lindeijer
2011-01-12 10:19:48 +01:00
con
d1023c7614
It's 2011 now.
...
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Christian Kamm
f02a852f21
C++ completion: Skip Q_PROPERTY and Q_ENUMS symbols.
...
Reviewed-by: Erik Verbruggen
2011-01-07 09:53:49 +01:00
Christian Kamm
283a3d32cd
Qml/C++: Fix performance problem with type extraction.
...
By moving the offending code into a background thread.
Reviewed-by: Erik Verbruggen
2011-01-06 15:02:06 +01:00
Christian Kamm
ab642bc820
QmlJS: Add refcounting to FakeMetaObjects.
...
Previously they were leaked when a qmldump or the C++ exported QML
type list updated.
Just deleting the previous FakeMetaObjects is not an option, as they
might still be used in a QmlObjectValue owned by an Engine.
Reviewed-by: Erik Verbruggen
2011-01-06 15:01:09 +01:00
Christian Kamm
12f2a0fbda
Qml/C++: Disable qmlRegisterType exposing until performance is better.
2011-01-05 10:29:46 +01:00
Christian Kamm
0194da7300
Qml-C++: Find C++ qmlRegisterType calls and populate QML code model.
...
Reviewed-by: Erik Verbruggen
2011-01-04 15:58:22 +01:00
Christian Kamm
16542241c9
C++: Add parsing of Q_PRIVATE_PROPERTY.
...
Reviewed-by: Roberto Raggi
2011-01-04 15:58:22 +01:00
Christian Kamm
5f50a6ae34
C++: Move the ModelManagerInterface from CppTools to CPlusPlus.
2011-01-04 15:58:21 +01:00
Christian Kamm
87c8cbf44c
LanguageUtils: Introduce new library for cross-language utils.
2011-01-04 15:58:21 +01:00
Roberto Raggi
207c295552
Sort the completion items when searching for common prefixes.
...
Reviewed-by: Thorbjørn Lindeijer
2010-12-20 16:15:49 +01:00
Nicolas Arnaud-Cormos
f5fbbbfd4f
New plugin: plugin macro
...
This plugin let the user record and replay some macros:
* 3 handlers: action, find and texteditor
* almost all texteditor and cpp actions recorded
* options page to set the directories where the macros are stored
* optional dialog to give a name and comment at the end of a macro
* locator integration to play a macro
* shortcuts assignment to macro
The most important change outside the plugin macros is the isScriptable method
for command: All scriptable commands can be stored in a macro.
Merge-request: 2176
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com >
2010-12-20 11:16:15 +01:00
con
23c22b7c66
License headers, part 2
2010-12-17 17:14:20 +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
Thorbjørn Lindeijer
308b0be678
Avoid skipping the closing parenthesis when completing with '('
...
When the user types '(' then he'll likely also type the matching ')',
in which case skipping the automatic closing parenthesis is annoying
because you would end up with two of them.
Reviewed-by: Roberto Raggi
2010-12-16 14:43:57 +01:00
Roberto Raggi
b4e421062f
Removed stray tokens and fixed warnings/errors when compiling with pedantic C++ compilers.
2010-12-16 12:05:48 +01:00
Roberto Raggi
8069c1745e
Don't popup the automatic completion box when the identifier under cursor is a complete valid word.
2010-12-14 11:50:49 +01:00
Leandro Melo
1175705bfc
Snippets: Make it easier for plugins to add snippets groups
...
Groups are no longer enum values but identified from snippet providers.
2010-12-08 17:22:13 +01:00
Leandro Melo
7528c6d617
Snippets: Feature enhancement start...
...
Provide an interface so users can create/edit/remove snippets.
2010-12-08 17:22:07 +01:00
con
519b544f62
Merge remote branch 'origin/2.1'
...
Conflicts:
doc/qtcreator.qdoc
src/plugins/qmldesigner/designercore/instances/nodeinstance.cpp
src/plugins/qt4projectmanager/qmakestep.cpp
src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
src/plugins/qt4projectmanager/qtversionmanager.cpp
2010-12-08 10:57:21 +01:00
hjk
b9f92c29a0
vcsmanager: coding convention
2010-12-08 07:58:23 +01:00
Leandro Melo
770a6a79f1
C++ editor: Don't sort global completions for performance reasons
...
Reviewed-by: Roberto Raggi
2010-12-06 11:56:43 +01:00
con
773343f396
Delay widget creation of options pages till their category is shown
...
Also add the alternative way: IOptionsPageProvider, which states
a category, and is asked for a list of options pages for that
category when it is shown.
Task-number: QTCREATORBUG-3131
2010-12-06 11:18:58 +01:00
con
a9c803d310
Version bump.
2010-12-02 10:38:04 +01:00
Christian Kamm
c5c4bacda9
C++ indenter: Fix labels.
...
Reviewed-by: Roberto Raggi
2010-12-01 10:22:41 +01:00
Oswald Buddenhagen
f3b5c98bf5
Merge remote branch 'origin/2.1'
2010-11-23 15:44:58 +01:00
Friedemann Kleint
e94990f15e
Code model: Fix endless loop in AbstractEditorSupport::functionAt
...
used by CDB debugger tooltip (introduced by
A 354b9712e4 ).
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com >
Rubber-stamped-by: dt
2010-11-22 15:10:20 +01:00
Christian Kamm
7a616d5896
C++ indenter: Align to next token instead of end of current.
...
Task-number: QTCREATORBUG-3136
Reviewed-by: Erik Verbruggen
2010-11-22 10:09:39 +01:00