Sort filenodes based on filenumbers if filenames are identical.
Fall back to comparing pointers only if the line numbers are also
the same.
Change-Id: I5e53f01c2b4684307895a57a2d1b27507e218af3
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Fix a regression from 2.7: A new .qmlproject did also have C++ enabled
as a debugger language by default. Instead of reviving the old, hacky
logic from 2.7 that directly manipulated the aspect object,
the aspect now checks for the actual project language, along the logic
of the QML language check.
Change-Id: I77c9323fd59079c42874dadf4dc54b9991204d9d
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Aurindam Jana <aurindam.jana@digia.com>
QString uses utf-16 internally. If we explicitly convert to utf-8
and then use the QByteArray implicit constructor of QString again,
Qt 4 will interpret the utf-8 encoded string as latin1.
This results in a wrong string for everything that is not pure ASCII.
With Qt 5 it works, since the assumed default encoding of QByteArray
is utf-8. Still any conversion does not make sense.
Task-number: QTCREATORBUG-9493
Change-Id: Ifbaa4684e85d0ccd677956eeff88b4cc7d807922
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This dialog was before, in QtCreator 2.7, used only for show. It was in
main git menu, and available always. Although a lot of new options were
added to the dialog, I think it is good to get it back to where it was
before, so that 2.7 users can find it easier.
Also, I prefer this location for it, since it is easier to access here.
Change-Id: I510ab0efb081194e70f6297125012034103e13e1
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* git rev-parse --show-toplevel doesn't work inside git dir.
* Only "Describe (show)" should be available for those files. show
works when running from inside the git dir
Change-Id: If5f3d1af8da2f8d149ac1e03ffd70b530e609557
Reviewed-by: Petar Perisin <petar.perisin@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
These editors are usually opened when a process is in progress, so
it doesn't make sense to allow reverting or cherry-picking for them
Change-Id: I6f238ef973be86d07d2646bcea969f9aa2742b9d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
* Delete process when finished
* Handle unpack failure
* Support lzop on Windows (if available)
Change-Id: I8d95b77922c8b22b5874dffd8f935ff184902e12
Reviewed-by: hjk <hjk121@nokiamail.com>
This shouldn't be necessary, works around QTBUG-31569 (Qt5)
Change-Id: Iff157a76a896bc4d6224039ae859788818abba8b
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
The plan is to use some interesting C++11 features in the
code base as soon as they are available in all compilers
we need to support.
Change-Id: I725797bdf03c64458f7f2d9b010d1cc2cdf8cdb3
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Make it possible to pull and push onto online repositories with http
authorization.
Task-number: QTCREATORBUG-5104
Change-Id: Id5f5a865d301e644002e4fa8b7056d08fd9b7467
Reviewed-by: hjk <hjk121@nokiamail.com>
The often used rubenvb mingw-w64 build reports a GDB version string with
the GCC version in parentheses:
GNU gdb (rubenvb-4.7.2-release) 7.5.50.20120920-cvs
With his patch the content within the parentheses is ignored, and is not
wrongly interpreted as GDB version.
Change-Id: I1a3c54acc81cb6d649d11ebf38dea96fc2685aa1
Reviewed-by: hjk <hjk121@nokiamail.com>
Use standard wording for function docs. Use valid
QDoc commands (\a instead of \param, for example).
Change-Id: I556fdbf686f2f54138617d6784c650a1d973513c
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Once a section is collapsed it should stay collapsed until
it is expanded again.
Before this patch changing the document or going to text mode
did reset the state.
Change-Id: I5d3b4164cbef75276a2e0e92fb4bfa77292f73db
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Makes the whole thing feel more responsive:-)
Change-Id: I1b3941ab42bb1a281c0923e3826b00d1f1400abe
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This also fixes parsing when environment variables are read in
qbs files.
Change-Id: Iad78296986f8700272d6027d2ffa645d4207bdef
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>