Commit Graph

5106 Commits

Author SHA1 Message Date
Robert Loehning
6d60aae8ef QmlPuppet: Check return value of fstat
Change-Id: I2b7c04712a883455d8a5a0daa1225c2ef84a0748
Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
2017-09-26 16:44:58 +00:00
Eike Ziller
cfdea6b9c2 Merge remote-tracking branch 'origin/4.4'
Change-Id: I7bf72444b19db20fcc7dc2c9d1f02ec2b30b658f
2017-09-25 11:00:25 +02:00
Jake Petroules
8d84e59168 Update QML type descriptions for qbs
Change-Id: I208e7e96b5a430ae55ca073abee7954c4f2382e1
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2017-09-22 08:38:24 +00:00
Tobias Hunger
d366944519 QmlPuppet: Modernize (nullptr and member initialization)
Change-Id: Ifac20a48df8702f9d31042eb8765cbaadb60b25b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-09-20 12:40:18 +00:00
Thomas Hartmann
6745536f1e QmlDesigner: Fix @NodeInstance
With @NodeInstance we can override the value of any property.

Change-Id: Ib64d8b6823b82f0a809092b2468c008d73a5525c
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-09-20 12:18:43 +00:00
Filipe Azevedo
846d89811a Fix unstoppable debugger
For some reason sometimes a user stop request with lldb can trigger
a spontaneous stop, avoiding the debugger to stop correctly.
This change fix the issue by emitting the correct states from
lldbbridge.py.

Change-Id: Ib8a2f4875824f4fff426b2d5e0fc4a79ce48c68e
Reviewed-by: hjk <hjk@qt.io>
2017-09-20 09:49:53 +00:00
Eike Ziller
3d9cf954e2 Merge remote-tracking branch 'origin/4.4'
Conflicts:
	src/plugins/debugger/debuggerdialogs.cpp
	src/plugins/debugger/gdb/remotegdbserveradapter.cpp

Change-Id: I1ae77869887a8d9ef2a33439f2733315db9e0cf0
2017-09-19 12:10:26 +02:00
hjk
fe1cbd0f87 Debugger: Add yet another virtual inheritance test
Failing for now.

Change-Id: Ic624b9c64f85f06bf61a2e8f765a272a835c0c43
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-09-19 09:20:52 +00:00
Tim Jenssen
4f03ea96a2 QmlDesigner: fix uninitialzed value warnings
Change-Id: Ieddd83953b2009656ceecea2f9fedecd54ac9ac8
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-09-19 09:10:29 +00:00
Orgad Shaneh
f97657b15e Dumpers: Add a show case for C-style strings
Change-Id: Ic70761ffcd76bdfed7879c222d471b50a8b32c0b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2017-09-18 15:00:37 +00:00
Orgad Shaneh
2a9f45c567 AutoTest: Reorder build systems for consistency
+ Only enable qmake when the plugin is enabled.

Change-Id: Id2a7600a1e71daf14a050ec7ac3247de795a2835
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-09-18 12:25:06 +00:00
Thomas Hartmann
f369fd8d6a QmlJS: Add bezierCurve to builtins
Change-Id: Ie0301379742af679f785dc18c363e6e310069956
Reviewed-by: Marco Benelli <marco.benelli@qt.io>
2017-09-18 12:05:58 +00:00
Orgad Shaneh
2760b9fc67 Dumper: Dump CHAR/WCHAR arrays as strings
Change-Id: I78bdb181e27cc858356c9026fc960135b54cdcbb
Reviewed-by: hjk <hjk@qt.io>
2017-09-18 11:43:51 +00:00
hjk
360609eb7a Debugger: Add to solib-search-path, don't replace it
Task-number: QTCREATORBUG-18812
Change-Id: I0fb8d81d55e9928bd3825c510a11ab426ec082c6
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2017-09-13 10:09:28 +00:00
scootergrisen
43c0d896a2 Update danish (da) translation for Qt Creator 4.4
Change-Id: I83d612efb8cddfb98961901efbf8bc6832b43682
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2017-09-11 18:45:38 +00:00
Christian Stenger
13a1f8686c Wizard: Fix Qt Quick Application wizards
They had been moved in sub directories and referencing of the
git.ignore file was not adjusted accordingly.

Task-number: QTCREATORBUG-18842
Change-Id: Id5f720015e94cb581d6b6337080de0c35c90e232
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
2017-09-06 19:24:51 +00:00
hjk
8cb944f4ff Debugger: Display summaries for CoreFoundation types
Uses lldb's GetSummary() method to display values for CoreFoundation
string-like variables.

Task-number: QTCREATORBUG-18638
Change-Id: Icca6d9cf7b328c80b44eebe597259f38aba1c3ef
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2017-08-21 10:35:06 +00:00
Eike Ziller
a0a42ff7bd Merge remote-tracking branch 'origin/4.4'
Conflicts:
	src/plugins/debugger/gdb/gdbengine.cpp

Change-Id: I8a7c8ca07d6d6005f5d39b8f1477ebbc7a299fbf
2017-08-17 17:29:25 +02:00
Leena Miettinen
a951448c4d Doc: Add step list for adding custom debugging helpers
Change-Id: I01aba948b9dfd55a58cae5fdd51e1588bb675e6a
Task-number: QTCREATORBUG-18740
Reviewed-by: hjk <hjk@qt.io>
2017-08-17 12:43:16 +00:00
hjk
a0c26a9279 Debugger: Adjust a comment on the used of dumpers for CDB
Change-Id: Iac11c9f9415de3c8128f271fdbefdf78877d2755
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
2017-08-16 09:04:45 +00:00
hjk
609b4170f3 Debugger: Show guts of QString::Data when requested
If people already decide to drill into QString they are likely
to want to be able to drill into QString::Data, too.

Change-Id: I90cf1bd9b7bed66805fc7493cf1595d27ef3b129
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
2017-08-15 13:38:03 +00:00
hjk
90de4bae40 Debugger: Hex-encode LLDB disassembler source lines for transport
Unescaped quotes break the protocol.

Task-number: QTCREATORBUG-18721
Change-Id: I235c4dc33e599769bc854423ef4a7dc6f46bf58e
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2017-08-15 08:44:27 +00:00
Eike Ziller
d8fd5292f1 Merge remote-tracking branch 'origin/4.4'
Conflicts:
	src/tools/clangbackend/ipcsource/clangiasyncjob.cpp
	src/tools/clangbackend/ipcsource/clangjobrequest.cpp
	src/tools/clangbackend/ipcsource/clangjobrequest.h

Change-Id: Ib8602530663813ade418f995dfd2a736908cfe75
2017-08-15 10:07:51 +02:00
Eike Ziller
89dbe978b1 Merge "Merge remote-tracking branch 'origin/4.3' into 4.4" into 4.4 2017-08-14 14:11:09 +00:00
hjk
e5631e2ebe Debugger: Fix location marker update for LLDB Jump to Line
Change-Id: I93c46eabb8c91c3e7158454f04cf027d55ece621
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2017-08-14 12:48:32 +00:00
Eike Ziller
b5f49273b0 Merge remote-tracking branch 'origin/4.3' into 4.4
Conflicts:
	src/plugins/qmlprofiler/qmlprofilertraceview.cpp

Change-Id: Ib1d75a8572f650898cb598d008867e2c0514d752
2017-08-14 12:37:06 +02:00
Thomas Hartmann
a094841bdd QmlDesigner: Fix macOS menu issue
Introducing the Loader broke the menu on macOS.
There is no reason to disable the Loader.
This was premature optimization.

Task-number: QTCREATORBUG-18662
Change-Id: Ief00246182ab1f1096efec634ed0626aeba95c84
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
2017-08-10 07:30:40 +00:00
Sergey Belyashov
a62d979db2 Update Russian translation
Change-Id: Ib821849cec98c999302a7f5e4c8ce2a1f7e5ef1f
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
2017-08-09 07:05:29 +00:00
hjk
6ae77f7daa Debugger: Fix editing of std::{w,}string, QString, QByteArray
... as well as std::vector and QVector

Change-Id: I7fd33be9917a17414149813c28316166b8de9be7
Task-number: QTCREATORBUG-18681
Reviewed-by: André Hartmann <aha_1980@gmx.de>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-08-09 05:34:11 +00:00
hjk
376b1f32dc Debugger: Make std::complex values expandable
Change-Id: Idecd15378cfe2a0026ad5b9317ee7ad791a5ff47
Task-number: QTCREATORBUG-18680
Reviewed-by: André Hartmann <aha_1980@gmx.de>
2017-08-08 09:17:02 +00:00
Alessandro Portale
16b2b16238 Wizards: Add a Qt Quick Controls 2 "Stack" wizard
For applications with stack navigation

Change-Id: I33eea6460ad416755d25660f206dfe61ec555b88
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2017-08-07 14:48:18 +00:00
Alessandro Portale
f752fbb5cc Wizards: Refresh the Canvas3D Application wizard
...and move it under qtquickqpplication

Change-Id: I7e402424075583fe895aaa1cb6e877351098015b
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2017-08-07 10:25:57 +00:00
Alessandro Portale
e6bea5c3e2 Wizards: Add a Qt Quick Controls 2 "Scroll" wizard
Creates a Qt Quick Controls 2 application with a ScrollView to display.

Change-Id: I6367b8d39eea632469f62f1fc1b99790121ff00e
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2017-08-04 14:41:23 +00:00
Alessandro Portale
090278b097 Wizards: Refresh the Qt Quick Controls 2 Application wizard
This new "Swipe" wizard is the replacement for the old
Qt Quick Controls 2 wizard.

Change-Id: I5969894888785ee27d96fa722e388cd69782fff0
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2017-08-04 12:22:08 +00:00
Alessandro Portale
dbf9bd444b Wizards: Refresh the basic Qt Quick Application wizard
It now really creates an empty project.
Also, adapt the QtQuickPrototype template accordingly.

Change-Id: I0749805211df080c88cad1b9c2d476d56836c18a
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2017-08-02 17:00:52 +00:00
Jochen Becher
4c469e0111 ModelEditor: Introduce swimlanes
Change-Id: I9ac9c51eabc00c6912fd47fbf51b50b2938846ae
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-08-02 11:13:38 +00:00
Marco Bubke
4beaae0f79 Introduce Breakpad crash handler
Google Breakpad (https://chromium.googlesource.com/breakpad/breakpad) is a
widely used crash handler framework, e.g. by Mozilla and Chromium. It is
providing a platform neutral solution to generate mini dumps, collect
debug information and generate stack traces from those.

Done-with: Orgad Shaneh <orgad.shaneh@audiocodes.com>
Change-Id: I09382e7db0dc9e29b228e7b554fda7b6f5684349
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-07-25 14:24:11 +00:00
Eike Ziller
efa5a7b6d7 Merge remote-tracking branch 'origin/4.4'
Conflicts:
	qtcreator.pri

Change-Id: If5f4a9821a23ac0df81eb84b3980f9cf7ecd70ba
2017-07-25 11:54:44 +02:00
Jochen Becher
ffb5dc756a ModelEditor: Introduce custom relation type "Connection"
Change-Id: Iddd45508dcb2de1fa2b6d9b2b881b54a73172caf
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-07-25 04:04:53 +00:00
Jochen Becher
8100812531 ModelEditor: Support custom relations in configuration files
Change-Id: I87338f290bd1ea729682236df8b017516a18e7bb
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
2017-07-25 04:04:05 +00:00
Alessandro Portale
9113125a5e Wizards: Add file extension as text overlay to some wizards
Change-Id: Ibfd1144271c4381c7125db80713cbde431a54cf7
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2017-07-24 15:32:24 +00:00
Eike Ziller
1feb5c604d Merge remote-tracking branch 'origin/4.4'
Change-Id: I02e54f45d233b89ddaee9c87da9b9af2a56374b8
2017-07-21 10:08:05 +02:00
Alessandro Portale
e65d4c6f65 Wizards: Make the big wizards icons smaller
The feedback was clear: Icons were too big. This patch decreases
the sizes from 92x68 to 48x48. 48x48 should not be too big anymore,
and at the same time it should still allow to have an understandable
image.

Change-Id: I45a9f2214a43987ed60d2bd7527c025016dde745
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
2017-07-21 07:49:00 +00:00
Thomas Hartmann
35c7360892 QmlDesigner: Remove QtQuick.Controls 1.0 dependcy from Window mockup
It is not required and prevents the mockup from working if QQControls 1
are missing.

Change-Id: Ib439bded6dce6b8e0d6f21e9b22f3dad2a6c0d3a
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
2017-07-20 13:34:34 +00:00
hjk
1d682f2144 Debugger: Don't hard-fail on missing Python json module
Only needed for native combined debugging.

Task-number: QTCREATORBUG-18577
Change-Id: I7c5d877b9601e77ab8de251305db829a07675f8d
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-07-20 11:23:32 +00:00
Eike Ziller
361fdad3be Merge remote-tracking branch 'origin/4.4'
Change-Id: I778acc044ac105a11054b314aecac5b1c2cfee6a
2017-07-18 15:23:29 +02:00
Alessandro Portale
3be1af37e6 Wizards: Use the new icons for the Qt Quick Application Wizard
Task-number: QTCREATORBUG-18550
Change-Id: Ic91979393a8e2ea54a0d0ab10135028b42efba97
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2017-07-18 09:05:09 +00:00
Alessandro Portale
c77e76dd6d Nim: Update the Nim wizard icon
The icon should have the same size and look as the other icons.

Task-number: QTCREATORBUG-18550
Change-Id: I16ee48196a14878858f02cabe0678342b4abb44f
Reviewed-by: Filippo Cucchetto <filippocucchetto@gmail.com>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-07-18 08:58:06 +00:00
Mitch Curtis
d601c0177b Flat Dark theme: make property editor section title color more readable
This changes the color of PaletteBrightText from ffff0000 to ffff3333.
It is still quite bright (e.g. compared to the color in
b84aa8e837), as it's
supposed to be bright, and I don't know where else it may be used.

Change-Id: I7b125a8c80a4b79fa7106a9f7393081e8a11b22c
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
2017-07-17 12:11:22 +00:00
Tim Jenssen
d5342eff77 fix property spelling
Change-Id: I00f84ec8d2c83d7f3937d2e21a24e02ba28991b3
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2017-07-17 10:38:08 +00:00