1. 27 Jul, 2016 4 commits
    • 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>
      4ae368dd
    • Riitta-Leena Miettinen's avatar
      Doc: Add docs for "Import as qmake Project" wizard · 87db5ba6
      Riitta-Leena Miettinen authored
      Change-Id: I38bcf939a9092c7f77d2b0839df4477e68462101
      Reviewed-by: default avatarhjk <hjk@qt.io>
      87db5ba6
    • 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>
      a5b0525b
    • 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>
      3752a67d
  2. 26 Jul, 2016 20 commits
  3. 25 Jul, 2016 16 commits