The submodule is mostly used for building against, not
for editing.
On most cases, its internal status is not interesting,
and git scans it for no reason.
Change-Id: Ic290bd78fdb6704a15264a022125c99cf006a0db
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Disallow keywords, and parts that start with a digit.
Task-number: QTCREATORBUG-9200
Change-Id: Ia8b42c3015393f3e76126e311eebb728425726b7
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
When doing splits while no document is open, the wrong unsplit icons
where set on the individual editor views (the ones next to the split
menu button and the close editor button).
This also happened when restoring sessions with splits.
Task-number: QTCREATORBUG-9121
Change-Id: I793670518eddee3e57fef5a4ac4a266edb450b14
Reviewed-by: David Schulz <david.schulz@digia.com>
Looking for using declaration when lookup a type
Task-number: QTCREATORBUG-2668
Change-Id: I11600c5be262840472dd4c9e72334760a35aa4a0
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Change-Id: I471f24bc65b393ee9d619198c1bb982cf93e2786
Reviewed-by: Mehdi Fekari <mfekari@blackberry.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
At this moment each project manager duplicates code that reads C++ code
model information from ProjectExplorer::ToolChain.
This change provides unified way.
Change-Id: If9ecfc40991aab90768dd69f5f10f31bbf5fbc21
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Now it provides information about C language standard and C++
extensions. No new behavior added to project managers.
Change-Id: Ib7c19641f452a75c9b14cd7e33d104dcd1603720
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This patches adds the tr checkboxes to all string in the
generated property sheets.
Task-number: QTCREATORBUG-9184
Change-Id: I4a3ff8120d7ccd5a6b9e11d212f955cd66ba01aa
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Removing an unused variable and fixing whitespace issues.
Change-Id: Ib410eb5b1d7be15a58817d000891ff3c12d129c0
Reviewed-by: David Schulz <david.schulz@digia.com>
Test cases are examples from
Working Draft, Standard for Programming Language C++
Document Number: N3242=11-0012
Change-Id: I624c315943d6a00e821abb52eef6e0ff4a40f0d7
Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
To be used for "amend previous commit" feature
Change-Id: Id1190d67bdd1a3dd3866a6a0f9d41be5f9baaa4a
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Add platformCodegenFlags and platformLinkerFlags to gcc toolchain.
This also improves support of compilers (like clang) that can support
different architectures by passing the correct flags, but are not
detected without passig them.
Change-Id: If707558e704f554f27fde7948f7601c5d11835ce
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Ran script to remove inludes on a trial-and-error basis and
manually corrected it.
Change-Id: I8a2e9e35980198fc4162623db044c228bd209a0f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Removes another algorithm that was starting from the root and took the
whole tree into account.
Instead, make findNextView a method of EditorView, and avoid any
explicit usage of a single root splitter.
Change-Id: I343030521472741a8dfd7134ed16d9beeb10d10a
Reviewed-by: David Schulz <david.schulz@digia.com>
For finding the "parent" SplitterOrView it's much easier to go up the
parent hierarchy than doing a depth-first search from the root.
Change-Id: I4c8e195dae2d1f834fb89ab3c213bad5a0fa7d2a
Reviewed-by: David Schulz <david.schulz@digia.com>
Otherwise we skip items derived from types only available via imports.
Change-Id: I102a4843652029dff777e12594efc4d5e5e50999
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
Actually "." properties can recurse infinitely.
If a type MyType has the property parenType of MyType and
it is a read only pointer, we get an infinitely recusion into
"." properties.
parentType.parentType.parentType...
Actually this seems to be valid QML and is really the case with Menu.
(In the private API though, indicated by "__")
Since we enumerate "." properties in the Qt Quick Designer, we
run into an infinite loop.
I just cut the recursion at level 3.
So we stop at myParent.myParent.myParent which I think is reasonable.
Change-Id: I80866ace00f940000407cc25cec9ad6fac8b6fee
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
We should follow the engine and set the QObject parent first.
Actually some items (e.g. menus) do not like it differently.
A note: The engine seems to always set the QObject parent even for items.
Change-Id: I700e8802300b8eee093f73ea11e07c4cdb0338aa
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Emitting the Component.onComplete signal.
This is only available in Qt 5.1
Change-Id: I77503333296cccd9999d2610cca126530f777777
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
We follow the QmlEngine/VME and always set the QObject
parent before reparenting into list properties.
Also we set the QObject parent for all objects.
See qqmlvme.cpp line 622
QQml_setParent_noEvent(o, parent);
Change-Id: If889e6cc07e99ea443b80de13c4be9dce6c2ceee
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
The slowness is due to AndroidToolChain::addToEnvironment() being called
a lot on project opening. Thus we need to avoid any file opening or
process on loading.
This patch does 2 things:
a) It removes the call to sdkTargets() which is unneeded. That actually
checks which avds are available.
b) It caches the target sdk inside a named target setting. That means,
we assume that the file does not change behind our backs.
Task-number: QTCREATORBUG-9164
Change-Id: I9287934a0624db0b3e8318b8cf76e605418850c2
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
The Bar descriptor editor now uses the PanelWidget with PropertiesPanels
instead, to make it more similar to the rest of the Qt Creator UI.
Split the BarDescriptorEditorWidget class into multiple, smaller,
classes. Also moved the Entry Text & Images panel to the General tab,
as the Application tab was getting too crowded.
Change-Id: I691ccf3638aaad4b5f0ad0d040094f2144d2cec0
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Change 48b9747550 caused an
empty string to be passed as argument, resulting in "invalid
revision ''".
Change-Id: I0bcfad3f64298f0d14b00347bc12f42c3c00270e
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Now both dynamic and snapshot views are supported under both
Unix/Linux and Windows.
The implementation is based on "cleartool pwv" which gets the
working view.
Change-Id: I0d21d2c84fae4a641a3bac8b1087cfeffb89c447
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Now both dynamic and snapshot views are supported under both
Unix/Linux and Windows.
The implementation is based on "cleartool pwv" which gets the
working view.
Change-Id: I0d21d2c84fae4a641a3bac8b1087cfeffb89c447
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Knut Petter Svendsen <knutpett@pvv.org>
The patching of imports and plugins is done automatically by macdeployqt,
we need to pass it the qml2puppet executable though.
Also add Qml2Imports to the qml(2)puppet's qt.conf.
Task-number: QTCREATORBUG-9136
Change-Id: I9cb21d104f4c0c42531facfc6bc92fa9663e95a9
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
The user is now asked where to store the generated SSH key,
before it is generated, and if that would fail, is still
enabled to select a different key.
Task-number: QTCREATORBUG-9101
Task-number: QTCREATORBUG-9102
Change-Id: I8e2f732dbcbe7bd3bd3fa9b512a7a195fa868c17
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Mehdi Fekari <mfekari@blackberry.com>
Redo the Attach dialog to use Kits. This is in sync with
the Valgrind Attach dialog.
Change-Id: Iaf0c8bc2c5a912b6a93ed21b9757a074a60041c0
Reviewed-by: Christiaan Janssen <christiaan.janssen@digia.com>
Fixes the following pattern:
Subject
# comment
Another line - considered as subject
Change-Id: I708521efde886c6f5be748795251ce0aafc8f590
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Italic is harder to read, especially when there are many of them
Change-Id: I15bf054356a996308820e5c7969041933aeb538a
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>