1. 16 May, 2017 1 commit
    • Todd Volkert's avatar
      Fix race condition in protocol_discovery.dart (#10092) · 10decc7c
      Todd Volkert authored
      For some reaosn, when we discovered our URI, we were re-instantiating
      the `Completer` instance variable whose future we listen to in `nextUri()`.
      This led to a race between a caller calling `nextUri()` and us discovering
      the URI. If we happened to discover our URI before a caller called
      `nextUri()`, then they would be left waiting on a future from the newly
      allocated `Completer` (which would never complete).
      
      Fixes #10064
      10decc7c
  2. 15 May, 2017 10 commits
  3. 14 May, 2017 1 commit
    • Adam Barth's avatar
      Estimate the brightness of the primary color (#10071) · 49b183c5
      Adam Barth authored
      If the caller doesn't explicitly give the brightness of the primary
      color, we now estimate it using an algorithm from the Web Content
      Accessibility Guidelines.
      
      Also, this patch contains a function that converts RGB colors to
      HSVColors. I was originally going to use that, but the WCAG algorithm
      ended up seeming like a better choice. The patch still includes this
      function because it's generally useful.
      
      Fixes #5718
      49b183c5
  4. 13 May, 2017 3 commits
  5. 12 May, 2017 17 commits
  6. 11 May, 2017 8 commits