Don't instantiate repeating boilerplate item data in some
cases (such as large arrays).
This makes it necessary to access parent WatchItems in
a lot more cases than before and needs another separation of
WatchItem/WatchModel code to keep the dumper autotests
in a functional state.
For a plain std::vector<int> with 1 mio items this reduces
extraction time from more than 2 minutes to about 3 seconds.
Change-Id: I175c5f6ee90434a6e85342d8bb71bd10a04dd271
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This completes the revert of
commit 89d8693107.
Change-Id: I359ce87b0d29dc242c9ee9d7c04e025859ff5b31
Task-number: QTCREATORBUG-15456
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
The new syntax is not exactly QML but very similar.
Change-Id: Id08a73cd26923a146429282809f2a5cc6f201d39
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Sometimes my brain is a junk room where I found the most wondrous bugs.
Change-Id: Ic3a29152fed564d405ee1251ff69ee57cf10ae36
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
When a first class member is entered for a selected class
the members are automatically shown on the current diagram.
Change-Id: I339df96f5aff165508e890fcda48e7078a859e18
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
The parser of class member source accepts new qualifiers,
some more Qt keywords and member initialization.
Change-Id: I4ebff8f13f856527a1d4fcc168207c50ae43b147
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This patch provides the basics for detecting the googletest related
code.
Change-Id: I34da3e02596cdc0805f79633ecf2176807390fc1
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
2.5 was the maximum, till now. Qt 5.6 comes with QtQuick 2.6.
Change-Id: I110399539992423684ecd270e172cc3605123683
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
FakeMetaObject::describe and FakeMetaProperty::describe used to print
booleans as '000' and '001'. Now they are printed as 'true' and
'false'.
Change-Id: I1deb6e614d062146989a9acf10a20a1f7ce48560
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
The 'invisible' flag is only ever used in the VariableChooser,
which iterates over visible descriptions. Not registering the
descriptions of the unwanted variables serves the same purpose
and simplify the code.
Change-Id: If5c38bc9b61ca66dae5068983181ec1a85a2c8e6
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Even without the stack, the user can find interesting stuff by exploring
the memory, globals etc.
Change-Id: I867d26b09a45425d97c4f3ef6d0528074c25e75f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
On Linux systems, GDB may produce localized output of
float/double variables, which inhibits changing the
display format in Creator.
Task-number: QTCREATORBUG-12800
Change-Id: Ic042979c78319ff029f08a8766c8719c46052374
Reviewed-by: Jochen Becher <jochen_becher@gmx.de>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
There have been several requests on the mailing list or the
bug tracker to support parsing warnings for alien compilers
(sometimes slightly modified GCC).
Instead of natively supporting every compiler, users of less
frequently used compilers should use the custom parser to
parse errors and warnings.
The output channel filter for error and warning parser allows
to scan standard output, standard error or both channels.
Also added tests for twisted capture positions.
Task-number: QTCREATORBUG-11003
Change-Id: I5a5bd6f88cf21cde1c74962225067d4543693678
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
so far, we would suppress any errors which occur during the (exact)
evaluation of projects which were included only by cumulative evaluation
of a parent project (see f53d37d48). this makes sense, as excluded
projects are likely to fail, producing unsettling noise on the way.
however, having no indication at all why a subproject failed to load is
not helpful, either. so print these errors, but tag them with a prefix.
note that we continue to suppress messages from the cumulative
evaluation of all projects, including from the exact evaluation of .prf
files done even in this mode. this is done because this output is
expected to be quite noisy and unhelpful. however, it can be argued that
this isn't a wise choice for projects which are known to likely fail for
reasons which would not impact our ability to show (an approximation of)
the project in the project explorer. for the time being, we assume that
the expected errors occur later on (typically during the .prf evaluation
phase due to unknown QT entries), so an unexpected error which would
also affect the cumulative evaluation is displayed nonetheless.
Change-Id: Idc2675744169b7cb52c0542a80075850e2b9317c
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
we evaluate prf files precisely even when the pro file is evaluated
cumulatively. the message handler should know the mode a message is
reported in.
this just syncs up with qttools/08d0cb6f8e90a818bf6d3bec7a6d00f16419b8c0
and qttools/ea1a5c3534f089c0e704808a0fb029eda8f753b4 without
user-visible effect.
Change-Id: Ia14953a5a9dc31af56ad6c338017dd5b85bb4494
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
while we evaluate the features themselves in precise mode (which is the
reason why they can error out), we do not want them to terminate
cumulative project evaluation.
Change-Id: I70f3e1bcb2ca04a70c74ff484749ca92c1cf6372
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
(cherry picked from qttools/90ee4094161b427c32581bca2f5286edb4fffdb1)
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Debugger and stub run locally, the debugged process not necessarily.
Change-Id: Ibf6aec3dcaec60069866ec0765ec2178ca0a26d6
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
After selecting a new diagram from the pop-down menu the
open-parent-diagram action was not immediately available
because the model editor context is no longer the active one.
With this change the action is registered in global context.
Change-Id: Icf6fc0408916a3e22d2f19e7a09ab24fcf20a867
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Alignment lines (pressing Shift during dragging of items) only works on
moving not resizing elements and has some problems with showing correct
position and pressing Shift without moving mouse.
Change-Id: I0b534cfcb8aff6df2cb50d1b23456bfccb39f073
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Some special characters in member declarations (like '<')
must be translated to HTML ('>').
Change-Id: Idb82945e494e9b650e3158dbd5169799dfd81170
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
If the model contains a configuration path to a configuration file
(or a directory of configuration files) the configuration is loaded
for that model only. The file path may be relative to the model file.
No UI support for this feature yet.
Change-Id: Ia3615da3e57fc4731926a5970ba1b2f741d64e21
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
warning: 'stateToRemove' may be used uninitialized in this function [-Wmaybe-
uninitialized]
I know it doesn't make sense...
Change-Id: I26239fc58ea238f835cc88501e89e682ad402e85
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
The source files are in /usr/src/g{test,mock}, the includes in /usr/include
They were also swapped.
Change-Id: I2a9ad84f8d29a0873a4e568f4b21a198c70d948c
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
The same constants appear in projectexplorerconstants.h,
from where they are used in selectablefilesmodel.cpp.
Change-Id: Iedeb30747b80e3d9d14a684d4b480400670bc6e3
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
The line is short enough to fit on one line.
Otherwise, curly braces would be necessary.
Change-Id: Iaab9ba5b45922a8d41fbdb43d4629863ea19db78
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>