Commit Graph

46254 Commits

Author SHA1 Message Date
Tobias Hunger
4fe46e492f Ios: Convert some classes to Qt5-style connects
Change-Id: Ifb483a92c75d9851f0c3f4c69f080ac449b35e40
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-05-25 07:40:02 +00:00
Tobias Hunger
39a4a837bb Qmake: Use Qt5-style connects
Change-Id: I4806a75acabe33b164d810d133e18573b75bb2ef
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-05-25 07:39:43 +00:00
David Schulz
527a3d06a4 Fix hiding tooltips on windows.
basically an rewrite of commit c47e52c97b.

Task-number: QTCREATORBUG-15882
Change-Id: I711f99ed0ae1d1859d5ef5cbd2128215a10b7ed4
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-05-25 06:29:18 +00:00
Eike Ziller
0944382239 Add change log for 4.0.1
Change-Id: I33faed2649ce85aa687c360454fb2c360b79d9e2
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2016-05-25 05:55:32 +00:00
Christian Stenger
0aff733a91 Squish: Stabilize clickOnTab() on OSX
Change-Id: I984a6a2012668e0b0095b2118b9d7001c7cda616
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2016-05-25 04:41:31 +00:00
Tobias Hunger
caf6277cf8 RemoteLinux: Use Qt5-style connects in AbstractPackagingStep
Change-Id: Ifcde41cbbae3f576eabffd077a672d4e9c20b2b4
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-05-24 15:44:29 +00:00
Tobias Hunger
e6a910bb3d QmlProfiler: Fix warnings about inconsistent use of overrides
Change-Id: I325b5d4371fb662c13a131963b382c77976fc803
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2016-05-24 13:52:45 +00:00
Tobias Hunger
ab8006913a SSH: Consistently use override in SshForwardTcpIpTunnel
Fixes warnings when building with clang.

Change-Id: I8775862e3ee4d717067f5cf42f9efe58e69845c7
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-05-24 13:52:36 +00:00
Ulf Hermann
28c94c6b19 Timeline: Aggregate events when there are too many
With this change, if you have more than 1M events in a category, the
ones with the shortest distances from one another will be drawn
together, in grey instead of their respective colors. You can zoom in
or hover-select them to see what they are.

This greatly reduces memory consumption in those cases, but it requires
some more book keeping in order to identify the events to be
aggregated.

Task-number: QTCREATORBUG-14983
Change-Id: If54d6d7efe5f720aa72003b2c307ea9562c911a1
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2016-05-24 13:11:06 +00:00
hjk
fbc82d3f88 Debugger: Fix dumping of numeric QJsonValue inside arrays
Task-number: QTCREATORBUG-16313
Change-Id: I544e89fc964cd404652d8ea0c8df127e51235292
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2016-05-24 13:09:19 +00:00
hjk
98214c5a0f Debugger: Robustify disabling of system pretty printers
There seems to be systems producing non-ASCII error messages when
running this in directories with non-ASCII characters. Since we
won't be able to workaround, silence the error to not disturb
further operation.

Change-Id: I527ce10c062273d2f4928f2a8fab79b704de067b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2016-05-24 11:50:45 +00:00
Robert Loehning
6a74d8cad1 Squish: Fix suite_SCOM for Qt 5.5
Change-Id: Iea47ca2c74a6ac2287aee26418636abcb748a5d2
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2016-05-24 11:36:17 +00:00
Christian Stenger
13954bc523 AutoTest: Avoid nullptr access
Change-Id: I6be5d02a14fc921f189d7817da8ebb6284973858
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2016-05-24 11:24:00 +00:00
Christian Stenger
c9dac0fa61 Squish: Raise waiting time when using FileDialog on OSX
Necessary especially when trying to open big files for which the
system file dialog of OSX is creating a preview.

Change-Id: I6d352b78f76571fbb7224902b05e228d584c443a
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2016-05-24 09:59:13 +00:00
Stanislav Ionascu
c1d735503b CMake: make it possible to insert new vars in project settings
Task-number: QTCREATORBUG-16238
Change-Id: If98acc4f27cabbb606b2fc1017096da626ba1144
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-05-24 08:44:57 +00:00
Finn Brudal
e6729c487d CppTools: Fix include filename cache logic
When resolution of a local include fails, a global resolution must be
done. When doing so, re-use the cache.

This will speed up the resolution for projects that mainly use the local
include directives also for global headers.

Change-Id: I7488c1977a44b881f90faa863d22f6276c20b147
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2016-05-24 07:46:24 +00:00
Ulf Hermann
5ee38fda5b QmlProfiler: Remove duplicate method
Change-Id: Iad8420e5836ad8bc3efc9ecf67bf85b005ede7d5
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-05-24 07:44:03 +00:00
Ulf Hermann
105f0e963f QmlProfiler: Fix compile error in animations model
Some compilers don't like explicit initializers for arrays.

Change-Id: I49d056e0000334857a635d8da10491c0d1e5f36c
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-05-24 07:40:28 +00:00
Nikita Baryshnikov
32df78c791 ProjectExplorer: fix compilation
ceil was not defined

Change-Id: I9dd7c0ab8f826da998b491864abb546819afc5a5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2016-05-24 03:22:10 +00:00
Alessandro Portale
4832cdf70b ProjectExplorer: Redone "Header" background
@2x variant. Painting code instead of Stylesheets. Removed scaling
and blurring of the image.

Change-Id: I12f184a66dcca790844e96b4bee3c3d5537a404b
Reviewed-by: hjk <hjk@theqtcompany.com>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-05-23 15:36:56 +00:00
Ulf Hermann
e6e2c1771b Debugger: Restore expression evaluation through QML inspector
You can now interact with QML objects selected with the "select" tool
again, when unpausedEvaluate is off.

Change-Id: If6b4a55193a8949b2e3048fe78443c5df6710885
Task-number: QTCREATORBUG-16300
Reviewed-by: Jonathan Liu <net147@gmail.com>
Reviewed-by: hjk <hjk@theqtcompany.com>
2016-05-23 14:40:20 +00:00
Ulf Hermann
c39ed2a3b7 QmlProfiler: Make progress widget more expressive
Instead of the progress bar we can now show the number of events we
have received, and the number of finished finalizers. This should give
a the user a better idea of what is going on.

Change-Id: I324fefbe6d5e3c24b080bfbc103c4317fa585215
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2016-05-23 14:39:24 +00:00
Eike Ziller
475e527cf0 Add readme to distfiles
Change-Id: I8dba77fe0d746b044975ca00e372575fe232480b
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-05-23 14:35:13 +00:00
Eike Ziller
1b92b38e74 MapReduce: Fix documentation
Change-Id: Ic4d84328e7b88a666f7984ae7ec1f6bf55ef58db
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2016-05-23 14:35:01 +00:00
Tobias Hunger
278819f8fd CMake: WS-only fix
Change-Id: If1dcc869560b526d8750195f90b2b94b928eb918
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-05-23 13:19:05 +00:00
Tobias Hunger
d5a1eff8ee CMake: Fix warning about empty filename after persisting cmake config
Change-Id: I2639059055cc42cf6ab9431f4885a01970980fca
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-05-23 13:19:01 +00:00
Tobias Hunger
1f7582e86e CMake: Fix race between persisting cmake configuration and parsing
First make sure the configuration is reset: This makes sure the correct
branch is taken in parse().

Then trigger parsing through the event loop so that its signals will
definitely arrive after persistCMakeState has returned.

Task-number: QTCREATORBUG-16258
Change-Id: I103ca6b6119ec70c99828d883d728a8bb97fd6bf
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-05-23 13:18:54 +00:00
Tobias Hunger
5bc0d12c6d CMake: Check CMakeCache.txt for changes
Check CMakeCache.txt for changes and ask whether to apply these to the
project going forward.

This will only consider settings that were previously changed by Qt Creator
and will not pick up on newly changed settings.

Change-Id: Ia20c67bc2a5e9965243f08003c10ec684875387f
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-05-23 13:18:47 +00:00
Tobias Hunger
8c316aa1c1 CMake: Do not parse that often
Wait longer before triggering a reparse.

Change-Id: I02ed83b0e9a3be7de5f720f9a9595e6a886d1ab0
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-05-23 13:03:32 +00:00
Tobias Hunger
0695384b12 CMake: Show INTERNAL settings as advanced
Sometimes cmake changes the type of random settings to INTERNAL.
This change keeps them visible even then.

Change-Id: Icd6bf26b8e2cb031b76bbba8bf0aac70c349fb7b
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-05-23 13:03:27 +00:00
Tobias Hunger
5d69bdfde7 CMake: Cache CMakeCache.txt
Change-Id: Ib3e7a9943d15a2e90afd29642b666892ba7b0613
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
2016-05-23 13:03:20 +00:00
Ulf Hermann
ecd8e764dd QmlProfiler: Add a binary trace format
Storing traces in binary form is preferable as loading and saving is
faster and the trace files are smaller.

Change-Id: Ia7340ac526d5ce9391b1e32fc48fc1fab3ffa13d
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2016-05-23 12:32:10 +00:00
Ulf Hermann
d6d69b811a QmlProfiler: Rename QmlProfilerDataModel::addEvent()
We will get another variant, without type.

Change-Id: I06bd47955ef909b2f467425bb9ad8c8b3e3dce27
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2016-05-23 12:32:06 +00:00
Ulf Hermann
0f513bc91e QmlProfiler: Use a temporary file to store the master event list
As we only ever iterate the master event list in a linear fashion, we
can use a temporary file to store it. This should allow for larger
traces to be handled without running out of memory.

Change-Id: I0d2aea6f998458fe5f426f6fef0f6937e915ae68
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2016-05-23 12:32:01 +00:00
Ulf Hermann
914e1e1fe1 QmlProfiler: Use data replay feature for saving traces
This removes the last access to the master event list, which allows
us to also remove the accessor function.

Change-Id: I0e70c2eb23d2b11aa8b131c03eb3adfad1a9b9e7
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2016-05-23 12:31:51 +00:00
Ulf Hermann
4a1e5a637a QmlProfiler: Drive event loading from the model manager
We want to get rid of the big master list of QmlEvent in
QmlProfilerDataModel, as that gets very large for longer traces. In
order to reduce the dependencies on that list we load the events on the
fly into the child models while they are being received, rather than
having the child models query QmlProfilerDataModel for the event list
later.

As the trace client so far only emitted rangedEvent() for complete
ranges we run into problems with models that need their events sorted.
The rangedEvent() signals were sorted by end time, rather than start
time which makes it inconvenient to analyze them in a stack based way,
for aggregation. This is solved by passing on all the details from the
trace client to the models, with the QmlProfilerDataModel aggregating
the type information before having the events dispatched to the child
models.

Change-Id: I5831a20551f21cf91e27d298a709f604ebd96c3e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2016-05-23 12:31:44 +00:00
Ulf Hermann
dd87df7e5d QmlProfiler: Load data event by event in aggregated models
This paves the way for driving the event loading from the model
manager. Also, unify the loading and eliminate the two different
classes for the children models.

Change-Id: Ic89e757963292d75b3b6fd7d6012f09194dff5a9
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2016-05-23 12:31:28 +00:00
Ulf Hermann
bc18fafffd QmlProfiler: Drop duration from QmlEvent
It isn't used anymore.

Change-Id: I432bebbd9ddde15baa22a17d339ac724ddb5fe59
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2016-05-23 12:31:06 +00:00
Ulf Hermann
1e8996b438 QmlProfiler: Methods for dispatching events by feature
When announcing features models have to provide functions that handle
events for those features now. The model manager gets a function to
dispatch events to the models that subscribe to them.

Change-Id: I3fd80443a68ba264a513d8d53ed473cf072f1dc7
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2016-05-23 12:30:09 +00:00
Ulf Hermann
911c8842b2 QmlProfiler: Drop QmlProfilerDataModel::changed() signal
Nobody is listening to it anymore.

Change-Id: I7a437334e3fc6f091c8515574007b400eb312a72
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2016-05-23 12:29:50 +00:00
Ulf Hermann
5ba6f04d4b QmlProfiler: Load the timeline model data event by event
All the models do the same thing when loading the data: They iterate
the list of events, determine for each one if they accept it, and if
so, they load it. After the list has been fully loaded, they do some
finalization. This can be centralized, and ultimately we won't need to
expose the central QVector<QmlEvent> for that anymore.

Change-Id: Ia82facfdc3968200bbec323a02f2fcc02ac44e9e
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2016-05-23 12:04:49 +00:00
Ulf Hermann
67378a7928 QmlProfiler: Restore feature visibility when starting data aquisition
Some models check the visibility to determine what to load.

Change-Id: I94d42ddc6e531d04f240c66d4b789826d8c17cf6
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2016-05-23 11:52:32 +00:00
Ulf Hermann
807e074ffc Timeline: Set selectedModel to -1 when selectedItem is set to -1
It doesn't make sense to select a model without also selecting an item.
There may be more code around that unconditionally uses selectedItem if
selectedModel is valid.

Change-Id: Ie286725dea5688ebb9ad09fa89258d10a69ae81c
Task-number: QTCREATORBUG-16282
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2016-05-23 11:45:40 +00:00
Ulf Hermann
1093be0425 QmlProfiler: Remove detailed progress tracking
The progress bar in the state widget was rather meaningless. We rarely
know how many events we expect and it's rather hard to tell how long
each model will take to process them. Instead, we just show a 0-ranged
progress bar to tell the user that "something is happening".

Change-Id: Icb80840d1f0a1538bcf254faa37cbb36e25d342c
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2016-05-23 11:44:13 +00:00
Christian Kandeler
6456cc35b0 Update qbs submodule.
To HEAD of 1.5 branch.

Change-Id: Id07efe74e38dc3b871bec78c28b41035414cf978
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2016-05-23 10:41:38 +00:00
Alessandro Portale
46e043ed1e Timeline: Crisper selection rectangles
This change removes the "mini gradient" between outline and filling.
At least in HighDPI, this gives a crisper impression.

Change-Id: I15b97393a8650c28dc52a38d4d106adc95ce261c
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2016-05-23 09:37:51 +00:00
Orgad Shaneh
46cacd901a CppTools: Use Qt5-style connects
Mostly done by clazy.

Change-Id: I0fbbbe1a2d28b79bcb83093d608bca6e2f927ebb
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
2016-05-23 09:02:21 +00:00
Ulf Hermann
324e221bee QmlProfiler: Simplify painting of state widget
There is no reason to have an elaborate painting routine with rounded
corners and shadows. It doesn't fit the new "flat" paradigm and it's
unnecessarily complex.

Change-Id: I83ace95fdcccfc4cc41b17640a10154f7f64f89c
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
2016-05-23 07:46:01 +00:00
Ulf Hermann
6b4963b549 Ssh: Implement tcp/ip forward tunneling
Change-Id: I529b3392ea7e4cbae2c736c9f55352ef6b19da98
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
2016-05-23 07:44:06 +00:00
hjk
e05fbf153d Qnx: Rename qnxdeviceconfiguration* to qnxdevice*
All other targets call their devices "Device",
not "DeviceConfiguration".

Also, add a few namespaces and inline the trivial
QnxDeviceConfigurationWizardSetupPage files.

Change-Id: I26168d1b676f6a646b11b61d4cdb7d0f30e18242
Reviewed-by: Anton Kreuzkamp <anton.kreuzkamp@kdab.com>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2016-05-23 07:42:34 +00:00