1. 07 Aug, 2014 2 commits
  2. 04 Aug, 2014 1 commit
  3. 01 Aug, 2014 2 commits
    • hjk's avatar
      TextEditor: Remove one stack of EditorWidget constructors · f5b0bd32
      hjk authored
      There are conceptually only two: one that operates a new document,
      and one that shares one. Being explicit makes moving data over to
      the Editor hierarchy easier. Convenience can be re-added there,
      later.
      
      Change-Id: I9b34ff26628c99ffff01201dcf99332d5e7253e9
      Reviewed-by: default avatarChristian Stenger <christian.stenger@digia.com>
      Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
      f5b0bd32
    • Przemyslaw Gorszkowski's avatar
      C++: nested class with enclosing template class · ba42ceb0
      Przemyslaw Gorszkowski authored
      The parent of instantiation of nested class of template class
      should be the instantiation of enclosing template class.
      
      To prevent the infinite loop for case with local typedef of enclosing
      template we should not change a parent of typedefed instatiation of
      enclosing template. Example:
      template <typename T>
      struct Enclosing
      {
        typedef Enclosing<T> EnclosingT;// first case
        struct Nested
        {
          typedef Enclosing<T> EnclosingT;// second case
        };
      };
      
      Task-number: QTCREATORBUG-11752
      Task-number: QTCREATORBUG-11999
      Change-Id: Iadd7b5ef73ee0c4881f59c9dabfe03339f55827b
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      ba42ceb0
  4. 31 Jul, 2014 1 commit
  5. 30 Jul, 2014 5 commits
  6. 25 Jul, 2014 1 commit
  7. 24 Jul, 2014 3 commits
  8. 23 Jul, 2014 1 commit
    • hjk's avatar
      Merge ITextMark and BaseTextMark · cf8a6144
      hjk authored
      Turns out we don't even need two-phase initialization,
      by transparently postponing registration until we get
      a non-empty file name, either at constuction, or at
      file name change times.
      
      Change-Id: I3e87e47c820066e6707e946fc474ab9c1993e61f
      Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
      cf8a6144
  9. 18 Jul, 2014 1 commit
  10. 17 Jul, 2014 1 commit
  11. 15 Jul, 2014 1 commit
  12. 08 Jul, 2014 2 commits
  13. 07 Jul, 2014 1 commit
  14. 04 Jul, 2014 7 commits
  15. 01 Jul, 2014 2 commits
    • Thiago Macieira's avatar
      Use the functions in QRefCount to check if the QString is in use · 56ddd194
      Thiago Macieira authored
      QStringLiteral() returns a string that has a refcount of -1 and it must
      be kept. There is no way to determine if it's still in use, so we'll
      just assume it is. Any QStringLiteral inserted into the structure will
      stay there forever.
      
      On the other hand, we must not accept unsharable strings, so Q_ASSERT on
      that.
      
      Change-Id: I5fbdc1046f0f00319f27fdfb7aa3ff87371ea668
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      56ddd194
    • Christian Kandeler's avatar
      Always pass Core::Id by value. · 93304df0
      Christian Kandeler authored
      Currently we pass in some places by value, elsewhere by const ref and
      for some weird reason also by const value in a lot of places. The latter
      is particularly annoying, as it is also used in interfaces and therefore
      forces all implementors to do the same, since leaving the "const" off is
      causing compiler warnings with MSVC.
      
      Change-Id: I65b87dc3cce0986b8a55ff6119cb752361027803
      Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
      93304df0
  16. 30 Jun, 2014 1 commit
  17. 25 Jun, 2014 1 commit
  18. 24 Jun, 2014 2 commits
  19. 19 Jun, 2014 1 commit
  20. 18 Jun, 2014 3 commits
  21. 17 Jun, 2014 1 commit
    • Wang Hoi's avatar
      C: Parser: Support parsing of c99 designated initializers · c56b999f
      Wang Hoi authored
      In case:
      
          int a[6] = { [4] = 29, [2] = 15 };
          struct point { int x, y; };
          struct point p = { .y = 3, .x = 2 };
      
      Grammar change when c99 language feature is enabled:
      old grammar:
      
          braced-init-list :: '{' initializer-list '}'
      
      new grammar:
      
          braced-init-list :: '{' designated-initializer-list '}'
          designated-initializer-list :: designated-initializer (',' designated-initializer )*
          designated-initializer :: designator* initializer-clause
          designator :: '.' identifier
                      | '[' constant-expression ']'
      
      Task-number: QTCREATORBUG-1902
      Change-Id: Ib99d6f553f8d0f50ba3eff86f3a2e86d73372426
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
      c56b999f