Commit Graph

22748 Commits

Author SHA1 Message Date
hjk
1731911c40 debugger: implement gdb python dumper fuer std::array
Change-Id: I32d353ec332d39fa80fab9780a0b084156842666
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-04 01:02:27 +01:00
hjk
e15912d7fe debugger: implement dumper for std::complex
Change-Id: I75905e26930b02df077f6b62f837855b83b4d8d8
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-03 20:58:05 +01:00
Christiaan Janssen
95f1bb190f QmlProfiler: scroll automatically when selecting events out of view
Change-Id: I2f242895b00792d2e6930ec642209be886e22bad
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-02-03 17:09:50 +01:00
Robert Loehning
0286148a14 Squish: Fix using file dialogs
Because of the proposals the file dialog makes
when typing into the line edit selectFromFileDialog()
seems to fail sometimes (in Jenkins and on my machine).

Change-Id: Iea098016075e9a8471bd85f585e473fa8dd3bf6a
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-02-03 16:24:21 +01:00
Christian Kandeler
24b4b0cfca SSH: Add SFTP-based remote file system model.
- Read-only for now.
- Should get features such as download(QModelIndex) etc.

Change-Id: I491674484b9dbc729b1ffc762bd8e489a613dd25
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-03 16:23:12 +01:00
hjk
56401457fd debugger: add semi-automated test to check return values.
Task-number: QTCREATORBUG-6894
Change-Id: I7682e27135a3cbc6011a6241fb7975d549ecd5d6
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-03 16:03:37 +01:00
hjk
40ace5490d debugger: add semi-automated test for pass-by-reference
Change-Id: Ib3acdef95477180da218f17d441b230c9c894f74
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-03 16:03:27 +01:00
Christiaan Janssen
881f217099 QmlProfiler: reposition dialogs inside timeline when scrolling
Change-Id: I5082b8bfb8f9ab242b18a1942aa831145d3e9d06
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-02-03 15:48:32 +01:00
Roberto Raggi
5fb624b1db Fix semantic of C++ 11 inline namespaces.
Add the declaring `inline' namespace to the `using list' of its
enclosing namespace symbol. This should be enough to ensure
the correct visibility of the symbols declarated in the inlined
namespace.

Change-Id: Id4de74577c498fe439a49709a306ef0deb145988
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-02-03 15:37:17 +01:00
Tobias Hunger
d955d873b4 Git: Show deleted files in diff file combobox
Task-number: QTCREATORBUG-6886

Change-Id: I99e076d9881bead58cbcb9c66f3e5ab1d1187b6f
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-02-03 15:26:14 +01:00
Tobias Hunger
ca4efa4a34 Git: Speed up diff/show output
* Avoid calling git --version repeatedly
* Use VcsManager to find toplevel directory which does caching.

Task-number: QTCREATORBUG-6906
Change-Id: Ib9ba94751bbecac686a0e116baeded9b2f6f3d90
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-02-03 15:23:36 +01:00
Christiaan Janssen
928a4450dd QmlProfiler: unified internal hashes for Qml Events
Loading Trace files was broken because of this. Fixed now.

Change-Id: I3a464714e182523d06e1cb594eee7f76ece7e9bf
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2012-02-03 14:57:13 +01:00
Robert Loehning
1b6a3addcd Squish: Limited number of rows for task file to 100
Change-Id: I05255b3d06cf08fa2e2744105aa88c8510b0f6ef
Reviewed-by: Christian Stenger <christian.stenger@nokia.com>
2012-02-03 14:56:43 +01:00
Eike Ziller
dc0b11db17 Don't parse GLSL init files at startup.
Can easily be done when they are actually requested.

Change-Id: I2022b2b97ea13725ed62ed2657f99cb505553c45
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-02-03 13:03:39 +01:00
Daniel Teske
da34e80ede SessionManager: Inline and remove updateName
It's only ever called two times and makes it easier to understand how
m_sesionName is changed

Change-Id: I0106516b78481181d7a027a6348eee45e0e462d6
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-02-03 12:09:29 +01:00
Daniel Teske
b7a76cd7a8 Fix overriding the default session
To reproduce the bug:
1) Load a project into the default session.cpp
2) Close creator (which saves the session)
3) Start Creator
4) Create a new session and switch to it => This calls createImpl
   and overrides the default session, even though it shouldn't
5) Load the default session, which will now be empty

Change-Id: I7c23fba8c1f9fd32cc95b3b9206afc422c1f0133
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-02-03 12:09:15 +01:00
Bojan Petrovic
8517c14316 C++: insert definition from declaration for pure virtual functions
Change-Id: I7fd9e88061e2854a8b18b9853ef71436921db062
Reviewed-by: Erik Verbruggen <erik.verbruggen@nokia.com>
2012-02-03 12:08:30 +01:00
David Schulz
6d85b53f9c Revert "Editor: Highlight background for whitespaces in strings and comments"
The change brokes the Lexer.
This reverts commit e46a5579d3.

Change-Id: I3363c6eff74b53a7f2d9f417941cde07aaa92619
Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
2012-02-03 11:52:01 +01:00
Tobias Hunger
b4eec17317 Fix warning on mac
Change-Id: I6aa8fb6bd9c494941e5baa94552845c56beb1ada
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-02-03 11:48:28 +01:00
Eike Ziller
966bf17d8e Fixes potential threading problem in Locator startup
Change-Id: Ifd399cd167681d90c93d3e9f7c8e09299bdfff3b
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-02-03 09:51:19 +01:00
Daniel Teske
1504ab117b AnalyzerPlugin: Rename member to what it is actually used for
Change-Id: Ia08a976d894e67c33c9c503d219ec12a4a4c46eb
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-03 09:48:58 +01:00
Daniel Teske
f0f657873f Valgrind: String concanetation is faster then .arg
Change-Id: Ia92f92f97f8c5aca6ecec31607bb60b06c316eca
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-03 09:48:46 +01:00
Eike Ziller
de290e0341 Add "delayedInitialize" feature to plugin manager.
And use it for some of the plugins. It avoids the plugins to
do the timing on their own, and actually adds guarantees about
the order the delayed initialization is done.

Change-Id: I88ad9b46b24b82c91509774170fe0e7e99e88e4b
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-02-03 09:48:39 +01:00
Daniel Teske
8a25c5352b Analyzer Plugin: remove never called functions
Change-Id: I266e52579df9aa2b5aecb485c58033ba7408987e
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-03 09:48:11 +01:00
Daniel Teske
e3d14f7c39 Make Open Project wizard skippable
Task-Nr: QTCREATORBUG-6063

Change-Id: Ieace3e9e68b4e0342c35ac7c279f4b0b61076419
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-02-03 09:36:46 +01:00
Tobias Hunger
a309c26f1b VCS: Never try to run empty binaries
Never try to run empty binaries.

Task-number: QTCREATORBUG-6849
Change-Id: I591fdb9d39394fc8097908f5934a1a96518859cb
Reviewed-by: Hugues Delorme <delorme.hugues@fougsys.fr>
2012-02-03 09:11:24 +01:00
hjk
1fe85174eb debugger: better manual test for std::unique_ptr dumper
Change-Id: I37a2b5ae4089931bd9f9edea8c584024c94c498d
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-02 19:56:19 +01:00
Joe Hermaszewski
e70ad8150a debugging unique_ptr now casts to the dynamic_type of the object
Change-Id: Ic1c7cd0003945ab919bba969b5c6a985ea7e7f90
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-02 19:55:19 +01:00
Daniel Teske
78f5abf9d1 Use final icon for disabled build steps
Change-Id: Ida603debc50f69d3b68458dfebde8246dbb9fe78
Reviewed-by: Virva Auvinen <virva.auvinen@nokia.com>
2012-02-02 17:24:46 +01:00
Christiaan Janssen
a50e447a81 QmlProfiler: reseting completion flags in traceclient
When the server sends more than one trace consecutively
(e.g. with the profiler JS API), the flags that control
the race condition between the v8 client and the qml
client need to be reset after the data is read.  Otherwise
the complete signal will be duplicated.

Change-Id: I63b808d6f0aae404814d5243c1729671b56ca52e
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2012-02-02 17:10:06 +01:00
Christiaan Janssen
9bf15cabe0 QmlProfiler: fixing standalone profiler
Updating the code to match latest changes in qmljsclient

Change-Id: Ia1a7914fca1beda0141c0d57c7ce76ca1002996d
Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
2012-02-02 17:09:51 +01:00
Friedemann Kleint
be8c7fc356 Zeroconf: Compile with MinGW.
Change-Id: I01a24619728adc8f6f8bad6a8b50693c381600b1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-02-02 16:27:00 +01:00
Friedemann Kleint
38510a482d Debugger: Fix interrupting code.
- Windows: Always use DebugBreakProcess if Qt Creator is compiled
  64bit. Else always use win64interrupt.exe if Qt Creator
  is a WOW64 application.
- Remove redundant code (procinterrupt/hostutils, gdb adapters).
- Give interruptProcess an errorMessage parameter such that it can
  be used by all C++ engines and a proper error is displayed.
- Improve error messages.
- Build win64interrupt if target architecture is 64 bit (clean tools
  profile, add a profile), borrowing the check from
  qtcreatorcdbext.pro.

Change-Id: I2a6caf98e46051c49c84e1f3aac4c8d2aba66e8b
Reviewed-by: David Schulz <david.schulz@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-02-02 16:25:42 +01:00
Erik Verbruggen
1d3dc30153 C++11: add support for static_assert.
Change-Id: I82d8d60acaa9265fd25e0a3734855b19bdef9c06
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-02-02 13:49:22 +01:00
Tobias Hunger
3afd3a37d3 Mac: Do not override mkspec when cross-compiling
Change-Id: I6fc17a80f99002a99c1218f3fea18e52c2aad40d
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-02-02 13:41:06 +01:00
Tobias Hunger
09a1ecf5c2 ToolChain: Fix issues with item selection on TC optionspage
Task-number: QTCREATORBUG-6819

Change-Id: I90995a10a6421f051d03e53efe5f4f94d76d72a7
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-02-02 13:40:10 +01:00
Christian Kandeler
7c0abc29cd SSH: Add SFTP operations needed to implement remote FS traversal.
Change-Id: I3e7b52513211959a976545667e8e8372f2001c7e
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-02 13:23:37 +01:00
hjk
778108ebd0 debugger: add an (inactive) manual test for the std::unique_ptr dumper
Change-Id: I4876bc81514e48ee61ee17ac8933d71c6a82b545
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-02 13:19:49 +01:00
Orgad Shaneh
87de819729 GDB/Windows: Break on abort
Task-number: QTCREATORBUG-6773
Change-Id: I082b7d04730a5014ad935d6a079a1829dfcdd34c
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-02 13:02:32 +01:00
Joe Hermaszewski
130990ffef Added support for std::unique_ptr in the debugging helper
Change-Id: I812234fbcf6a1ed11fc29c11fb6ffe63ca3abffe
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-02 12:49:10 +01:00
Daniel Molkentin
9fd3935381 Remove header margins in help.
Change-Id: Ieedb77796af59d282de79942e640fbaa92ecb3c1
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
Reviewed-by: Virva Auvinen <virva.auvinen@nokia.com>
2012-02-02 12:45:10 +01:00
Erik Verbruggen
dd4299073e C++11: handle noexcept specifications.
Change-Id: I7da3affea2758b2e01124105e2521e1f2c5f6678
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-02-02 12:22:20 +01:00
Eike Ziller
a2f9ee870e Delay looking for examples until the information is needed.
E.g. when showing the example or tutorial browser.

Change-Id: I938d38872c455bbfc6f28b759701e84cd57bf354
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2012-02-02 12:17:27 +01:00
Eike Ziller
7b708cd3f0 Move decision on which Qt to use for examples to ExamplesListModel.
Was split between list model and Qt version manager.
It's easier to follow what actually happens now, and the change makes
it possible to delay that decision to a point where it's necessary.

Change-Id: I4bffca2e9207ad32bba9ee4766b62d1a1f9687cd
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2012-02-02 12:17:16 +01:00
Eike Ziller
3c3d231aeb Delay registering Qt documentation and examples.
That avoids calling "qmake -query" at start up for finding out the paths to
documentation and examples.

Change-Id: I97d6b01c9a382726ea0a26f51b821807bd81ea61
Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
2012-02-02 12:17:05 +01:00
Erik Verbruggen
13dd213f60 C++11: handle inline namespaces.
Change-Id: Iafdcd5bc72d9724e217767ae9c216be4363cc0d3
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
2012-02-02 11:07:20 +01:00
Friedemann Kleint
c27a463fe7 Debugger: Add Disassembling of functions.
- Add "Disassemble function..." action with dialog for name
  to stack window.
- Add "Disassemble" with function name from code model to
  the Editor context menu.
- Change the engines to be able to disassemble a function without
  address.

Change-Id: I812f4672d97d9a866ee7f5a38dbd18b2876bccfa
Reviewed-by: hjk <qthjk@ovi.com>
2012-02-01 17:57:43 +01:00
Tobias Hunger
ccf7caec4f Improve detection of no Qt usage
Handle .pro-files which remove everything from the QT variable as
not using Qt as well as those .pro files using CONFIG -= qt.

Change-Id: I7cc3740ce256093b7d14593e9ff0a6919fd02615
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-02-01 17:47:04 +01:00
Tobias Hunger
5a5c3abe37 Mingw: Suggest mkspec on linux
Change-Id: I04dbe0c08f0106834661606bfd65da252637b8f4
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-02-01 17:46:50 +01:00
Tobias Hunger
c8989b7a37 Mingw: Enable mingw on linux
Change-Id: I1fd01abd66ffd7cf1328590eaad707dbe52cead5
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
2012-02-01 17:13:05 +01:00