aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Fix lupdate issuesEike Ziller2020-07-178-2/+20
| | | | | Change-Id: I950d2f53fcc03ba447140f3c6957422ca40111b5 Reviewed-by: hjk <hjk@qt.io>
* Core: Improve handling of long output chunkshjk2020-07-171-4/+8
| | | | | | | | | | | | | | | | | Single chunks exceeding the limit were truncated and then shown in a single line, potentially resulting in only a few chars if there was a newline close to the cut-off point. Now, don't restrict to a single line in that csae. Additionally elide in the middle, assuming this is a better compromise than truncating at either end. Also, make the truncation more obvious, and mention the amount of elided characters. Change-Id: I850e2833e7f1f8be0f584d8e4439dd1a64f851d0 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
* Doc: Add Qt for MCUs video tutorialVenugopal Shivashankar2020-07-171-0/+4
| | | | | | | | | The youtube video demonstrates how to develop your first app on NXP i.MX RT1050 device. Change-Id: Ie706a6ff6a5395816a5ec9daef13c0baad1daf2d Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Wizards: Fix function parameter type in CppToolsJsExtensionChristian Kandeler2020-07-172-2/+2
| | | | | | | | We did not notice because the JS array was auto-converted into a string. Amends bcc2b5e08d. Change-Id: I06ee43f78cb3081bdff0a02f8d446326a01bc2d1 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* FakeVim: Fix case insensitivity handling for forward searchinghjk2020-07-171-19/+38
| | | | | | Change-Id: I1f5b13022f3ae06916434b48cf3c6ba6d4722746 Reviewed-by: Lukas Holecek <hluk@email.cz> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* ClangCodeModel: Fix race conditionChristian Kandeler2020-07-162-2/+9
| | | | | | | | | | ... between semantic re-highlighting and document visibility update. Make semanticRehighlight() a no-op if the document is not currently visible, and call it explicitly on an editor change. Fixes: QTCREATORBUG-24290 Change-Id: Ife61f61d3fb82e8b283bf93ab77d16517f6c6f9c Reviewed-by: David Schulz <david.schulz@qt.io>
* Debugger: Remove ConsoleViewStyleChristian Stenger2020-07-161-40/+0
| | | | | | | | | | | This interferes with the general theming of the output pane and the purpose is no more obvious. This patch fixes using a wrong scrollbar style on the QML Debugger Console. Change-Id: I4dfeecb77746b345f35809dd5e1bcb27a0fcd604 Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: hjk <hjk@qt.io>
* AutoTest: Fix auto expansion of test resultsChristian Stenger2020-07-161-1/+4
| | | | | | | | We may add items that have sub-items already, so apply the expansion to them as well if necessary. Change-Id: Ibff4433c5a7c0a110461e46998cd39864f4ec929 Reviewed-by: David Schulz <david.schulz@qt.io>
* Debugger: Do not send empty message on shutdownChristian Stenger2020-07-161-1/+0
| | | | | | | | This triggered a soft assert in DebuggerEngine::showMessage() and cleaning up the status bar is not necessary at all. Change-Id: I12d3d5cbc79f178af58ecb0a5c7a3130c880bdad Reviewed-by: hjk <hjk@qt.io>
* LSP: Use document contents to collect search result textsDavid Schulz2020-07-151-4/+21
| | | | | | | Otherwise search results in modified files will get wrong line texts. Change-Id: I7be4b27ebc5b250da3a3a0050de8646bcfcd010b Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* Debugger: disable load qml stack action for cdbDavid Schulz2020-07-141-2/+1
| | | | | | | | | | | | Since collecting the qml stack relies on calling functions it has a high risk of getting stuck in that call at least with Qt 5.15. Never the less I added the correct function in the cdbextension so when the action get's re-enabled in the future we already start with an updated extension. Task-number: QTCREATORBUG-22209 Change-Id: I535f8db5a64ae48b4163d9b67e133cc3de338432 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* QMake: highlight REPC qmake variables in pro filesDavid Schulz2020-07-141-0/+4
| | | | | | Fixes: QTCREATORBUG-24346 Change-Id: I07b8533b58233f15224341d1e9544f21a4fc2047 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
* GCC Parser: Recognize lines with "cc1plus"Christian Kandeler2020-07-142-0/+33
| | | | | Change-Id: I73a548b58c96fe944a80e36ee72ea9d3965ca6dc Reviewed-by: hjk <hjk@qt.io>
* iOS Device: Show some more information in device optionsEike Ziller2020-07-132-12/+50
| | | | | | | | | Show iOS device name, identifier, OS version and cpu architecture. Task-number: QTCREATORBUG-23016 Change-Id: I5fff2986a173800dabc585f17830cc242e436457 Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* iOS: Fix slow debugger startup on devicesEike Ziller2020-07-133-21/+25
| | | | | | | | | | | | | | | | | | | We need to pass the path to the device symbols, that Xcode downloaded for the device's OS version, as the sysroot to the debugger. Otherwise debugger startup is very slow. We already tried to do that, but it looks like, depending on the devices, this path can contain an architecture specific part, e.g. "iOS DeviceSupport/13.5.1 (17F80) arm64e" instead of just "iOS DeviceSupport/13.5.1 (17F80)". It can still be just the latter, so we get the devices architecture information, try the architecture specific directory first, and fall back to the architecture agnostic name as before if the former doesn't exist. Fixes: QTCREATORBUG-21682 Change-Id: I2efdbfda0282f1cf0f8d10bd4e5217a298027fcf Reviewed-by: hjk <hjk@qt.io> Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* GccParser: Recognize "required from" as a continuation markerChristian Kandeler2020-07-131-0/+40
| | | | | Change-Id: Iaea98cbccc6aa95e7eeaab23a2ef85a3eaa4b2e0 Reviewed-by: hjk <hjk@qt.io>
* Android: Use re-usable "copy and ask for overwrite" callableEike Ziller2020-07-132-74/+10
| | | | | Change-Id: I73779b5eaeebbd44fa6333f067adf220ddd77be4 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
* AutoTest: Persist check state to project settingsChristian Stenger2020-07-139-42/+110
| | | | | | | | | Make it easier to switch between projects and restore the former check states of the found test items if we have these information. Change-Id: I99a5357388c36aa8cce6f5f82184d6ab2a8bf6e8 Reviewed-by: David Schulz <david.schulz@qt.io>
* QmlDesigner: Add Singleton support to ConnectionsAleksei German2020-07-102-2/+67
| | | | | Change-Id: I07eae4e381f172d7c6a23ee5b7e13273afa788b9 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add remove group actionThomas Hartmann2020-07-104-30/+96
| | | | | | | Task-number: QDS-2228 Change-Id: I4174a51b3de1c7ea82b69b85bef19e62a878aa28 Reviewed-by: Henning Gründl <henning.gruendl@qt.io> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Android: fix app logcat not always displayedAssam Boudjelthia2020-07-101-5/+7
| | | | | | | | Fixes: QTCREATORBUG-23919 Fixes: QTCREATORBUG-23177 Task-number: QTCREATORBUG-23291 Change-Id: Ib053a15f2fd8e491a581268f3630725593186a47 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* QmlDesigner: Move zoom buttons to FormEditorWidgetHenning Gruendl2020-07-109-59/+104
| | | | | | | | | | | * Move the zoom all and zoom selection button to the FormEditorWidget taskbar * Add zoom in and zoom out actions/buttons * Fix ZoomAction in and out direction * Add update icon font Change-Id: I9addba5652cafa5884450bc633a1e16087aae8dd Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Add/remove the simulink component when the import is added/removedMahmoud Badri2020-07-104-14/+39
| | | | | | Task-number: QDS-2122 Change-Id: Ib4e2ff14ed9cfef1534f9c3edb0a8279fbabfd6a Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Add change type name dialogHenning Gruendl2020-07-101-4/+44
| | | | | | | | | | * Add a change type name dialog showing all incompatible properties * Fix ExpressionTextField triggering twice on pressing enter * Fix compare operator Task-number: QDS-1946 Change-Id: Ic384f6dcce44297b43839c17874108b39af909da Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* QmlDesigner: Controls 1 cleanupHenning Gruendl2020-07-101-0/+1
| | | | | | | | | | | | | | | | * Replace ScrollView Controls 1 with ScrollView Controls 2 * Replace TabView with TabBar and StackLayout * Remove unused styles * Replace Controls 1 imports * Remove print statement in FontSection * Fix layout width by correcting CheckBox width * Remove TabView from QtObjectPane Task-number: QDS-2454 Task-number: QDS-2455 Task-number: QDS-2456 Change-Id: I913d326afb012375dd5b804171cb8cd67681514c Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>