summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Improve edit view 3D "on top" logicqds/v1.4.0-rc1Mahmoud Badri2019-12-1331-403/+307
| | | | | | | | | | | | | | | | | | | | | | - Proxy dialog removed - When the QDS window is minimized/maximized, the edit view 3D follows. The opposite is not true (edit view 3D can be minimized separately). - Edit view 3D is always on top of QDS window. Only exception is when a popup is shown (so that the user can handle the popup). - External apps go normally on top of the edit view 3D. Known (non critical) issues: - Activating the edit view 3D doesn't raise() the QDS window, so if an external app is on top of the edit view 3D then the view is clicked, the external app will be in between the view and the QDS window. - Closing the edit view 3D from the x button doesnt work (causes a restart). This is not in the scope of this commit. Task-number: QDS-1179 Change-Id: I1dd72590037be295b94735de96772307ba14c59c Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* WebAssembly: Ensure that the device is created after the kits are loadedChristian Kandeler2019-12-131-1/+4
| | | | | | | | | That way, the device of the WebAssembly Kit is correctly set if device type and device of the kit were previously wrong. Task-number: QTCREATORBUG-23360 Change-Id: I40b6650ede2e632fe5cc7cb27b576de8d1bfd066 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Fix rotation resulting in NaN angle sometimesMiikka Heikkinen2019-12-131-0/+5
| | | | | | | Change-Id: I88f866c6649f7ec25bc96a7393d0930685e5382b Fixes: QDS-1341 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Properly update 3D edit view cameras and lightsMiikka Heikkinen2019-12-135-26/+57
| | | | | | | | | | | Now edit view will create and remove cameras and light gizmos properly when cameras and lights are added or deleted. Change-Id: I858752c1410f3a40ea2adaf538c281aaee94ec58 Fixes: QDS-1267 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Qnx: Add QnxRunConfiguration::doAdditionalSetup()Christian Kandeler2019-12-122-16/+27
| | | | | | | Same principle as in b526d789cf. Change-Id: I79b69f709ab401b46d2edef3b5a6b0672e30eaff Reviewed-by: hjk <hjk@qt.io>
* Boot2Qt: Add QdbRunConfiguration::doAdditionalSetup()Christian Kandeler2019-12-122-1/+7
| | | | | | | | | This amends b526d789cf. I had forgotten that Boot2Qt no longer inherits from RemoteLinux. Fixes: QTCREATORBUG-23315 Change-Id: Ic0fa4d54df4b7957916be67ec515df57f2fb2ce1 Reviewed-by: hjk <hjk@qt.io>
* QmlDesigner: Fix material managerHenning Gruendl2019-12-114-7/+18
| | | | | | Task-number: QDS-1332 Change-Id: I70828c3ce584ab72115f92dda4a27341e00085e2 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix missing forward declareChristian Stenger2019-12-111-0/+1
| | | | | | | Amends f26d770322ca6b6b4575a7e2. Change-Id: I2ed208c54ec0f5d2e398870d9fede985d05c38b6 Reviewed-by: hjk <hjk@qt.io>
* Use separate MouseArea3D to calculate drag vectorMiikka Heikkinen2019-12-1112-20/+92
| | | | | | | | | | | | | Using the MouseArea3D linked to gizmo to manage the drag leads to slight unwanted drift on the drag plane, as it moves with the gizmo. Fixed by using a helper MouseArea3D to calculate drag vector. Helper area's transform is set at mouse press time and is not changed during the drag. Change-Id: I50d3f738277bd34005c977423d114abc8dbed520 Fixes: QDS-1312 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Update selection box on parent changeMiikka Heikkinen2019-12-111-0/+4
| | | | | | | | | | Selection box geometry update sets explicit global transform for selection box root. The transform depends on the target node parent, so if the parent changes, the box needs to be updated. Change-Id: Iccf8b7e863bcfe541bbb4f60a4094739a7513e8d Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
* QmlDesigner Connection Delete Shortcut replacementAleksei German2019-12-112-0/+8
| | | | | | Task: QDS-1320 Change-Id: I1a94d30710d58dfbd8e90a45133700af20fc2980 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* CppTools: Update clang-tidy documentation URLAlessandro Portale2019-12-111-1/+1
| | | | | | | 8.0.0 -> 8.0.1 Change-Id: Ic58777d2e97711e12e208c1b2a709bb0a9279e41 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Fix more warnings about unused parameters and functionsChristian Kandeler2019-12-103-28/+5
| | | | | Change-Id: I8b569fcf60a0a21c6828d612997bbba0f737c806 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* ProjectExplorer: Fix crashChristian Kandeler2019-12-101-1/+1
| | | | | | | One must not call std::next() on a non-dereferenceable iterator. Change-Id: Id40341f808a3781f91f8aef1930bb76a397e8053 Reviewed-by: hjk <hjk@qt.io>
* LanguageClient: Fix crash on closing qc while restarting a serverv4.11.0David Schulz2019-12-101-0/+2
| | | | | | | | Reset the assist providers when restarting a server, so the client can be safely shutdown while closing Qt Creator. Change-Id: I4d5f18582a8c67cbe02974d72fcef9703ed64dc4 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* add python improvements to changes fileDavid Schulz2019-12-101-0/+2
| | | | | Change-Id: I07518d60b21770554d8fc944631b907411fd4ee9 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Python: Reset editor info bars when closing documentDavid Schulz2019-12-101-1/+11
| | | | | | | | Fixes crash after reopening a python document and configuring the python language server in the reopend document. Change-Id: I42eb6c5d3ccb755a836fd9071b3147d65c8c0ab6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* RemoteLinux: Add RemoteLinuxRunConfiguration::doAdditionalSetup()Christian Kandeler2019-12-102-2/+7
| | | | | | | | | | | This became necessary after commit b1dbd7e358, because now run configurations are created after parsing has finished, so they will not initially receive the signals that cause them to update their target information. Fixes: QTCREATORBUG-23315 Change-Id: I761e5a5bd4ed6015037f562c10792fe16147739a Reviewed-by: hjk <hjk@qt.io>
* Android: Log Sdk manager callsAlessandro Portale2019-12-101-0/+4
| | | | | | | ... helps finding reason for logged parsing errors. Change-Id: Ia544d7d042e3eb8db04c122fe9f2f8e753e8ef4a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ProjectExplorer: Update CMake target on DesktopRunConfiguration clonedAlexander Akulich2019-12-101-2/+1
| | | | | | | | Call updateTargetInformation() for all kinds of configuration to fix ExecutableAspect initialization. Change-Id: Ie568f589fd6a6570fe84353bf145f7f87d1f0448 Reviewed-by: hjk <hjk@qt.io>
* Android: Make more logged command calls copy&pasteableAlessandro Portale2019-12-092-5/+7
| | | | | Change-Id: I43e01efc4cb583235ad2d97150d4478b23558659 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* McuSupport: Set jom via CMAKE_MAKE_PROGRAM instead of adding it to PathAlessandro Portale2019-12-061-7/+19
| | | | | | | | | Let's add less to the Path variable of the Kit's build environment. If jom.exe is present, define it via CMAKE_MAKE_PROGRAM, set the CMake Generator to Jom and hide the CMake Generator setting. Change-Id: I58de73dc631f753d3e5c1706e593afb923fcb588 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* McuSupport: Check for presence of CMakeAlessandro Portale2019-12-061-7/+47
| | | | | | | | If no CMake tool is present, direct the user to the CMake settings, insted of creating non-functional kits. Change-Id: I0326b1fd37a0475a3a2983ad6108729b0c54d87c Reviewed-by: hjk <hjk@qt.io>
* Android: Distinguish OutputParser MarkerTag for available updatesAlessandro Portale2019-12-061-1/+1
| | | | | Change-Id: Ia8389050d8be71454029e1a2848a29de33391f2a Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
* QmlDesigner ConnectionViewWidget delete quick fixAleksei German2019-12-061-1/+0
| | | | | Change-Id: I0147a73fb9358a4fd5949308e95ddb1bdd934e3f Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner Action Editor for Connections ViewAleksei German2019-12-0614-17/+327
| | | | | | Task: QDS-1261 Change-Id: I81e6687e31a0f987ba15dc81dd52f240e4ea9689 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add item layer propertiesHenning Gruendl2019-12-065-1/+434
| | | | | | | Task-number: QDS-1305 Change-Id: I0d6a390ac05f6bda9f11ecb25b461c95519d8bb3 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
* QmlDesigner: Add control for material managementHenning Gruendl2019-12-065-2/+382
| | | | | | | | | | - Create EditableListView for material management - Add id list functionality to PropertyEditorValue Task-number: QDS-1258 Task-number: QDS-1256 Change-Id: I1694648b36845b22f4773ecbd578d77c22c934e2 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: fix endless loop when maxTime is 0Tim Jenssen2019-12-061-1/+1
| | | | | | | | | | If there is no active timeline or maxtime is really 0 int GraphicsView::mapValueToY(double y) const was in an endless loop Change-Id: I42c18d9183338d2b76f1f06bab279da7f95b51d9 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Knud Dollereder <knud.dollereder@qt.io>
* QmlJS: Add "Symbol, Object, Function, RegExp" to global functionsTim Jenssen2019-12-061-1/+2
| | | | | | | | | This fixes a false positive error message. Task-number: QTCREATORBUG-22599 Change-Id: Ibdf9a3a6b1679bd11afa87ca3d5e77fcda773ce0 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* CompilationDatabaseProjectManager: Fix file classification errorChristian Kandeler2019-12-061-1/+1
| | | | | | Fixes: QTCREATORBUG-23143 Change-Id: I670a7858070fd8c0d62b872b22f9605cc6a3b329 Reviewed-by: hjk <hjk@qt.io>
* QmlDesigner: Add option forceFreeType to qmlprojectThomas Hartmann2019-12-068-1/+44
| | | | | | | | | | | | | | This option enforces the usage of FreeType even on Windows for the form editor and live preview. This can be useful when developing for Linux devices. The option can be eanbled by adding 'forceFreeType: true' to the .qmlproject file. Task-number: QDS-1143 Change-Id: I7e749e95584e23202536596ee4f7cdaa09d3a371 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Update Qbs submoduleRichard Weickelt2019-12-051-0/+0
| | | | | Change-Id: I80c6d4a725b49c525680f903a15a6ca749e6c81a Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Remove "Exporting Designs from Graphics Software" topicLeena Miettinen2019-12-055-180/+2
| | | | | | | | Users are confused, because we now have Qt Bridge for Photoshop. Change-Id: I63220cd2c2df5bc552b96c4cf7a5df72d2fe89b4 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Wizard: Fix test registration to ctestChristian Stenger2019-12-051-4/+4
| | | | | Change-Id: Ia30cdf1ce690a2ebbc2e991e4e3f8a029e4768ed Reviewed-by: David Schulz <david.schulz@qt.io>
* QmlDesigner: Fix selection box size calculationsMiikka Heikkinen2019-12-042-5/+21
| | | | | | | | | | | | Selection box for zero size items ended up being infinite, which broke some functionality like fit to camera. Now boxes should be correctly zero sized for non-model items. This also fixes issues with parent box size if it has zero size children. Change-Id: I3c8fae3ee971fbb0cf9e0de2615c107ce97a76f8 Fixes: QDS-1287 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Android: Don't attempt to handle a non-existing qt_live_viewer.apkAlessandro Portale2019-12-041-5/+7
| | | | | | | | | This remove 4 failed adb calls if the qt_live_viewer.apk is missing (which it always is). Task-number: QTCREATORBUG-23313 Change-Id: I8dbf833b35a9386d8d87f72c043dd019c62b4467 Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
* Output panes: Handle the case where an output chunk is splitChristian Kandeler2019-12-041-1/+12
| | | | | | | ...right between '\r' and '\n'. Change-Id: Id372cd9a099ef933af4836e20aebc1fc0fd8d5a8 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* QmlDesigner: Fix planar scaling randomly setting the third axis to zeroMiikka Heikkinen2019-12-041-3/+3
| | | | | | | | | | All the math before checking if the scaling axis is zero can cause enough rounding errors to make qFuzzyIsNull to not think the value is zero anymore, so check increase the check range. Change-Id: I776d44886f061be6c1fd91c09eb8efcfb29e0936 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix 3D edit gizmos orientation and rotation orderMiikka Heikkinen2019-12-0410-32/+93
| | | | | | | | | | When selected node has non-default rotation order or orientation, gizmos need to account for that. Change-Id: Ie3817fd057b43f708ac1feea3e98e1e44f56d66a Fixes: QDS-1290 Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Output panes: Fix newline handlingChristian Kandeler2019-12-041-7/+9
| | | | | | | | | | | | | On repeated invocations of OutputWindow::appendMessage(), embedded newlines would simply disappear because of an off-by-one error. The only reason this was not observed all the time is that the relevant code is only run for process output, which usually comes in larger chunks, so that the whole output would get procecessed in a single call to appendMessage(). Fixes: QTCREATORBUG-23300 Change-Id: Ibd10d33462d1922671c3cd9325adbbf2841bfa06 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Doc: Remove known issue that has been fixedLeena Miettinen2019-12-041-5/+1
| | | | | Change-Id: Ib9d1b25373070647c99eb756232d426253094b18 Reviewed-by: hjk <hjk@qt.io>
* Doc: Fix navigation links after structure changesLeena Miettinen2019-12-046-8/+13
| | | | | | | ...in Qt Design Studio manual Change-Id: I6ff4aac1d142fc474fcafa85bc5cb3b5b8fa7675 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Debugger/Dumper: Fix dumping CPlusPlus::TokenNikolai Kosjar2019-12-041-1/+1
| | | | | Change-Id: I368f5227ecb675a653f65d76e83622305390b5ff Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* Squish: Fix compiler detectionChristian Stenger2019-12-041-5/+3
| | | | | | | | | Find clang and clang++ in more than one location. If they could be found in more than a single path provided inside PATH we expected only the first occurrence. Change-Id: Ibcd7b7b6dff1153fd4b52b055c0fb2a0c5d9d7fc Reviewed-by: Robert Loehning <robert.loehning@qt.io>
* CMake Build: do not fail to install on missing targetsCristian Adam2019-12-031-4/+8
| | | | | | | | | | | The install target will install all targets that what have been built. If some plugin is not being built (all Clang* plugins) by not having the necesssary dependencies, it's not a failure not to have that plugin at installation time. Change-Id: I78b71a3fcae462d3eae7520744bfebab3f924bb4 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Fix debugging armv7a & x86 when running on 64 bit targetsBogDan Vatra2019-12-034-8/+2
| | | | | | | | We need to choose the preferred ABI based on what it's in the package not based on what Qt supports. Change-Id: I243fbf67913af7804af868d507323c0934ad3752 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Android: Don't add contains(ANDROID_TARGET_ARCH,..) scope for Qt 5.14BogDan Vatra2019-12-031-5/+13
| | | | | | | | | | Starting with Qt 5.14 we don't need "contains(ANDROID_TARGET_ARCH" scope as we are doing multi abi builds in one go, therefore contains(ANDROID_TARGET_ARCH,...) won't work anymore. Fixes: QTBUG-79948 Change-Id: Icc989e4dfd48c765340569dcb547e8d0d2b1e8f1 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Android: Fix pid typeBogDan Vatra2019-12-033-3/+3
| | | | | | | PIDs on Android (also on linux) are int64 not int Change-Id: I6611361d4f7ab66018b3174e8fe64a41fa111350 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* QML Designer: Link qtquickplugin against QtQmlUlf Hermann2019-12-032-0/+4
| | | | | | | | | | Otherwise you cannot use the qtquickcompiler. Fixes: QTBUG-80470 Change-Id: I6f03dddb79d17ee8a784831b91e46910909e3ec4 Reviewed-by: Liang Qi <liang.qi@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>