Skip to content
Snippets Groups Projects
  1. Jul 11, 2017
  2. Jun 20, 2017
  3. May 18, 2017
  4. May 17, 2017
  5. May 16, 2017
  6. Mar 15, 2017
  7. Dec 05, 2016
  8. Aug 01, 2016
  9. Jul 27, 2016
  10. Jul 22, 2016
  11. Jun 23, 2016
  12. Jun 20, 2016
    • Natalie Weizenbaum's avatar
      Refactor Source and SourceRegistry. · 3fb39388
      Natalie Weizenbaum authored
      This splits Source into two classes, Source and LiveSource. The former
      is completely independent of the system cache directory, and mostly
      contains source metadata and logic about manipulating descriptions.
      
      SourceRegistry now deals strictly in Sources, with LiveSources being
      handled by SystemCache. This means that classes like Pubspec and
      LockFile no longer have transitive references to the system cache
      directory.
      
      This will also make it possible to clean up PackageName equality logic
      by making PackageNames track their concrete Sources rather than just
      their source names.
      
      See #912
      
      R=rnystrom@google.com
      
      Review URL: https://codereview.chromium.org//2044253003 .
      3fb39388
  13. Jan 13, 2016
  14. Jan 04, 2016
  15. Dec 17, 2015
    • Natalie Weizenbaum's avatar
      Clean up the semantics of package descriptions. · a69f0c9c
      Natalie Weizenbaum authored
      This folds the distinction between "resolved" and "unresolved"
      descriptions into the distinction between PackageIds and PackageRefs. In
      other words, all PackageIds now have resolved descriptions and all
      PackageRefs now have unresolved descriptions. This makes it easier to
      track which descriptions are resolved and express resolution constraints
      via the type system.
      
      This also restricts the creation of PackageRefs and PackageIds to source
      classes, which helps ensure that the description format—which is an
      implementation detail—doesn't leak into surrounding code.
      
      R=rnystrom@google.com
      
      Review URL: https://codereview.chromium.org//1528523003 .
      a69f0c9c
  16. Oct 28, 2015
    • Natalie Weizenbaum's avatar
      "pub global run" errors out for a mismatched SDK. · 0636b17d
      Natalie Weizenbaum authored
      Previously, "pub global run" would happily try to run an executable with
      an SDK constraint that doesn't match the current SDK, even though it
      probably wouldn't work (and could fail in confusing ways). Now it errors
      out with a user-friendly message instead.
      
      Closes #1353
      
      R=rnystrom@google.com
      
      Review URL: https://codereview.chromium.org//1427523005 .
      0636b17d
    • Natalie Weizenbaum's avatar
      Fix error detection for a non-existent global script. · a1139b80
      Natalie Weizenbaum authored
      When we tried to run a global script that didn't exist, we would try to
      load an AssetEnvironment, which would try to compute the transformers
      for it. Because the script doesn't exist, the computation would
      conservatively assume that all transformers had to run in case one of
      them generated it.
      
      To find all the scripts, it iterated through the package's dependencies.
      Since it's notionally the entrypoint, it tried to include its dev
      dependencies, but this broke because dev dependencies aren't installed
      for globally-activated packages.
      
      R=rnystrom@google.com
      
      Review URL: https://codereview.chromium.org//1413713010 .
      a1139b80
  17. Aug 18, 2015
  18. Aug 10, 2015
  19. Aug 07, 2015
  20. Aug 06, 2015
  21. Jul 20, 2015
  22. Jul 15, 2015
  23. May 14, 2015
Loading