1. 11 May, 2017 3 commits
    • Nikolai Kosjar's avatar
      Clang: Show function signature hint for constructors and functors · 64ec6955
      Nikolai Kosjar authored
      
      
      For "foo(|" [1] we requested a completion from libclang with the cursor
      position just before "foo" and then filtered the function declarations
      for functions matching the name "foo". This worked fine for ordinary
      functions, but obviously not for constructors and functors.
      
      Recent versions of libclang support proper function call completion with
      XCursor_OverloadCandidate, so make use of that.
      
      [1] '|' represents the cursor position
      
      Task-number: QTCREATORBUG-14882
      Task-number: QTCREATORBUG-14884
      Change-Id: I9d31b3960ccff6a8b9440dbcb7ff9f5ca9f61266
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      64ec6955
    • Nikolai Kosjar's avatar
      Clang: Make use of CXTranslationUnit_KeepGoing · f127cb3c
      Nikolai Kosjar authored
      
      
      From the documentation:
      
       Do not stop processing when fatal errors are encountered.
      
       When fatal errors are encountered while parsing a translation unit,
       semantic analysis is typically stopped early when compiling code. A common
       source for fatal errors are unresolvable include files. For the
       purposes of an IDE, this is undesirable behavior and as much information
       as possible should be reported. Use this flag to enable this behavior.
      
      Change-Id: I0af9f7b1ed68c41e9bcf0abf97d8a4e22dc124ca
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      f127cb3c
    • Thomas Hartmann's avatar
      QmlDesigner: Move icon retrieviel to ModelNode · 514e0a8d
      Thomas Hartmann authored
      
      
      This allows to use the icon in other places.
      
      Change-Id: I3c67351273f3be3c0fbe19eb58984cf54d057a3d
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      514e0a8d
  2. 10 May, 2017 3 commits
    • Thomas Hartmann's avatar
      QmlDesigner: Adjust color · 94e02994
      Thomas Hartmann authored
      
      
      The rectangle that indicates selection has now the selection color.
      
      Change-Id: I59bcd070bfb8b16f297e648ff53d83c8953b4896
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      94e02994
    • Thomas Hartmann's avatar
      QmlDesigner: Reimplement navigator model · 8c2467d4
      Thomas Hartmann authored
      
      
      This patch gets rid of of QStandardItemModel.
      Instead we implement a simple tree model without
      any explicit structure. The model simply maps
      the generic Model to a tree.
      
      The advantage of the new model is that is does not use
      a shadow data structure (QStandardItemModel) anymore.
      The original model is always directly mapped to the tree model.
      This makes initialization a lot faster and and there cannot
      be any synchronization issues anymore.
      
      Change-Id: I0e71ff2d4067f29a4c25c78ad3d626a5daf206a4
      Reviewed-by: Tim Jenssen's avatarTim Jenssen <tim.jenssen@qt.io>
      8c2467d4
    • Ulf Hermann's avatar
      QmlProfiler: Increase flame graph view context menu test timeout · d79dde6d
      Ulf Hermann authored
      
      
      Apparently macOS will block the event loop until a real mouse click
      happens if you open and close context menus in quick succession. When
      it does that, the timer won't hit anymore and the mouse event to trigger
      the next test step won't be generated.
      
      Change-Id: Ie0c05d8a5a2020fe46381358133cd7cdbbf42299
      Reviewed-by: Christian Kandeler's avatarChristian Kandeler <christian.kandeler@qt.io>
      d79dde6d
  3. 09 May, 2017 12 commits
  4. 08 May, 2017 14 commits
  5. 05 May, 2017 8 commits