Commit Graph

91 Commits

Author SHA1 Message Date
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
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
bcaf20319d C++ editor: Try to find a help item if there is a syntax error
Task-number: QTCREATORBUG-2674
2011-01-17 16:35:04 +01:00
con
d1023c7614 It's 2011 now.
Reviewed-by: hjk
2011-01-12 09:46:24 +01:00
Christian Kamm
5f50a6ae34 C++: Move the ModelManagerInterface from CppTools to CPlusPlus. 2011-01-04 15:58:21 +01:00
con
04e32b0049 License headers. 2010-12-17 16:03:42 +01:00
Leandro Melo
922e8e7866 Help: All candidates (considering name qualification) are already in the list.
The C++ hover handler should just iterate over the list of candidates, since
it was created by the element evaluator considering all possible name qualifications
and in the right order.

Reviewed-by: kh1
2010-10-01 11:58:02 +02:00
Leandro Melo
3e104ce405 Tooltips: Do not show -qtnamespace (if any) in the tips.
This is basically for consistency with the docs and with the html
extraction mechanism.

Reviewed-by: Roberto Raggi
2010-10-01 11:58:02 +02:00
Leandro Melo
6d3539962f Tooltips: Make sure tooltip is escaped (for rich text) when appending html. 2010-09-23 10:32:05 +02:00
Friedemann Kleint
d6057ae600 Header cleanup in coreplugin, part 1 2010-09-16 12:26:28 +02:00
Leandro Melo
ba876ffd48 Improve editor's tooltip. Wrapping hack should no longer be necessary.
Also some less significant improvements.
2010-09-01 12:16:38 +02:00
Leandro Melo
67d0ab3fac Remove option to extend tooltips. 2010-08-31 19:04:52 +02:00
Leandro Melo
ba12a3390e Refactor how base hover handler manipulates the help items (qt docs interaction). 2010-08-31 19:04:52 +02:00
Leandro Melo
f79187ca97 Create type hierarchy widget; Refactor code from C++ hover into a simple reusable model.
Hierarchy information removed from tooltips now.
2010-08-13 16:44:59 +02:00
Roberto Raggi
354b9712e4 Merged ScopedSymbol and Scope. 2010-08-11 15:25:18 +02:00
Leandro Melo
b61dbac6ff Fix potential endless recursion in C++ hover handler.
To catch cases of invalid code like this:
struct A : B {};
struct B : A {};

Reviewed-by: Roberto Raggi
2010-08-05 11:46:44 +02:00
Leandro Melo
ced86184fa Create a base hover handler. 2010-08-03 15:49:32 +02:00
Leandro Melo
1530273671 Color tip for QML; Start of a bit more extensible tooltip class. 2010-08-02 14:56:55 +02:00
Leandro Melo
28be7bc4b4 C++ tooltip: Make sure to get the correct list of base classes. 2010-07-28 16:37:28 +02:00
Leandro Melo
a1b36cf4a2 C++ tooltip: Resolve variable declarations to their named types. 2010-07-27 09:43:22 +02:00
Leandro Melo
0ccdbbc91d C++ tooltip: Integration with Qt docs always on (for showing brief descriptions).
The old integration option is now used to switch to extended descriptions.
2010-07-22 12:03:51 +02:00
Leandro Melo
5a1983f924 C++ tooltip: Integration with qdocs now only with 4.7 html marks. 2010-07-22 12:03:51 +02:00
Roberto Raggi
b94821b6a9 Get rid of the deprecated method Overview::setShowFullQualifiedNames(). 2010-07-21 12:50:24 +02:00
Leandro Melo
2d2ea660b0 C++ tooltip: Arrow diagrams to show inheritance. 2010-07-20 12:59:25 +02:00
Leandro Melo
b25a4a6349 C++ tooltip: Changes in formatting extracted html. 2010-07-20 12:59:25 +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
Thorbjørn Lindeijer
5652337785 Some adjustments signed/unsigned 2010-07-14 15:01:32 +02:00
Leandro Melo
9e3e5b4b6f C++ tooltip: Fixing name qualification.
To conform with recent changes that affected LookupContext::fullyQualifiedName.
2010-07-14 09:19:59 +02:00
Friedemann Kleint
e8c0d0c162 Yet another include purging spree. 2010-07-13 16:36:37 +02:00
Leandro Melo
3ed60eaa6c C++ tooltip: Option to integrate Qt docs into tooltips. 2010-07-13 14:46:06 +02:00
Leandro Melo
a4cd93889f C++ tooltip: Display macro tooltip only if hover is actually over the macro name. 2010-07-13 14:46:05 +02:00
Leandro Melo
123c10a77b Re-write of cpp hover handler and tooltip integration with qtdocs. 2010-07-12 14:29:02 +02:00
Erik Verbruggen
e3e8b1a5c0 Removed the TokenCache. 2010-07-02 11:18:51 +02:00
con
ede2a7c975 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	share/qtcreator/gdbmacros/dumper.py
	src/libs/qmljs/qmljs-lib.pri
	src/plugins/debugger/breakhandler.cpp
	src/plugins/projectexplorer/projectexplorer.h
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.h
2010-06-30 14:25:09 +02:00
Robert Loehning
5f1af52af8 Fixed unwanted line breaks in tool tips.
Task-number: QTCREATORBUG-1169
2010-06-25 12:22:28 +02:00
Erik Verbruggen
e42ca194c5 Introduced token caching to prevent repetetive tokenizing.
Also removed TokenUnderCursor as it's functionality is in the token cache.

Reviewed-by: ckamm
2010-06-14 10:10:05 +02:00
con
30fae3eab1 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/projectexplorer/taskwindow.h
	src/plugins/qmldesigner/designercore/model/modelmerger.cpp
	src/plugins/qmljseditor/qmljshoverhandler.h
	src/plugins/qt4projectmanager/Qt4ProjectManager.pluginspec
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp
	src/plugins/subversion/subversionplugin.cpp
2010-06-11 16:30:39 +02:00
kh1
1b6ad08795 Move help manager into core.
- lessens open file handles
 - improves help plugin startup further

Task-number: QTCREATORBUG-337
Reviewed-by: ck
2010-06-11 13:11:37 +02:00
Erik Verbruggen
424b9724d6 Revert "Introduced a token cache for the C++ editor."
This reverts commit c2393df023.
2010-06-04 12:37:26 +02:00
Erik Verbruggen
10ed2c536e Fixed hidden parameters. 2010-06-04 11:15:38 +02:00
Erik Verbruggen
c2393df023 Introduced a token cache for the C++ editor.
This should speed things up a bit, because before, the line was tokenized at
least 3 times.
2010-06-04 09:36:05 +02:00
hjk
5806009d29 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/debugger/debuggermanager.cpp
	src/plugins/texteditor/basetexteditor.cpp
2010-06-02 09:57:23 +02:00
Thorbjørn Lindeijer
c15a2bcd22 Fixed context help for Qt includes
Was broken in 915a07bdbb, which caused
help links only to be resolved for expressions under the cursor.

Task-number: QTCREATORBUG-159
Reviewed-by: ckamm
2010-06-01 13:33:35 +02:00
Roberto Raggi
517e04ff60 Reenabled the tooltip. 2010-05-14 13:55:23 +02:00
Roberto Raggi
60f76c96e8 Improved LookupItem and get rid of some deprecated code. 2010-05-14 13:55:21 +02:00
Roberto Raggi
d9527680a9 Try to use the new LookupContext. 2010-05-05 16:36:46 +02:00
Roberto Raggi
32a84df5c0 Deprecated the current LookupContext. 2010-05-05 16:36:44 +02:00
Thorbjørn Lindeijer
8999b35fcf Only escape the code tooltip when it is used as rich text
Since the fix in 01a0ec161c, sometimes
&amp; would turn up in the tooltips due to them being escaped but not
interpreted as HTML.
2010-04-21 14:55:08 +02:00