Skip to content
Snippets Groups Projects
  1. Sep 24, 2010
  2. Sep 16, 2010
    • Christian Kamm's avatar
      QmlJS: Speed up Link significantly, provide more info on imports. · c7b3e3c8
      Christian Kamm authored
      Link now caches imports. That means importing the same library (say, Qt)
      from more than one file no longer creates an importing namespace for
      each one. Instead, a single one is created for the instance of Link.
      
      To make this work, the type environment in ScopeChain has been given its
      own type: Interpreter::TypeEnvironment. That has the added benefit of
      being able to carry meta-information about imports. You can use
      TypeEnvironment::importInfo(qmlComponentName) to get information about
      the import node that caused the import of the component.
      c7b3e3c8
  3. Aug 30, 2010
  4. Aug 27, 2010
    • Christian Kamm's avatar
      QmlJS: Fix crash when opening JS files. · 1a9c69dd
      Christian Kamm authored
      Now that Contexts are cached, it needs to be copyable. However, the
      ScopeChain has a QmlComponentChain member that owns resources and didn't
      have a correct copy constructor or copy assignment operator.
      
      I've made QmlComponentChain non-copyable and store a shared pointer to
      an instance instead, as it will generally not change for a given
      context.
      
      Reviewed-by: Lasse Holmstedt
      1a9c69dd
  5. Aug 26, 2010
  6. Aug 25, 2010
  7. Jul 27, 2010
  8. Jul 23, 2010
  9. Jul 16, 2010
  10. Jun 28, 2010
  11. Jun 25, 2010
  12. Jun 10, 2010
  13. Jun 09, 2010
  14. Jun 08, 2010
  15. Jun 07, 2010
  16. Jun 04, 2010
  17. May 31, 2010
  18. May 19, 2010
  19. May 11, 2010
  20. Apr 29, 2010
  21. Apr 28, 2010
  22. Apr 22, 2010
Loading