aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Update info. for the MCU tutorialqds/v1.6.0-beta1Venugopal Shivashankar2020-08-121-2/+2
| | | | | | | | | | | Apparently the conference talk materials are suppose to use "Talk" prefix and tag, whereas the online material should use the "Online" prefix and the "video" tag instead. Change-Id: I40c92cc241aae2f6648c8e0701a74db6010b2af0 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* CMake: Parse project on initial loadChristian Kandeler2020-08-122-11/+9
| | | | | | | | | | When opening a project for the first time, the project has already been added to the session when the BuildSystem object is created, whereas the code expected a different order. Fixes: QTCREATORBUG-24318 Change-Id: I8ccfeab7da4e566670f61bfe677a293033bdfe44 Reviewed-by: hjk <hjk@qt.io>
* Debugger: Fix crash when trying to remove all breakpoints of a filehjk2020-08-121-2/+3
| | | | | | Change-Id: Iea4478804be7b32a2da924e1163c5c4944c6e8a4 Fixes: QTCREATORBUG-24306 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Fix typo in Qbs project fileOrgad Shaneh2020-08-111-1/+1
| | | | | Change-Id: I989a3f491a8f5cfb26c513ead4f8121df327e09b Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* CPaster: Make dpaste use SSL permanentChristian Stenger2020-08-101-1/+1
| | | | | Change-Id: I8c3238c2efcfac1e1a4cf718e09a2f862be85b9b Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Do not pass invalid regex to matchChristian Stenger2020-08-101-1/+2
| | | | | Change-Id: I9917c9fa7a79132c253269efde90976e18f9b805 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* AutoTest: Display relative path for file nodesChristian Stenger2020-08-101-2/+15
| | | | | | | | | | | Using the full path for the file nodes may be quite long depending on the location of the project. Display its name relative to the project directory or the parent group node instead. Fixes: QTCREATORBUG-24374 Change-Id: I4ce57a0940008d99c51e63c2265a371a0ffe20ef Reviewed-by: David Schulz <david.schulz@qt.io>
* AutoTest: Fix possible crashChristian Stenger2020-08-101-1/+2
| | | | | | | | | Do not access list items if there are none. Amends 502ad9badb731. Fixes: QTCREATORBUG-24421 Change-Id: I2982f675bba36eac98cb116acf64472a9f415977 Reviewed-by: hjk <hjk@qt.io>
* QmlDesigner: Warn if no properties can be animated in transitionsThomas Hartmann2020-08-071-3/+10
| | | | | | | | Do not fail silently. Change-Id: Id8470f8b81a75dc660906ed53538e75563068527 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Core: Fix crash on exitChristian Kandeler2020-08-051-6/+5
| | | | | | | We accessed a reference after removing the value from the container. Change-Id: Idfb97093b7a23ba04e5cb0582c81031f431dce88 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QmlDesigner: Fix change type to include signalsHenning Gruendl2020-08-031-3/+39
| | | | | | | | | | * Fix the change type dialog to also include checking for signals * Add check for same type * Add dynamic properties and signals Task-number: QDS-2562 Change-Id: I34652e702d9051fb5a237afae584e345c731622f Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Make use of states in ADS iconsHenning Gruendl2020-08-032-4/+17
| | | | | | | | | | | | * Add the on state to the tab close QIcon to have a different color in focused tabs * Make the tab close icon checkable if FocusHighlighting is enabled to exploit the QIcon state for the color change * Adapt the focused font color in the dockwidget stylesheet Task-number: QDS-2558 Change-Id: I9fdfb93f0677f724336da8efdb2fb219af9c9e87 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Make use of mode for zoom iconsHenning Gruendl2020-08-031-6/+18
| | | | | | | | Add mode disabled to the zoom all button in FormEditor widget Task-number: QDS-2558 Change-Id: Ie0da97cca5ea4c2411e21fc3cbea202397e02097 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Fix duplicate items auto completionHenning Gruendl2020-08-031-1/+1
| | | | | | | | | | Fix duplicate items in the auto completion result by trimming the strings. Otherwise items like "Item " and "Item" will both show up in the result. Task-number: QDS-2561 Change-Id: I0244fed19cf358d5c72ee169cd8ffa13672edce2 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Sort incompatible propertiesHenning Gruendl2020-08-031-0/+2
| | | | | | | | Sort incompatible properties before showing them in the dialog. Task-number: QDS-2560 Change-Id: I9871bc8ea488be04fcfac7b9c0f1a7cbf185072a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Set unique id as object nameHenning Gruendl2020-08-031-1/+12
| | | | | | | Task-number: QDS-1821 Change-Id: I2021e2862797a40ea82ac4b279e33ba9e77a0dd7 Reviewed-by: Tanja Remes <tanja.remes@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Cmake: Fix compile output glitchChristian Kandeler2020-07-312-57/+60
| | | | | | | | | | | Using a dedicated OutputLineParser ensures that we only ever see complete lines and thus prevents "partially red" lines in the compile output pane. Fixes: QTCREATORBUG-24209 Change-Id: I12b3de70b81789afe727b66e366facdcc81f8ab8 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* CppTools: Bump TIDY_DOCUMENTATION_URL_TEMPLATE from 8.0.1 to 10.0.0Alessandro Portale2020-07-281-1/+1
| | | | | Change-Id: I198f805768984eb060b2a72f705e618e6a7a53ff Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* QmlJSTools: Fix plugin unit testChristian Stenger2020-07-281-1/+1
| | | | | | | Amends 58ea14aea7c676. Change-Id: I27d68572cffd9d2e37b3dbf8c47c75633db5d806 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* LSP: prevent nullptr accessDavid Schulz2020-07-281-1/+1
| | | | | | | Found by coverity scan Change-Id: Ibc243abbb40cde8c670084c9486fdd2f47b137de Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Android: Clarify error messageRobert Loehning2020-07-281-3/+3
| | | | | Change-Id: Id85c6a96ec2ffcb3bfd027ffdcc99ff97e1dd8ac Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Android: change openssl error dialog Ok to CancelAssam Boudjelthia2020-07-281-1/+1
| | | | | | Change-Id: Ib2be438e330c969a2ddb46db35c8f11e5cf94e9e Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Core::OutputWindow: Use proper numerus formRobert Loehning2020-07-271-1/+1
| | | | | Change-Id: I0c8da8a49a436ff9f8bcdcb02756be1734406df2 Reviewed-by: hjk <hjk@qt.io>
* Android: Introduce constants for Android ABIsAlessandro Portale2020-07-2610-34/+58
| | | | | | | | | Avoiding string duplication prevents typo-related runtime errors and allows an IDE to use find symbol rather than plain text search. Change-Id: I7fba7c7c5cf90c0b371efce3b575537b2708dd0f Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Git: Fix quoting of repository nameAndre Hartmann2020-07-241-1/+1
| | | | | | | ... in the "Uncommited Changes Found" dialog. Change-Id: I7f987786f4aada47983b849419e2443311dec75f Reviewed-by: Orgad Shaneh <orgads@gmail.com>
* VcsManager: Tell user which file is going to be deletedv4.13.0-beta2Robert Loehning2020-07-231-2/+2
| | | | | | Change-Id: I72a853cf65d0bd697379c1738657f098243b814d Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Fix iterating through files to removeRobert Loehning2020-07-231-4/+5
| | | | | Change-Id: I680f8e40248dbbf4f4ee76765fad7a99944b0a5f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* ProjectExplorer: Don't prompt user whether 0 files should be deletedRobert Loehning2020-07-231-8/+10
| | | | | Change-Id: I893c8af5e2c0f0172dd397732275bdec9918bc44 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Android: regression fix for warning missing ANDROID_ABISAssam Boudjelthia2020-07-231-1/+1
| | | | | | | | Ammends 27514fa94d40905809cc2ab80935d77d61185165. Task-number: QTCREATORBUG-23291 Change-Id: Iadf33f9c60a738c9ee4c810bb065667cab29aa92 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* CPaster: Inform about a permanent redirectChristian Stenger2020-07-231-1/+6
| | | | | | | | Helps to keep track of the current workaround and replace it again with using the updated URL on a permanent move. Change-Id: I913dbd7be18d77c9a8d52f1dd931cc5b30320fa2 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Android: Warn if the selected device main ABI is not selectedAssam Boudjelthia2020-07-236-1/+27
| | | | | | Task-number: QTCREATORBUG-23291 Change-Id: I2ae13edaee30c6548a37e077c18f508a42b42d25 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: Fix rendering of settings background in dark modeAlessandro Portale2020-07-232-436/+396
| | | | | | | | | | | | | | | | | | | | | This amends faad83d5a37448b472af2efa76b7193c83f2c1f1 by undoing the insertion of a QScrollArea + QWidget under the whole form. The reason for adding this was to be able to scroll down to the license agreements. Since Core::SettingsDialog already puts the settings widget into a QScrollArea, we have two of those and one is superfluous. When using a dark theme (e.g. flat-dark), this extra QScrollArea introduces wrong background color. Also, it complicates the already quite blown androidsettingswidget.ui This change removes the QSrollArea + QWidget while keeping the feature of scrolling to the license text. This is achieved by searching through the parent chain for a QScrollArea and using the first found one for scrolling. Task-number: QTCREATORBUG-24379 Change-Id: I2bdae9367eb06b68fa47badf2556eb1ec7ebcafb Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Android: Set more columns in AVD table to ResizeToContentsAlessandro Portale2020-07-231-1/+3
| | | | | | | Give the columns with potentailly more content some space. Change-Id: I4c213f97df077801e3b11ef09519973a61c58c4f Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Android: move tooltip from ui to widget class and shorten long phrasesAssam Boudjelthia2020-07-232-10/+16
| | | | | Change-Id: I15bd9f54e7d4dbc3fae62b331172d6bc8e74e7ad Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* CPaster: Fix fetching from DPasteChristian Stenger2020-07-232-11/+29
| | | | | | | Currently the fetch location has moved. Change-Id: Ie4cd3bf4b1050ca2c0cc17bde553f546232882e7 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Android: fix a title capitalizationAssam Boudjelthia2020-07-222-2/+2
| | | | | Change-Id: I5b22d95b85543f110f7c292d06112c1b72c337bf Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: fix settings widget palelette in dark modeAssam Boudjelthia2020-07-221-7/+1
| | | | | Change-Id: I2ef4f0d510bbbe732c790134b39a9ea5cb0af2fc Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: reset margins in settings widget pageAssam Boudjelthia2020-07-221-15/+0
| | | | | Change-Id: Ib295c25867242f729d6cd2e1516411f6f7df83d7 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: fix jdk path retreival on linuxAssam Boudjelthia2020-07-221-1/+2
| | | | | Change-Id: I4303b5f5636dce0096ae73ef6229a579b7fee202 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: Fix initial validating with clean settings and default pathsAlessandro Portale2020-07-221-13/+9
| | | | | | | | | | | | | | Relying on the PathChooser::rawPathChanged handlers to initially validate default paths with clean settings does not work (I think) because of a mix of interdependent (via m_androidConfig) synchronous and asynchronous validations. Let's assign the initial values for jdk, sdk and openssl also to m_androidConfig, so that everything works on the first run. Task-number: QTCREATORBUG-24372 Change-Id: Id6945d7bf81949a1f90cd20f9b3bd4e14a5bbe07 Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Android: set copy gradle templates checkbox to false by defaultAssam Boudjelthia2020-07-221-1/+1
| | | | | | | | | The Gradle files are usually not modified by the user, so it makes sense to make the default behavior not to copy them, unless explicitly set by the user. Change-Id: I67a5a8ea402def55a65a4e98588c57a598c5f7d0 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: re-organize manifest editor widgetAssam Boudjelthia2020-07-222-319/+341
| | | | | | | | | The current manifest editor has too many things at once with a long scroll bar, that can be overwhelming, this changes that by re-organizing elements and grouping others. Change-Id: Ie997af475939effbc575fa9e2a1d20184e943ff1 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Android: Fix that Android Studio's jdk does not get detected (Windows)Alessandro Portale2020-07-211-0/+25
| | | | | | | | | If all jdk detection methods on Windows remain unsuccessful, let's try to find an installation of Android Studio via the registry and use the "jre" folder (which is actually a jdk) from there. Change-Id: Ie4d7a4c5cc56f0b4675c86e436c3f1007994633c Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Android: re-organize "create templates" buttonAssam Boudjelthia2020-07-212-25/+15
| | | | | | Change-Id: Ibad5498f9a50d7c8adbc81cd5be435e02cca668d Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
* Android: explain what the downloaded openssl libraries are used forAssam Boudjelthia2020-07-201-1/+1
| | | | | | | Task-number: QTCREATORBUG-24074 Change-Id: I467d59e8c30d629ed532ad9311f65a1b30fd45a5 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* Debugger: Do not reset sysroot if override is not setOrgad Shaneh2020-07-201-1/+2
| | | | | Change-Id: Id489d6e8e0102bb8594470cc5a454c2e2c2afadb Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Help: Fix warningChristian Stenger2020-07-201-1/+1
| | | | | | | | The operator is not static otherwise it would be just an unused function. Change-Id: I01b8764adfdf8908d07362357211d64b55ea941e Reviewed-by: hjk <hjk@qt.io>
* Debugger: Remove name demanglerChristian Kandeler2020-07-2011-4394/+0
| | | | | | | Never been used, completely outdated, fails autotest. Change-Id: I2c1808b4a66e9abdb839670eeae3e5226c7246ba Reviewed-by: hjk <hjk@qt.io>
* Editor: set default text foreground color explicitDavid Schulz2020-07-202-2/+4
| | | | | | | | Amends 9182d4eda75033bbbebf50e87e518adc33d499f6. Fixes: QTCREATORBUG-24352 Change-Id: I16171874cf2f2e9fde95b404f7510a502a39f26e Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Git: Add new files with --intent-to-addOrgad Shaneh2020-07-193-6/+10
| | | | | | | | | | | | Sometimes the file is modified after adding it, either by Qt Creator itself or by the user. Running Diff on such a file may look strange. Instead of showing the entire file, it shows the diff since it was added with its initial content. Fixes: QTCREATORBUG-23441 Change-Id: I712cc574053f39753250685aec148d2b6d7db192 Reviewed-by: André Hartmann <aha_1980@gmx.de>