Skip to content
Snippets Groups Projects
  1. Nov 12, 2013
  2. Oct 18, 2013
  3. Oct 17, 2013
    • Przemyslaw Gorszkowski's avatar
      C++: fix endless loop during template instantiation · 5be56c07
      Przemyslaw Gorszkowski authored
      
      This is the first phase of fixing bug QTCREATORBUG-10320.
      This change resolves typedefs of template parameters(and resolves
      problem with endless loop).
      
      The next step will be matching appropriate template specialization
      (this is needed to solve problem with missing code completion).
      
      Missing matching: template specialization with the same parameters,
      e.g.:
      template <class T1, class T2, class T3>
      class T
      {
      };
      
      template <class T1, class T2>
      class T<T1, T2, T2>
      {
      };
      
      Task-number: QTCREATORBUG-10320
      Change-Id: Icb6b539c021b2a67a66db9011a2e627f7d96526b
      Reviewed-by: default avatarPrzemyslaw Gorszkowski <pgorszkowski@gmail.com>
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      5be56c07
  4. Oct 01, 2013
  5. Sep 13, 2013
  6. Sep 03, 2013
  7. Aug 22, 2013
  8. Aug 20, 2013
  9. Aug 19, 2013
  10. Aug 13, 2013
    • Nikolai Kosjar's avatar
      CppTools: Rework handling of ProjectInfo changes · 8ea14767
      Nikolai Kosjar authored
      
      (a) The code model manager figures out by itself which files were added
          or removed from the project.
      
          If this was done successfully, check also the timestamp of the
          common files and reindex if necessary.
      
      (b) A full reindexing is only triggered if the project configuration
          changes (defines, includes, framework paths).
      
      (c) If project files were removed, the garbage collector is called.
      
      Task-number: QTCREATORBUG-9730
      Change-Id: Ib855614b070880576233a3525813617c967a72f3
      Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
      8ea14767
  11. Aug 08, 2013
  12. Aug 05, 2013
    • Przemyslaw Gorszkowski's avatar
      C++: fix auto completion for template parameters · bfbf93e6
      Przemyslaw Gorszkowski authored
      
      Fix auto completion for the case when template parameter should be
      found somewhere of scope of template instantiation declaration.
      Example:
      struct A
      {
          void foo();
          struct B
          {
              int b;
          };
      };
      
      template<typename T>
      struct Template
      {
          T* get() { return 0; }
          T t;
      };
      
      void A::foo()
      {
          Template<B> templ;
          templ.get()->//no autocompletion
          templ.t.//no autocompletion
      }
      
      Task-number: QTCREATORBUG-8852
      Task-number: QTCREATORBUG-9169
      Change-Id: I56b40776e66740f995ae6fc5d69e3c50139a3af2
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      bfbf93e6
  13. Jul 31, 2013
  14. Jul 22, 2013
  15. Jul 17, 2013
  16. Jul 12, 2013
  17. Jul 02, 2013
  18. Jun 28, 2013
  19. Jun 25, 2013
  20. Jun 18, 2013
    • Przemyslaw Gorszkowski's avatar
      C++: add support for local types · 68d6a762
      Przemyslaw Gorszkowski authored
      
      This change addes support for class, enum definition inside blocks({}) or
      functions, e.g.:
      void f()
      {
      	struct S
      	{
      		int bar;
      	};
      	S s;
      	s.bar;
      }
      
      It fixes:
      * code completion
      * highlighting
      * follow symbol
      * marking
      * find usages
      
      It fixes also problem with namespace aliases inside blocks or functions.
      
      This change can have also impact on performance(there are additional processing)
      
      Task-number: QTCREATORBUG-166 (namespace aliases inside function/block)
      Task-number: QTCREATORBUG-3620
      Task-number: QTCREATORBUG-6013
      Task-number: QTCREATORBUG-8020
      Change-Id: Iaea6c6dfe276f1d7b2279b50bdd2e68e375d31eb
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      68d6a762
  21. Jun 12, 2013
  22. Jun 11, 2013
  23. May 24, 2013
  24. May 23, 2013
    • Nikolai Kosjar's avatar
      C++: Fix 'already seen files' when indexing · 0d9bf5e5
      Nikolai Kosjar authored
      
      Resetting the environment (after each *.cpp file) did not clear the
      already seen files (m_included). Because of that the succeeding header
      files were not parsed correctly - the environments of the mistakenly
      already seen header files were not merged in.
      
      Note that this change slow downs the parsing/indexing of files to its
      original speed, as it was before the problematic commit (and it is in
      2.7):
      
          commit 82e34709
          C++: Untangle include file resolving from loading.
      
      Task-number: QTCREATORBUG-9205
      Change-Id: Iea57b7c59ea04a3c8843fd1291f4c375382958fc
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@digia.com>
      0d9bf5e5
  25. May 10, 2013
  26. May 02, 2013
  27. Apr 23, 2013
  28. Apr 22, 2013
  29. Apr 19, 2013
  30. Apr 17, 2013
Loading