Be careful if you use a private smart pointer.
Change-Id: Ia78583b080c8d936d98517c55d3294d3040f8cdb
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
With the line number filter with "<line>:<column>"
Change-Id: Ie8832fb1e218fe78cc40885da24716e844974924
Reviewed-by: David Schulz <david.schulz@digia.com>
This takes care of "unusual" contents.
Change-Id: I5e9ce2066281d169e88a58e85e6d4dd590760e2a
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
QWeakPointer is deprecated for tracking QObjects in Qt 5.
Change-Id: I3e9089b25f43b42a478aa4cd4073cbdfd0da3823
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Compiler error:
../3rdparty/botan/botan.cpp:21912:17: error: no matching function for call to 'make_pair'
return std::make_pair<struct dirent*, std::string>(dir, m_cur_dir.second);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/bin/../lib/c++/v1/utility:444:1: note: candidate function [with _T1 = dirent *, _T2 = std::__1::basic_string<char>] not viable: no known conversion from
'struct dirent *' to 'dirent *&&' for 1st argument
make_pair(_T1&& __t1, _T2&& __t2)
^
Change-Id: I1a8782956cf0a105fe2f12bf6f8470242a54a3a5
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
This prevents a whole lot of re-allocations when the output byte array
needs to grow. It also prevents some heap fragmentation for big files.
Because the preprocessed output is short lived (it will be parsed
immediately after, and then discarded), it is not squeezed to the
minimal size. This would result in another allocation.
Change-Id: I4974be5144f88cdfc4ddc9d8330200725aa90803
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This practically means that the >= 7.2 requirement is now a hard
requirement.
Change-Id: I6c3abbc625443ded182d2da101e04d96e3bed26d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
...separate for the cdbengine. Workaround for
all symbols with virtual children.
Change-Id: I166b30af6594bde1093896156d86b28f02ed8a6a
Reviewed-by: hjk <hjk121@nokiamail.com>
Commands like 'ciw', 'gUl' work with renaming and code completion if
'passkeys' option is enabled.
Change-Id: I0cd69e13a0e7773d7cba82e571cc855aa90af7ba
Reviewed-by: hjk <hjk121@nokiamail.com>
Don't use QTextCursor::beginEditBlock() and others since it can change
the behavior of underlying editor widget. Use these methods only for
interrupting current edit block.
Change-Id: I848d6287faeeaad9c04a76758bd0b2cc673ad2ef
Reviewed-by: hjk <hjk121@nokiamail.com>
Emulate Vim scrolling behavior. Consider only fully visible lines in
editor widget.
Don't ignore last empty line in document.
Change-Id: Id2c4fd744fb3c4c69324ea6456db424186563bc9
Reviewed-by: hjk <hjk121@nokiamail.com>
The toplevel is used as a parent for Designer's dialogs and for dragging.
Currently, when using Qt 5, for example the dialog about missing resource
files shows up at 0,0 and and Accessibility on Windows emits warnings about
incorrect hierarchy since the Editor manager is not visible in Design mode.
Change-Id: I49e77db89bf93e8342beb3e4ace764a14d0231f1
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
If available, the name of the branch from which the project
was opened is displayed in brackets after the project name in
the Projects view in the sidebar the Edit mode.
Change-Id: Iffec0c8b1a822605f3bbd9d94a1d84aba0cda2e2
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Back up when saving. That is more robust when several instances
work with the same project at the same time.
Change-Id: Id4bfd5eab4184934f66909dcf7a580fef1e104ae
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Consider all possible .user files and pick the one that
matches the current version/environment best.
This patch removes backing up .user files while reading
them. A later patch will fix this again.
Change-Id: I2991eddccd2cdd610aa2e96d79ae7d55866e9485
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Ran script to remove inludes on a trial-and-error basis and
manually corrected it.
Change-Id: Ib2afbc530760684db96888b927c5153b29fe24aa
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Assume that read only files on dynamic views are checked in files.
That assumption gives a better status until all files are indexed.
Once all files are indexed the correct state will be used (in case
the assumption was wrong).
Change-Id: I7097b89801b6798399560d727566419e72f13b2f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Suppress widgets of the DebuggerRunConfigurationAspect widget as
required.
Change-Id: I4e384d4e725bd95bea51465e28e26ece3e2f5cc8
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Move the method used to create a config widget for a
RunConfigurationAspect from the RunControlFactory into the aspect
itself. This allows for aspects that are not bound to any factory,
which is what I eventually want to use to hold the environment for
run configurations.
Change-Id: Icceb5f44ca9eb63a87b9c7bb6468ff30dab943c2
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
NOTE: Next patch will be "Move DRCA to Debugger plugin" and is
needed to make this functional.
Change-Id: Ie405a0e4fbdc0fb35ff16d34c725e7aee5153a4a
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This mostly affected pre-7.2 version which we don't officially
support anymore anyways. No need to waste cycles on them.
Change-Id: I748cb2be6c5d4161c4129f51809cf3cc358e0be0
Reviewed-by: hjk <hjk121@nokiamail.com>
Intentation is set separately for text files that contain
C++ or QML code and other text files.
Change-Id: I5106d794ad516f745b07b0ebbb94bd4a652060d8
Reviewed-by: David Schulz <david.schulz@digia.com>
"Remote Processes" is no longer a good description, since we also have
the desktop device.
Change-Id: I3d73eb7c4a040e375cde141eb203b274449242d8
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
Show desktop device in the Devices options page. Allow
user to configure the port range for the desktop. These
ports can then be used by others such as QML Debugger.
Change-Id: I8c4a96207e54f58d1e9bc18c417cb378dc9f70c2
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>