1. 27 Apr, 2017 1 commit
  2. 07 Apr, 2017 1 commit
  3. 15 Mar, 2017 1 commit
  4. 08 Mar, 2017 1 commit
    • Christian Stenger's avatar
      QmlJS: Allow forced rescan on already known paths · 05e8f34d
      Christian Stenger authored
      
      
      Qml files used by Quick tests are not necessarily added to the
      project file and therefore not fully handled by the QmlJS code
      model / snapshot.
      When adding qml files to a directory that is handled by the
      code model these folders are not scanned again - we need to
      enforce such a scan on AutoTest plugin's side.
      
      Task-number: QTCREATORBUG-17805
      Change-Id: Ie3d071a9aa03297d618648b06d52fb298c856d25
      Reviewed-by: default avatarMarco Benelli <marco.benelli@qt.io>
      05e8f34d
  5. 08 Feb, 2017 1 commit
  6. 01 Nov, 2016 1 commit
  7. 28 Oct, 2016 1 commit
  8. 09 Aug, 2016 1 commit
  9. 25 Jul, 2016 1 commit
  10. 15 Jul, 2016 1 commit
    • Ulf Hermann's avatar
      QmlJS: Reparse cpp types when component headers change · 1e7bf7f7
      Ulf Hermann authored
      
      
      Previously the code model would only get updated when the document that
      contains the qmlRegisterType changed. If the actual component exported
      to QML lives in a different file, any updates to that component would
      be lost. With this change we keep track of the header files the
      components are declared in and rescan if any of them changes.
      
      This is still not the greatest way to do it as there are a number of
      ways to introduce dependencies the system cannot detect. It's better
      than before, though.
      
      Change-Id: Ic077c516dca3ac720f78973c84e5e6e91b6a5c07
      Reviewed-by: default avatarMarco Benelli <marco.benelli@qt.io>
      1e7bf7f7
  11. 28 Jun, 2016 1 commit
  12. 20 Jun, 2016 1 commit
  13. 29 Mar, 2016 1 commit
    • Ulf Hermann's avatar
      QmlJS: Fix resolution of "alias" directives in qrc files · 35bafd39
      Ulf Hermann authored
      
      
      Previously qrc paths of QML/JS documents were not considered for
      implicit imports. Only the path of the document in the file system
      was considered. The QML engine, however, doesn't know the original
      path at all and only uses the qrc paths for import resolution. This
      created a mismatch between what the QML engine could recognize and
      what the code model suggested.
      
      Without alias directives, any files imported from a qrc file would
      have to reside in the same directory as the one implicitly importing
      them, so this arrangement happened to work, most of the time.
      
      In order to support aliases we have to search the files in the same
      qrc path to figure out the imports. To do that, we keep a reverse
      map of qrc paths to files in the QrcParser and iterate that when
      resolving imports.
      
      Change-Id: I84baae6cbfbe96ddd5322c81494c1e4a3f473f3f
      Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
      Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
      35bafd39
  14. 10 Feb, 2016 1 commit
  15. 01 Feb, 2016 1 commit
  16. 28 Jan, 2016 1 commit
    • Orgad Shaneh's avatar
      Revert "QmlJS: Exchange unsafe meta calls with QTimer::singleShot" · a6e6c88e
      Orgad Shaneh authored
      QTimer::singleShot with a member function pointer or a lambda does
      not schedule the invocation directly on the receivers event loop,
      even if the timeout is 0. It actually creates a timer in the thread
      where QTimer::singleShot is called, which requires an event dispatcher
      to be available. Only the timer's timeout() signal then schedules the
      invocation on the receivers thread.
      
      We do not want to actually run an event loop here until a timer fires.
      Even if a timer with timeout 0 might directly schedule the timeout
      event on the event dispatcher without involving actual timers, and
      even if that event dispatcher makes sure all events are handled before
      deleting itself, it would feel like relying on an implementation
      detail.
      
      This reverts commit a2e19ba1
      
      .
      
      Task-number: QTCREATORBUG-15681
      Change-Id: I19846ce089d72c971d3cc5927c2ddf563e06de14
      Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
      a6e6c88e
  17. 27 Jan, 2016 2 commits
  18. 22 Jan, 2016 2 commits
  19. 19 Jan, 2016 1 commit
  20. 19 May, 2015 1 commit
  21. 05 Mar, 2015 1 commit
  22. 22 Jan, 2015 1 commit
  23. 16 Jan, 2015 1 commit
  24. 04 Dec, 2014 1 commit
  25. 03 Dec, 2014 1 commit
  26. 25 Nov, 2014 2 commits
  27. 19 Nov, 2014 1 commit
  28. 18 Nov, 2014 1 commit
  29. 14 Oct, 2014 1 commit
  30. 09 Oct, 2014 1 commit
  31. 10 Sep, 2014 1 commit
  32. 08 Sep, 2014 2 commits
  33. 03 Sep, 2014 1 commit
  34. 30 Jul, 2014 2 commits
  35. 24 Jul, 2014 1 commit