Commit Graph

233 Commits

Author SHA1 Message Date
kh1
6a98c17147 Implement topic highlighting after e.g. F1.
Task-number: QTCREATORBUG-1765
Reviewed-by: ck
2010-07-13 13:30:39 +02:00
kh1
2cd7c7b8c8 Force engine setup.
If we where not in full help mode at least once, the engine
would still run without valid help collection due to the new
lazy initialisation, thus the right side pane would not be
able to retrieve the requested help file.

Reviewed-by: ck
2010-07-08 10:43:01 +02:00
kh1
b546e979d3 Force engine setup.
If we where not in full help mode at least once, the engine
would still run without valid help collection due to the new
lazy initialisation, thus the right side pane would not be
able to retrieve the requested help file.

Reviewed-by: ck
2010-07-07 11:26:59 +02:00
kh1
8f76baa647 Fix the missing call to register the qml and internal help files. 2010-06-29 10:48:52 +02:00
kh1
5337667cc4 Fix the missing call to register the qml and internal help files. 2010-06-29 10:44:14 +02:00
hjk
f56dacc76f Core::Context: remove special handling of C_GLOBAL_ID/C_GLOBAL 2010-06-28 14:30:03 +02:00
hjk
2f5f358ff4 Core::Context: compile hot fix for Windows. 2010-06-25 17:38:25 +02:00
hjk
c7e8b51d37 core: use a class derived from QList<int> instead of a QList<int> for Core::Context
A mostly mechanical change.

Reviewed-By: con
2010-06-25 12:58:07 +02:00
con
af44136e22 Merge remote branch 'origin/2.0'
Conflicts:
	doc/qtcreator.qdoc
	src/plugins/help/helpplugin.cpp
	src/plugins/projectexplorer/projectexplorer.cpp
	src/plugins/projectexplorer/projectexplorer.h
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecontents.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecontents.h
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationstep.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemopackagecreationwidget.cpp
	src/plugins/qt4projectmanager/qt-maemo/maemoruncontrol.cpp
	src/tools/qml/qmldump/main.cpp
2010-06-24 11:40:22 +02:00
kh1
38b2ffce04 Fix missing help plugin shortcuts.
Reviewed-by: ck
2010-06-21 13:27:42 +02:00
Erik Verbruggen
05639e4688 Merge branch 'origin/2.0' (early part) 2010-06-15 11:30:51 +02:00
kh1
7d4bbf4934 Allow http request to be opened in the help plugin.
Reviewed-by: ck
2010-06-14 14:34:32 +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
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
Daniel Molkentin
a7f1e80322 Do not try to force a version, this heuristic breaks too often.
Reviewed-by: Leena Miettinen
2010-05-31 13:57:34 +02:00
kh1
9960008f77 Some translation fixes and reuse some existing constants.
Reviewed-by: ossi
2010-05-31 12:39:41 +02:00
Lasse Holmstedt
7ba6fc8834 Fixed localization issues with SideBar
When changing the language, the sidebar items would break because
their localized window titles were used for storing the settings. Now,
id's are used.

Reviewed-by: con
2010-04-29 13:50:21 +02:00
con
ca14299790 Rename IPlugin::shutdown --> IPlugin::aboutToShutdown
Discussed-with: hjk
2010-04-28 17:32:01 +02:00
kh1
c908da836f Fix handleHelpRequest.
* Make sure we only change our own urls inside that function
* QDesktopService::setUrlHandler expects the target slot to take a QUrl

Reviewed-by: ck
2010-04-28 15:07:06 +02:00
con
2958b0bae2 Cmd+0 is already taken for hiding the navigation sidebar. 2010-04-23 04:30:47 +02:00
Thorbjørn Lindeijer
407fa3c3d5 Added theme icon to the help contents action
Also put it at the top, since it looks better there with the icon.
2010-04-15 15:08:51 +02:00
kh1
a84b3b5291 Implement Ctrl+Tab/Ctrl+Shift+Tab support to cycle thru open pages.
Reviewed-by: ck
2010-04-12 16:13:58 +02:00
kh1
777153215a Remove some more webkit defines.
Font stuff is now handled completely inside the help viewer class.

Reviewed-by: ck
2010-04-06 17:50:19 +02:00
kh1
0628ca1957 Make the content item the default one.
To make the addition of the qml docs more prominent, make the content
item the default one as it shows all available documentation sets.

Task-number: QTCREATORBUG-1024
Reviewed-by: kkoehne
2010-04-01 14:52:40 +02:00
kh1
edcefd69ad Implement tabless help mode, behaves now like edit mode. 2010-03-30 17:51:46 +02:00
con
221f63205a Fix leak in help plugin.
Reviewed-by: kh1
2010-03-24 11:39:17 +01:00
kh1
6ac6be5db2 Rewrite of the whole help modul initialization.
We now do as much as possible lazy initialisation, e.g only start the
full text search indexer if we really access the search widget. Also
moved the QFutur progress into the search widget. Changed all ctors to
be called without an argument, since we share the help engines from
help manager all over the place. Make use of the fact that we only need
to call setupData on the gui engine if we access the help mode, otherwise
all data is fetched thru the core engine whichs setupData is really fast.
2010-03-23 18:13:12 +01:00
kh1
c3326eb627 Implement our own search for keywords using QSql.
Currently we can only retrieve a list of keywords from the help index
model, which is slow and needs a fully setup gui help engine. This needs
to be implmeneted in the help lib though.
2010-03-23 18:13:10 +01:00
kh1
42e01eaaab Move the constants where they belong. 2010-03-23 18:13:07 +01:00
kh1
fa32d9a9d0 Make use of the core engine, no need for gui stuff. 2010-03-23 18:13:04 +01:00
Friedemann Kleint
bbcacaf59f Header cleaning spree in Core/Debugger and Symbian/Maemo-code of Qt4. 2010-03-18 10:59:06 +01:00
kh1
54be2fed8a We need to create the right pane also in case we handle a help request. 2010-03-16 19:33:25 +01:00
kh1
3357458101 Some more refactoring, reuse existing code.
Reuse the core help engine in the settings pages. Do not setup the gui
help engine at all since any getter will do so. Split update documentation
into smaller pieces for better performance.

Reviewed-by: ck
2010-03-16 15:54:41 +01:00
kh1
37871bc43c Lazy reset the unfiltered filter.
Reviewed-by: ck
2010-03-16 15:54:40 +01:00
kh1
c06323032a Lazy instantiate the right side pane and reuse core engine.
Reviewed-by: ck
2010-03-16 15:54:39 +01:00
kh1
3cd98b3387 Make use of the core engine in the general settings page.
Reviewed-by: ck
2010-03-16 15:54:38 +01:00
Tobias Hunger
999323c032 Fix DOCPATH on non-Mac builds
Reviewed-by: kh1
2010-03-11 12:20:33 +01:00
Robert Loehning
cfbd84639d Compile fix 2010-03-10 21:45:40 +01:00
kh1
0ec23fefd1 Fix split mode after last change for welcome page examples.
We need to append "?view=split"to force the split mode check. Make the
check more readable in viewerForContextMode.
2010-03-10 18:42:13 +01:00
kh1
4e7bbbdaaf Fix broken behavior for welcome page links if no docs are installed.
In case of split mode we did not check if the actual requested doc
exists and thus did fail to open the browser if it could not be found.

Reviewed-by: Daniel Molkentin
2010-03-10 18:42:12 +01:00
kh1
98a0663e0d Don't open a help page while swtiching to 'Contents'. New default home.
Reviewed-by: ck
2010-03-10 15:03:55 +01:00
kh1
b748f99c69 Lazy start the full text search indexer. Fix missing progress for more
the one run of the indexer.

Reviewed-by: ck
2010-03-05 16:09:19 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
kh1
23a876c5c0 Some more improvements for the startup time.
After this change and the change we did to 4.7, we are down to ~100ms
time in extensionsInitialized on Windows, should be even more on Linux.
2010-03-04 18:48:51 +01:00
kh1
9426caeeed In case we remove docs, but do not add some we need to setup too. 2010-03-02 18:05:01 +01:00
kh1
a53594cf80 Implement index documentation progress bar and make it interruptible.
Reviewed-by: ck
2010-03-02 10:55:26 +01:00
Kai Koehne
6c4b9ba227 Reapply unconnected changes from reverted commit
Only revert stuff that is linked to fast string concat.
2010-02-08 11:13:55 +01:00
Kai Koehne
999c73ad9d Revert "compile everything with QT_USE_FAST_CONCATENATION"
This reverts commit e70530c5ad. It
did break builds on older gcc versions (gcc 4.1.2 64 bit Linux,
gcc 4.0.1 on Mac OS X):

parser/qmljsgrammar_p.h: In static member function ???static int
QmlJSGrammar::nt_action(int, int)???:
parser/qmljsgrammar_p.h:188: error: ???QmlJSGrammar::<anonymous enum>???
is/uses anonymous type
parser/qmljsgrammar_p.h:188: error:   trying to instantiate
???template<class T> struct QConcatenable???
...
2010-02-08 10:56:50 +01:00
Oswald Buddenhagen
e70530c5ad compile everything with QT_USE_FAST_CONCATENATION 2010-02-05 15:20:25 +01:00