aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Editor: update KSyntaxHighlighting lib to 5.73.0David Schulz2020-08-1114-204/+494
| | | | | | Change-Id: Ic46cf24a6afd5cee28f4294dc67186ae0d24fbf0 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* QmlDesigner: Add 3d axis colors to themeMiikka Heikkinen2020-08-111-1/+4
| | | | | | Task-number: QDS-2404 Change-Id: I16f9deb7ba6698adafdd1cc0c8bec868731e1aa8 Reviewed-by: Thomas Hartmann <thomas.hartmann@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>
* mac: fix touchbar delegate interfaceFawzi Mohamed2020-08-111-1/+1
| | | | | Change-Id: I984801ffdfab797cdff9248c048ca4c1dd08ecf3 Reviewed-by: Eike Ziller <eike.ziller@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>
* Update qbs submoduleRichard Weickelt2020-08-061-0/+0
| | | | | | | To HEAD of 1.17 branch. Change-Id: If128125a5e6a24efe7cdd523e133634e2bfe72d4 Reviewed-by: Christian Kandeler <christian.kandeler@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-033-5/+28
| | | | | | | | | | | | * 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: Enable modes/states with icon fontHenning Gruendl2020-08-032-0/+65
| | | | | | | | | Add functionality to use modes and states when generating a QIcon from a font in StyleHelper Task-number: QDS-2558 Change-Id: I764e8434a645d0984c6104cd1868fd5b0091d225 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>
* qmljs: qtdeclarative change 9ab1a6759018b78b0f160c5286f8b0235a34ec50Fawzi Mohamed2020-08-035-2585/+2665
| | | | | | | | | | Support required list properties The corresponding rules were missing so far. Fixes: QTBUG-85716 Change-Id: Iaf0cbfbb8736929a213bd6bf329bb2ebdde652c4 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* qmljs: fix unreachable test for catch clauseFawzi Mohamed2020-08-031-2/+22
| | | | | | Change-Id: Ica1ff034b88f06849026957c8beed2cda77badcc Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* OutputFormatter: Fix linkification of relative file pathsChristian Kandeler2020-07-311-4/+7
| | | | | | | | | | | | | | | | | | If we encounter a relative file path that can map to more than one absolute file path, we do not linkify it, as that would be misleading. However, we forgot to check whether the "different" candidates are really different. For example, consider the following situation: - We have a header file /usr/include/header.h. - This file shows up in the compile output as "../header.h". - At that time, we have two search dirs /usr/include/libA and /usr/include/libB. - This resulted in two candidate file paths /usr/include/libA/../header.h and /usr/include/libB/../header.h - The relative path was rejected as ambiguous. Fix this by checking for duplicates when gathering candidates. Change-Id: I139b848d938113f1b5a959d8043411f7f3e809be Reviewed-by: hjk <hjk@qt.io>
* Cmake: Fix compile output glitchChristian Kandeler2020-07-313-59/+74
| | | | | | | | | | | 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>
* Update qbs submoduleRichard Weickelt2020-07-241-0/+0
| | | | | | | To HEAD of 1.17 branch. Change-Id: Ic9015ebc7bb77b2ae6d9a10fd93d1e4a5279ff1d Reviewed-by: Christian Kandeler <christian.kandeler@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>