1. 26 Jun, 2014 6 commits
  2. 25 Jun, 2014 1 commit
  3. 24 Jun, 2014 3 commits
  4. 22 Jun, 2014 7 commits
  5. 20 Jun, 2014 1 commit
    • Kevin Funk's avatar
      Fix crash in case m_text.size() == 0 · df2b4de4
      Kevin Funk authored
      I was editing a simple JS file, see below.
      
      theme.js:
      """
      .pragma library
      
      var highlightColor = "blue";
      var activeHighlightColor = "lightsteelblue";
      
      v<cursor here>
      """
      
      Denis, please check
      df2b4de4
  6. 17 Jun, 2014 3 commits
  7. 16 Jun, 2014 3 commits
  8. 15 Jun, 2014 1 commit
  9. 14 Jun, 2014 1 commit
  10. 13 Jun, 2014 1 commit
  11. 12 Jun, 2014 1 commit
    • Denis Steckelmacher's avatar
      Factorize much of the visiting methods of UseBuilder · 3bdf0da4
      Denis Steckelmacher authored
      Nearly every visit() method created an ExpressionVisitor and used it to find
      the declaration corresponding to an expression. Now all this code is factorized,
      which ensures that UseBuilder recognizes the exact same expressions as
      ExpressionVisitor. New kinds of expressions need now only to be supported by
      ExpressionVisitor.
      3bdf0da4
  12. 11 Jun, 2014 2 commits
    • Denis Steckelmacher's avatar
      Put injectContext() and closeInjectedContext() closely around openDeclaration() · 1946d9db
      Denis Steckelmacher authored
      openDeclaration() is the only call that needs the injected context, and this
      avoids bugs if openContext() is called in an injected context.
      
      For instance, QML component subclasses were broken because a context was injected
      and not closed before openContext() was called. The sub-context had therefore the
      wrong parent context.
      1946d9db
    • Denis Steckelmacher's avatar
      Ensure that getDeclaration and the code-completion can find declarations... · f3f8ed83
      Denis Steckelmacher authored
      Ensure that getDeclaration and the code-completion can find declarations independently of their position in a QML file
      
      QML and Javascript are highly dynamic languages and most of their declarations
      can be used before the declaration itself. Now that the parser does two parsing
      passes, this commit ensures that the location of an use is completely ignored
      and that the parser always sees the complete list of declarations in a context.
      f3f8ed83
  13. 09 Jun, 2014 8 commits
  14. 08 Jun, 2014 2 commits