1. 25 Feb, 2019 1 commit
  2. 23 Feb, 2019 1 commit
  3. 21 Feb, 2019 1 commit
  4. 20 Feb, 2019 4 commits
  5. 15 Feb, 2019 4 commits
    • Hans Muller's avatar
    • Michael Goderbauer's avatar
    • Greg Spencer's avatar
      Remove remaining "## Sample code" segments, and fix the snippet generator. (#27793) · 262f12b4
      Greg Spencer authored
      This converts all remaining "## Sample code" segments into snippets, and fixes
      the snippet generator to handle multiple snippets in the same dartdoc block
      properly.
      
      I also generated, compiled, and ran each of the existing application samples,
      and fixed them up to be more useful and/or just run without errors.
      
      This PR fixes these problems with examples:
      
      1. Switching tabs in a snippet now works if there is more than one snippet in
         a single dartdoc block.
      2. Generation of snippet code now works if there is more than one snippet.
      3. Contrast of text and links in the code sample block has been improved to
         recommended levels.
      4. Added five new snippet templates, including a "freeform" template to make
         it possible to show examples that need to change the app instantiation.
      5. Fixed several examples to run properly, a couple by adding the "Scaffold"
         widget to the template, a couple by just fixing their code.
      6. Fixed visual look of some of the samples when they run by placing many
         samples inside of a Scaffold.
      7. In order to make it easier to run locally, changed the sample analyzer to
         remove the contents of the supplied temp directory before running, since
         having files that hang around is problematic (only a problem when running
         locally with the `--temp` argument).
      8. Added a `SampleCheckerException` class, and handle sample checking
         exceptions more gracefully.
      9. Deprecated the old "## Sample code" designation, and added enforcement for
         the deprecation.
      10. Removed unnecessary `new` from templates (although they never appeared in
         the samples thanks to dartfmt, but still).
      
      Fixes #26398
      Fixes #27411
      262f12b4
    • xster's avatar
  6. 14 Feb, 2019 1 commit
  7. 13 Feb, 2019 1 commit
  8. 12 Feb, 2019 2 commits
  9. 07 Feb, 2019 1 commit
  10. 06 Feb, 2019 2 commits
  11. 05 Feb, 2019 2 commits
  12. 04 Feb, 2019 1 commit
  13. 01 Feb, 2019 1 commit
  14. 30 Jan, 2019 1 commit
  15. 29 Jan, 2019 5 commits
  16. 26 Jan, 2019 1 commit
  17. 23 Jan, 2019 1 commit
  18. 17 Jan, 2019 1 commit
  19. 16 Jan, 2019 4 commits
  20. 15 Jan, 2019 1 commit
  21. 14 Jan, 2019 1 commit
  22. 09 Jan, 2019 1 commit
  23. 07 Jan, 2019 1 commit
  24. 27 Dec, 2018 1 commit
    • Amir Hardon's avatar
      Actively reject UiKitView gestures. (#25792) · 50f9b883
      Amir Hardon authored
      flutter/engine#7307 changes the engine side of embedded UIView to only
      reject gestures when the framework sends a `rejectGesture` message, so
      that gesture resolution can done after a touch sequence has ended (see
      PR description for flutter/engine#7307 for more details).
      
      This change makes the framework send a `rejectGesture` message to the
      engine when a UiKitView rejects a gesture.
      
      I'm planning to land this PR before the engine side change, so right now
      it swallows the exception thrown if there is no engine implementation
      for `rejectGesture` (which keeps us with the current behavior). After
      this change lands I'll land the engine PR, and then clean up the part
      that swallows the exception.
      50f9b883