Use native text rendering to get crisp fonts
Change-Id: I75ca9ae323f2e4bd60e080cdcc2a6d90f0234c33
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Ensure that the widget and the step's settings are in sync with each
other. Also don't restore the sign state since that leads to a password
prompt on restoring the project.
Task-number: QTCREATORBUG-10835
Change-Id: I4c3ead74e8caa6c87096c13173530a9c8ccae6aa
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
...for c style multiline comments and doxygens "///" and "//!".
Task-number: QTCREATORBUG-10856
Change-Id: I84a4f95ba9e676991484e45bb0f64be996ac3be9
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
Use \gui only for text that appears in the Qt Creator UI.
Use \c for code.
Change-Id: I263d7a6dae5ef77469c561b40847157b833e2016
Reviewed-by: hjk <hjk121@nokiamail.com>
* Update the target's information list when selecting
a manual configuration.
* Fix the target's name on Windows
as QNX_TARGET value uses Unix-like separator.
Task-number: QTCREATORBUG-10600
Change-Id: If1cd5ec2457c9f59f0290a74dd71fa4ffd0d73df
Reviewed-by: David Kaspar <dkaspar@blackberry.com>
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
qmljsviewercontext.cpp:80: warning: C4715:
'QmlJS::ViewerContext::languageIsCompatible':
: not all control paths return a value.
Change-Id: I22279ef7a43873b9c8f3d73d3826b59d5abaa390
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
The current implementation has been tested with a wrongly
configured qmake on windows. But the suffix should not be
appended.
Change-Id: I5f01637698a1fe2dca646eb08ed1b7bd2a1f56a7
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
QFileIconProvider already does some pixmap caching, but only in some
cases (non-executable, non-link). Since QFileIconProvider is expensive,
we want as much caching as possible.
It still should be investigated why it seems to be even more expensive
on OS X 10.9 in some cases though.
Task-number: QTCREATORBUG-10491
Change-Id: I5a0f995eafdced47dc6da869c72a1ca016b25f63
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
The fix in acca83add4 wasn't enough: One has to make sure that
even ~EditorManagerPlaceholder doesn't delete EditorManager implicitly,
since it's explicitly deleted in ~MainWindow.
Anyway, EditorManagerPlaceHolder::current() is never used, so we
can get rid of this static variable entirely and simplify the code
by just checking for EditorManager::parent() in the PlaceHolder
destructor.
Change-Id: I3a0374d20c9f3f9d2680cf8302953a336670fc8a
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This only affects MinGW where the feature triggered QTCREATORBUG-5200 in
the past. Right now the performance impact of c9c0f80 (fixing
QTCREATORBUG-10826) is unclear and no time to investigate. Trading the
feature for robustness seems in order. Power-users can remove the return
line in the script to get it back.
Change-Id: If5a30808b72969493e5f40dd0fcbafdcccec343e
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
For "includes" we should use snapshot from "SnapshotUpdater"(project
specific snapshot, not global snapshot) instead of "global" snapshot.
The snapshot of the editor's SnapshotUpdater contains the documents
parsed with the appropriate include paths/defines etc. and should
therefore be used for the include hierarchy.
Change-Id: I6bbaf5040536b771d32697aad1db364758ff8382
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
An unavailable display value doesn't mean an invalid index
Change-Id: I68baa09c9d6176dcd1a3f983ec375414292d7026
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
We need to wait for the document parser, otherwise the CppModelManager
object might get destroyed first and will be referenced later in
CppEditorSupport::parse().
Change-Id: I1b591640c1da3e63e49ac0b4b8af41aae31b3d43
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
Since grabMouse() is limited on Mac OS X, we cannot use
the custom drag and drop code anymore.
The icon stays visible.
Task-number: QTBUG-34201
Task-number: QTCREATORBUG-10414
Change-Id: I92009c34881d086049e50b0c9ef109a7149ac657
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
In case 2 VCS manage the same directory, topLevel will be the same
for both. Chopping tmpDir gives a wrong directory for the second VC.
Change-Id: Ie20c716cf8b713dae0d5d8ecc4c947f1c5029544
Reviewed-by: Knut Petter Svendsen <knutpett@pvv.org>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
See the below task for details:
Task-number: QTCREATORBUG-10575
Change-Id: I7756d8780b33ede4c3d4eac7e281c9eabfa47e35
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
We probably should completely skip the code in the cases where Qt
itself already propagates the object name to the underlying threads.
Task-number: QTCREATORBUG-10826
Change-Id: I7e9e5b7c990a270c8563e40c1fe1e900724c1e5c
Reviewed-by: Ryan May <ryan.may@eecradar.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Fixes a crash on exit in ~AnalyzerManager, where
EditorManager::instance() might be already 0.
Change-Id: Ie1d5aa5590d2dd763f5cb8c7e0a8a5e593fd2af6
Reviewed-by: Eike Ziller <eike.ziller@digia.com>