1. 02 Aug, 2016 4 commits
  2. 01 Aug, 2016 8 commits
    • Nazar Gerasymchuk's avatar
      Core: Fix tab order in several UI forms · 9611294d
      Nazar Gerasymchuk authored
      For unknown reasons tab order in listed UI files was set incorrectly and
      behave unexpectedly. Now tab order behave naturally.
      Changes made for next objects:
      Core::Internal::ExternalToolConfig (externaltoolconfig.ui),
      In QtCreator: Tools -> Options -> Environment -> External Tools tab.
      Core::Internal::GeneralSettings (generalsettings.ui),
      In QtCreator: Tools -> Options -> Environment -> Interface tab
      Core::Internal::MimeTypeMagicDialog (mimetypemagicdialog.ui),
      In QtCreator: Tools -> Options -> Environment -> MIME Types tab, choose
      any MIME type in "MIME Type" column,
      Core::Internal::MimeTypeSettingsPage (mimetypesettingspage.ui), In
      QtCreator: Tools -> Options -> Environment -> MIME Types tab
      Core::Internal::SystemSettings (systemsettings.ui),
      In QtCreator: Tools -> Options -> Environment -> System tab
      Change-Id: I04aefcb5ad75ef8b23fa1de324d986b45d5347bd
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
    • David Schulz's avatar
      CppEditor: Adjust completer tests to latest changes · f6f3e02e
      David Schulz authored
      Change-Id: I79cefaab88340e37161a31b1f356901dde947a0c
      Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
    • Tim Jenssen's avatar
      QmlDesigner: make gotoCodeClicked more safer · bb55a510
      Tim Jenssen authored
      Change-Id: I2861cf0e1f1c173b548e586a4fa43e8bc9f9c4da
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
    • hjk's avatar
      Debugger: Add new build path do automatic source mappings · ceb883e5
      hjk authored
      Change-Id: Ibdd67b91b9b99eb8188b562692afe7855931d6f6
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
    • hjk's avatar
      Debugger: Remove unused DebuggerKitConfigWidget::indexOf() · 33b73c5c
      hjk authored
      Change-Id: I8614aa692affa17c5fac754b1c4b247105dc5540
      Reviewed-by: Christian Stenger's avatarChristian Stenger <christian.stenger@qt.io>
    • Ulf Hermann's avatar
      Android: Run stop() asynchronously · 6c2036d9
      Ulf Hermann authored
      Running SynchronousProcess (for adb) on the GUI thread is dangerous as
      it might process unrelated events without returning, breaking
      assumptions in other parts of Qt Creator. Rather run those things on a
      worker thread, with a separate event loop, like we already do it when
      starting processes.
      Furthermore, returning, from start() or stop() while a thread is
      running that accesses internals of AndroidRunner is also dangerous,
      because most methods of AndroidRunner are not protected by relevant
      mutexes and especially the destructor might get invoked while the
      worker thread is still runnig. Thus, wait for the worker threads to
      finish, in start() and stop().
      This is a crutch, of course, as with proper locking we could keep the
      GUI thread responsive while the adb commands are running, but just
      serializing the execution reduces the risk of further breakage for now.
      Change-Id: Ife92dc19aa8111374413590c3156027ba759746f
      Task-number: QTCREATORBUG-16667
      Reviewed-by: default avatarBogDan Vatra <bogdan@kdab.com>
    • Ulf Hermann's avatar
      Android: Don't use blocking queued connections for running ps · cbd738ab
      Ulf Hermann authored
      If ps is run from a different thread than the GUI thread, then we are
      obviously not dealing with the "checkPID" function that's running every
      second. We don't need to be overly prudent about starting another
      process then. On the other hand, the blocking queued connection relies
      on the ps shell not getting closed from a different thread in between
      and it is generally a risk for creating dead locks.
      Change-Id: Ief49fb18cc3199dc345c4d9ca0ee24b66d33343c
      Reviewed-by: default avatarBogDan Vatra <bogdan@kdab.com>
    • Christian Stenger's avatar
      AutoTest: Minor fix for initial test scan · 18ac6b8b
      Christian Stenger authored
      If parsing the project is not finished we get an empty list of
      files to be scanned.
      Just trigger another full scan for such a case.
      Change-Id: I84b275f76bc98c8f0ef544fc27d30ebd6f8b43d1
      Reviewed-by: Oliver Wolff's avatarOliver Wolff <oliver.wolff@qt.io>
  3. 29 Jul, 2016 8 commits
  4. 28 Jul, 2016 12 commits
  5. 27 Jul, 2016 5 commits
    • Nikolai Kosjar's avatar
      ClangStaticAnalyzer: Do not try to determine version of clang-cl.exe · 351919a1
      Nikolai Kosjar authored
      It does not understand "--version". Use clang.exe for the version check.
      Change-Id: I64a46e8e2e5be47ad6f13c9c5497264e1128a22a
      Reviewed-by: Christian Kandeler's avatarChristian Kandeler <christian.kandeler@qt.io>
    • Thomas Hartmann's avatar
      QmlDesigner.ItemLibrary: Adding support for StackLayout · 66c589f9
      Thomas Hartmann authored
      The StackLayout is working and it makes sense to add it to the
      item library.
      Change-Id: I732398a25091f2a33f38c42f5bf1c55ef9dac237
      Reviewed-by: Alessandro Portale's avatarAlessandro Portale <alessandro.portale@qt.io>
    • Nikolai Kosjar's avatar
      Clang: Set limit for sorting completion items · 4ae368dd
      Nikolai Kosjar authored
      Having *some* limit is reasonable since sorting happens in the UI thread
      and given enough includes/symbols it will freeze sooner or later.
      The strategy is now: Stop sorting at all if there are more than 30.000
      completion items to process.
      The limit is a guess made on the following measurements. The goal is to
      keep below 100ms.
       test | items | before | now
       Cpp1 | 6394  | 172ms  | 15ms |
       Win1 | 44739 | 125ms  | 56ms |
       Qtc1 | 9648, |  16ms  | 15ms |
       Qtc2 | 10210 |  20ms  | 16ms |
       Qtc3 | 51044 | 141ms  | 63ms |
       Qt1  | 62953 | 172ms  | 78ms |
      Windows.h alone pulls in about 44.000 completion items.
      Used test procedure
      For each test below, do:
       1. Start Qt Creator in release mode
       2. Open/create the project with a MSVC2015 Kit
       3. Open the mentioned file
       4. Strg+Space in the mentioned function
      Measured with a timer in IpcReceiver::codeCompleted.
      Test projects:
       Cpp1: stdc++11-includes.pro, main.cpp, main()
       Win1: Create project from wizard, *.cpp file including windows.h, completion
             in some added function
       Qtc1: qtcreator.pro, texteditor.cpp, BaseTextEditor::duplicate()
       Qtc2: qtcreator.pro, fakevimhandler.cpp, FakeVimHandler::jumpToLocalMark
       Qtc3: qtcreator.pro, botan.cpp, version_string()
       Qt1:  qt-essential-includes.pro, main.cpp, main()
      Change-Id: I6fbd65d14f6086f289be7dd6c24385996e4bde83
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      Reviewed-by: Alessandro Portale's avatarAlessandro Portale <alessandro.portale@qt.io>
    • Ulf Hermann's avatar
      QML Debugger: Don't pretend the engine is interrupted when it isn't · a5b0525b
      Ulf Hermann authored
      After sending the interrupt request the application will continue to
      the next line of JavaScript and only interrupt then. There is no way
      to interrupt the application via the JS debugger as long as no JS
      engine is active.
      The downside of this is that the pause/continue/stop icons are disabled
      until the application actually interrupts. The user might not
      understand this.
      Change-Id: I355de52f65898d6bdcd437675adba368662f3c13
      Task-number: QTCREATORBUG-16646
      Reviewed-by: default avatarhjk <hjk@qt.io>
    • Alessandro Portale's avatar
      QmlDesigner: Themable and HighDPI Text style icons · 3752a67d
      Alessandro Portale authored
      Change-Id: Ib677d38d660b631a235c00c1e37590780aadb252
      Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@theqtcompany.com>
  6. 26 Jul, 2016 3 commits