Skip to content
Snippets Groups Projects
  1. Nov 25, 2010
  2. Nov 16, 2010
  3. Oct 20, 2010
    • Christian Kamm's avatar
      QmlJS: Fix a performance problem. · b2369973
      Christian Kamm authored
      In order to determine all components that instantiate a given component,
      Bind::usesQmlPrototype was called on each document in the snapshot.
      That, in turn, had to iterate over all object definitions inside the
      document, resolving their prototype references.
      
      All in all, it lead to a very large amount of fairly expensive lookups
      that were slowing down Creator considerably.
      
      Reviewed-by: Erik Verbruggen
      b2369973
  4. Oct 14, 2010
  5. Sep 28, 2010
  6. 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
    • Christian Kamm's avatar
  7. Sep 15, 2010
  8. Aug 25, 2010
  9. Jul 16, 2010
  10. Jun 22, 2010
  11. Jun 09, 2010
  12. May 12, 2010
  13. Apr 28, 2010
  14. Apr 23, 2010
  15. Apr 22, 2010
  16. Apr 20, 2010
  17. Apr 06, 2010
  18. Mar 18, 2010
  19. Mar 05, 2010
  20. Mar 03, 2010
  21. Mar 01, 2010
  22. Feb 12, 2010
  23. Feb 11, 2010
    • Christian Kamm's avatar
      Improve building of the Qml/JS scope chain. · 2b1adbf6
      Christian Kamm authored
      * For JS files: Add each Qml component that sources the file in a Script
        tag to the scope chain.
      * For Qml components: Add each component that instantiates the component
        to the scope chain.
      * Generate the full list of documents required for completion in a
        given file. Previously, files that included the file were missing.
      2b1adbf6
  24. Feb 10, 2010
  25. Feb 09, 2010
  26. Feb 04, 2010
  27. Feb 03, 2010
  28. Feb 02, 2010
  29. Feb 01, 2010
Loading