aboutsummaryrefslogtreecommitdiffstats
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-223-3/+3
| | | | | 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>
* Squish: Stabilize menuVisibleAtEditor() even moreChristian Stenger2020-07-221-1/+3
| | | | | | | | | If the machine fails to correctly initialize the desktop environment we end up with a rather small resolution which in turn makes the condition useless. Change-Id: Idcea7f4e2a5dd265442b5c9d98bf42ed7f01c8af Reviewed-by: Robert Loehning <robert.loehning@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>
* Squish: Update expected completion proposalRobert Loehning2020-07-211-1/+1
| | | | | | Change-Id: I89f44690bdda5a12776f39efb7b1872ff5e9cc93 Reviewed-by: Robert Loehning <robert.loehning@qt.io> Reviewed-by: Christian Stenger <christian.stenger@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-2017-5050/+0
| | | | | | | Never been used, completely outdated, fails autotest. Change-Id: I2c1808b4a66e9abdb839670eeae3e5226c7246ba Reviewed-by: hjk <hjk@qt.io>
* Utils::Environment: Fix NameValueDictionary::diff()Christian Kandeler2020-07-201-1/+1
| | | | | | | We missed the case where only the enabled/disabled status was different. Change-Id: Ic23e15f6843015feff2242cb67444dfa17cc5f2d 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>
* CPlusPlus: Fix handling incomplete macro invocationsChristian Kandeler2020-07-171-1/+2
| | | | | | | | | It looks very much as though the original author simply forgot to add that return statement. Fixes: QTCREATORBUG-23881 Change-Id: Ie93d2451bf1b491d01137285f983d657133c81c3 Reviewed-by: Christian Stenger <christian.stenger@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>
* CMake build: Fix configuring with CMake 3.10 and external yaml-cppEike Ziller2020-07-171-1/+1
| | | | | | | | | | | CMake 3.10 does not allow using target_include_directories with INTERFACE on imported targets. https://gitlab.kitware.com/cmake/cmake/-/issues/15689 Fixes: QTCREATORBUG-24356 Change-Id: I2427276f0851010cda2321c45eff0628713af2ff Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* Fix deployment of clazy-standaloneEike Ziller2020-07-172-16/+28
| | | | | | | | | | On Linux and macOS, clazy-standalone links against some dynamic libraries which we need to ship. Fixes: QTCREATORBUG-24344 Change-Id: I4946d2ae22fc9363445e6a3eecb8d9e40be5ef0e Reviewed-by: Christian Kandeler <christian.kandeler@qt.io> Reviewed-by: Christian Stenger <christian.stenger@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-142-3/+2
| | | | | | | | | | | | 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>
* Cdbext: Fix fetching partial variableDavid Schulz2020-07-143-9/+11
| | | | | | | | | | | Avoid calling PyValue::childCount as it expands the values in front of the partial variable recursively. This outdates scopeEnd as it is fetched before the items are expanded, which again results in a too early return from that function. Fixes: QTCREATORBUG-24108 Change-Id: I0848cde88c6ff8019a4ab22ac1153598c20e563d 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>
* README: Bump LLVM version in build instructionsOrgad Shaneh2020-07-141-3/+3
| | | | | Change-Id: I3321d422f109f8f9c96adef2f944415ce2ec9569 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
* Bump version to 4.13 beta2Eike Ziller2020-07-143-9/+9
| | | | | Change-Id: I836987b4c4e28c65cb67c2efba595ed92d071b6a Reviewed-by: Eike Ziller <eike.ziller@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-133-77/+89
| | | | | | | | | 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-134-21/+38
| | | | | | | | | | | | | | | | | | | 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>