1. 30 Oct, 2015 2 commits
  2. 26 Oct, 2015 1 commit
  3. 21 Oct, 2015 1 commit
  4. 13 Oct, 2015 3 commits
    • Jochen Becher's avatar
      ModelEditor: Simplify file format · caf1bec7
      Jochen Becher authored
      
      
      The file format does not longer contain object IDs because references are
      not used. This simplifies the file format, leads to shorter files and
      supportes merges between model files much better - changes in model are
      reflected by minimal changes in the file.
      
      Change-Id: I8c76b7899306eec9a493c6cf61add02111229760
      Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
      caf1bec7
    • Jochen Becher's avatar
      ModelEditor: Introduce newest version of qtserialization framework · 0d309fc8
      Jochen Becher authored
      
      
      This change unfortunately contains many single changes because it is an
      update of the 3rd party component:
      
      * Introduce new Parameter class for better serialization of containers
      and other future enhancements
      * Delete dead code
      * Introduce user data in base archive class
      * Fix minor source code issues and typos in comments
      * Remove unused and conceptionally broken support of forward refernces
      * Fix a memory leak in QXmlInArchive
      * prefer load()/save() methods over stream operators
      * throw exception on unsuported forward references in QXmlOutArchive
      * refactor serialization of pointer types into own header
      * remove unneeded specialisation for serialization of free functions
      * check for default value of serialization using a getter
      
      Change-Id: Ic197a92b00b22b85dab4a1b88c431cf4da8b3c3b
      Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
      0d309fc8
    • Jochen Becher's avatar
      ModelEditor: Remove unused DiagramReferenceSerializer · f4628dcc
      Jochen Becher authored
      
      
      Change-Id: Ia5226234c54d1d6b2a5acc5f91ef4b5b02d2734d
      Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
      f4628dcc
  5. 03 Oct, 2015 1 commit
    • Claus Steuer's avatar
      C++: Support noexcept operator · 158b07c9
      Claus Steuer authored
      The code model failed to parse the noexcept operator which is often
      used in noexcept specifiers, e.g.: "void f() noexcept(noexcept(g()));"
      Consequently some c++11 headers such as unordered_map, array
      and unordered_set could not be parsed and no code completition was
      available. I have created the NoExceptOperatorExpressionAST class
      which is created whenever a noexcept token is found in an
      expression with operator precedence. The noExcept test case
      in the cplusplus/cxx11 test now contains a function that
      uses the noexcept operator.
      
      Fixed noexcept operator parsing
      
      Added the test requested by Sergey Shambir, which then revealed that
      i had not implemeneted the noexpect operator parsing according to the
      c++ specification.
      As stated here http://cpp0x.centaur.ath.cx/expr.unary.noexcept.html
      
      
      the noexcept operator is a unary-expression that contains an
      expression (and not a constant-expression). This should now be fixed.
      
      Change-Id: Id4a99a43b660bd83e7680274491d99a698b57094
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
      158b07c9
  6. 02 Oct, 2015 1 commit
  7. 01 Oct, 2015 1 commit
  8. 30 Sep, 2015 4 commits
  9. 23 Sep, 2015 2 commits
  10. 16 Sep, 2015 1 commit
  11. 20 Aug, 2015 1 commit
    • Thiago Macieira's avatar
      Fix Botan compilation with ICC · 969274a2
      Thiago Macieira authored
      
      
      The __cpuid intrinsic takes int* pointers like MSVC above, not uint*.
      
      botan.cpp(46265): error: argument of type "Botan::u32bit={unsigned int} *" is incompatible with parameter of type "int *"
      
      (whoever thought that a file should have 46k lines needs to have their
      brains examined)
      
      Change-Id: I5128849c354e351ba771215b3290f3af8ba98987
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      969274a2
  12. 17 Aug, 2015 1 commit
  13. 04 Aug, 2015 1 commit
  14. 03 Aug, 2015 1 commit
  15. 06 Jul, 2015 4 commits
    • Nikolai Kosjar's avatar
      C++: Limit parsing of initializer clauses II · 9d5c85a6
      Nikolai Kosjar authored
      This completes
      
          commit e69d20e1
      
      
          C++: Limit parsing of initializer clauses
      
      by handling the following code path:
      
          -------- parseExpressionStatement
          --------- parseExpression
          ---------- parseCastExpression
          ----------- parseUnaryExpression
          ------------ parsePostfixExpression
          ------------- parseCorePostfixExpression
          -------------- parsePrimaryExpression
          --------------- parseNumericLiteral
          ---------- parseExpressionWithOperatorPrecedence
          ----------- parseInitializerClause0x
          ------------ parseAssignmentExpression
          ------------- parseCastExpression
          -------------- parseUnaryExpression
          --------------- parsePostfixExpression
          ---------------- parseCorePostfixExpression
          ----------------- parsePrimaryExpression
          ------------------ parseNumericLiteral
          ------------- parseExpressionWithOperatorPrecedence
          ----------- parseInitializerClause0x
          ------------ parseAssignmentExpression
          ------------- parseCastExpression
          -------------- parseUnaryExpression
          --------------- parsePostfixExpression
          ---------------- parseCorePostfixExpression
          ----------------- parsePrimaryExpression
          ------------------ parseNumericLiteral
          ------------- parseExpressionWithOperatorPrecedence
          ----------- parseInitializerClause0x
          ...
      
      Task-number: QTCREATORBUG-14645
      Change-Id: I8a71fd687e15a3a4ae26e7b9830276464e3fa76e
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@theqtcompany.com>
      9d5c85a6
    • Nikolai Kosjar's avatar
      C++: Use MAX_EXPRESSION_DEPTH and increase to 1000 · 17a4e76c
      Nikolai Kosjar authored
      
      
      We do not want different depths for different ASTs.
      
      Change-Id: Idc4aff226b20dbc5c14a77ef729b16044b55b837
      Reviewed-by: default avatarMarco Bubke <marco.bubke@theqtcompany.com>
      Reviewed-by: default avatarErik Verbruggen <erik.verbruggen@theqtcompany.com>
      17a4e76c
    • Nikolai Kosjar's avatar
      C++: Add missing DEBUG_THIS_RULE() for Parser::parse* · c9588aa8
      Nikolai Kosjar authored
      
      
      Change-Id: Ic4d3ccd72618c512567140ea5af39ca0799cde3a
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      c9588aa8
    • Nikolai Kosjar's avatar
      C++: Remove pointless declarations · f413330a
      Nikolai Kosjar authored
      
      
      Change-Id: I78ac11e081fc1136d41459e8408f8788276a454e
      Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
      f413330a
  16. 29 Jun, 2015 1 commit
    • Orgad Shaneh's avatar
      C++: Ignore explicit template instantiations · a77e3280
      Orgad Shaneh authored
      
      
      Defined in section 14.7.2 of the standard.
      
      Fixes completion for std::string.
      
      The following explicit instantiation appears in bits/basic_string.tcc:
        extern template class basic_string<char>;
      
      This is wrongfully considered a specialization for a forward declaration
      (like `template<> class basic_string<char>` is).
      
      Introduce a new Symbol type for explicit instantiations.
      
      Use-case:
      template<class T>
      struct Foo { T bar; };
      
      template class Foo<int>;
      
      void func()
      {
          Foo<int> foo;
          foo.bar; // bar not highlighted
      }
      
      Change-Id: I9e35c8c32f6b78fc87b4f4f1fc903b42cfbd2c2b
      Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
      a77e3280
  17. 11 Jun, 2015 2 commits
  18. 10 Jun, 2015 1 commit
  19. 03 Jun, 2015 1 commit
  20. 02 Jun, 2015 2 commits
  21. 01 Jun, 2015 1 commit
  22. 22 May, 2015 2 commits
  23. 20 May, 2015 1 commit
  24. 13 May, 2015 1 commit
  25. 22 Apr, 2015 1 commit
  26. 20 Apr, 2015 1 commit
  27. 27 Feb, 2015 1 commit