Commit Graph

60 Commits

Author SHA1 Message Date
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
& would turn up in the tooltips due to them being escaped but not
interpreted as HTML.
2010-04-21 14:55:08 +02:00
Thorbjørn Lindeijer
01a0ec161c Fixed unwanted wrapping of code editor tooltips
Turns out the <nobr> actually caused wrapping in some cases because the
tag made the QToolTip turn on its wrapping feature due to the text being
rich text. So avoid adding it to plain text tooltips unnecessarily.

Reviewed-by: hunger
Task-number: QTCREATORBUG-1169
2010-04-15 19:16:37 +02:00
Christian Kamm
915a07bdbb CppEditor: Fix context sensitive help for namespaced libraries.
If the generated documentation doesn't contain the namespace name,
we failed to look up the correct help page.

Task-number: QTCREATORBUG-946
Reviewed-by: Erik Verbruggen
2010-04-06 13:32:59 +02:00
con
6bd7a5a17d Fixes: Tooltips for hover help didn't show up anymore.
Reviewed-by: Thorbjørn
2010-03-23 18:24:59 +01:00
con
ab74d23848 Avoid pulling in the svg plugin. 2010-03-05 16:03:31 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
kh1
0521722bd5 Set auto save filter to false, it triggers an unnecessary db write. 2010-03-04 18:48:49 +01:00
Friedemann Kleint
f672bff338 Fix some code scanning issues.
foreach()-Loops.
2010-02-01 14:00:07 +01:00
Roberto Raggi
14376c3c32 Initial work on the new CPlusPlus::Snapshot.
Encapsulate the details.
2009-12-07 10:54:27 +01:00
Roberto Raggi
7c7ce13ac0 Use const names. 2009-12-01 12:46:23 +01:00
Roberto Raggi
fade61a8a9 Use const literals. 2009-12-01 11:46:36 +01:00
mae
32d0bc1ff2 some tuning of the layer extra selections
Remove overlap. Add extra selection tooltips for the cpp hover handler.
2009-11-30 17:24:06 +01:00
Roberto Raggi
ecf40d2426 Get rid off QPair<FullySpecifiedType, Symbol *>. Use LookupItem intead. 2009-11-17 14:24:09 +01:00
Christian Kamm
3e953b0323 Check for null scope when hovering.
Fixes a segfault when hovering over QtCleanUpFunction in
qcoreapplication.h.

Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2009-10-26 10:35:10 +01:00
Roberto Raggi
7a2d4a7797 Fixed possible crash when building the helpId 2009-10-14 13:35:25 +02:00
Roberto Raggi
926144dcea Prefer Classes to constructors when building the `help id' 2009-10-09 10:27:54 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Thorbjørn Lindeijer
45a15057e4 Fixed name of local variable 2009-07-22 16:10:58 +02:00
Thorbjørn Lindeijer
f65844b7a1 Attempt to resolve a help id even when showing a diagnostic error
Makes context sensitive help work for valid expressions that happen to
be part of a marked diagnostic error. However, for now you still can't
get documentation for expressions that don't resolve.

Also, context sensitive help now also works for includes where possible.
2009-07-22 16:08:58 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Thorbjørn Lindeijer
7403fe681c Fixed crash in the cpp hover handler
Didn't check whether the lookup actually returned a valid symbol before
accessing the name.

Reviewed-by: Roberto Raggi
2009-06-12 15:45:35 +02:00
Thorbjørn Lindeijer
f5e7fb9cbb Corrected name of .config editor 2009-06-12 15:45:35 +02:00
Roberto Raggi
f17a81c9c9 Fixed helpId and tooltip for member declarations. 2009-06-11 17:03:29 +02:00
Alessandro Portale
b13e19ef61 Don't annoy Windows users with alien dir separators 2009-04-15 17:42:04 +02:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Roberto Raggi
59624d91a1 Set the resolved symbol (it needs some cleanup). 2009-02-16 19:07:22 +01:00
Roberto Raggi
fa216de41c Improved the C++ hover handler.
Done with: bjorn
2009-02-16 18:21:05 +01:00
Roberto Raggi
ba78e075da Introduced support for forward class declarations. 2009-02-16 18:20:46 +01:00
Roberto Raggi
0b4802c682 Fixes: Possible crash in buildHelpId 2009-02-13 17:43:26 +01:00
Roberto Raggi
9a5e1918a1 Fixes: Check for 0x0 access. 2009-02-11 10:01:36 +01:00
Thorbjørn Lindeijer
a33ae02927 Revert now unnecessary checks for null-types
This reverts commits:

c721304a47
885d908ea3
a0909989f7
fb4ad59ddb
0a9a67cf54
0d1624d4d1
d018cfd5cb
0504fdd00b
a2fd10fe19

Conflicts:

	src/plugins/cpptools/cppcodecompletion.cpp

Reviewed-by: Roberto Raggi
2009-02-10 17:41:04 +01:00
Thorbjørn Lindeijer
885d908ea3 Fixed two crashes with C++ engine handling
These checks are necessary cause of a recent change in the C++ engine.

Reviewed-by: Roberto Raggi
2009-02-10 13:56:13 +01:00