1. 04 Aug, 2016 3 commits
  2. 03 Aug, 2016 6 commits
  3. 02 Aug, 2016 4 commits
  4. 29 Jul, 2016 10 commits
  5. 28 Jul, 2016 13 commits
  6. 27 Jul, 2016 4 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>
      351919a1
    • 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>
      66c589f9
    • 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
    • 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