1. 03 May, 2018 1 commit
  2. 01 May, 2018 1 commit
  3. 30 Apr, 2018 1 commit
  4. 27 Apr, 2018 1 commit
  5. 26 Apr, 2018 1 commit
  6. 25 Apr, 2018 1 commit
  7. 24 Apr, 2018 1 commit
  8. 27 Mar, 2018 1 commit
  9. 22 Mar, 2018 1 commit
    • xster's avatar
      Cupertino pull to refresh part 1: sliver and a simple indicator widget builder (#15324) · feadfd2e
      xster authored
      * Gallery scaffolding
      
      * Started RenderSliver
      
      * demo and initial hookup
      
      * Cleaned up demo more and scaffolding basic sliver->widget communication structure.
      
      * works
      
      * states and default indicator building works
      
      * start adding docs
      
      * added an alignment setting optimized the sliver relayout mechanism
      
      * tested a default bottom aligned sized indicator
      
      * Added a bunch of tests
      
      * more fixes and more tests
      
      * Finished the tests
      
      * Add docs
      
      * Add more doc diffing wrt material pull to refresh
      
      * Mention nav bar synergy
      
      * add more asserts
      
      * review 1
      
      * Fix mockito 2 / dart 2 / strong typed tests
      
      * review
      
      * Remove the vscode config
      
      * review
      feadfd2e
  10. 20 Mar, 2018 1 commit
  11. 16 Mar, 2018 1 commit
  12. 14 Mar, 2018 1 commit
  13. 28 Feb, 2018 1 commit
    • Danny Tuppeny's avatar
      Fix example code just showing endless spinner when deployed from Windows (#14878) · ae9fdefa
      Danny Tuppeny authored
      * If example code is not found, render a message instead of an endless spinner
      * Trim codeTags to avoid lookup issues with windows carriage returns
      * Trim \r on Windows off the end of code blocks so they're consistently \n
      * Add a test to ensure sample code parses if built on Windows
      * Add a comment about why we trimRight()
      
      Fixes #14820.
      ae9fdefa
  14. 02 Feb, 2018 2 commits
  15. 01 Feb, 2018 1 commit
  16. 31 Jan, 2018 1 commit
    • xster's avatar
      Fastlane instructives for tool publishing the Gallery (#14347) · 82ddabd3
      xster authored
      * first round fastlane working on Android
      
      * clean up and start ios
      
      * Partial iOS
      
      * Got a fastfile that works on iOS
      
      * Finalize Android push instructions
      
      * Finalize instructions for iOS
      
      * Extra cleanup and optipng
      
      * Disable readme autogen and add a default readme
      82ddabd3
  17. 05 Dec, 2017 1 commit
  18. 29 Nov, 2017 2 commits
  19. 03 Nov, 2017 1 commit
    • xster's avatar
      Add an iOS style demo to the gallery (#12651) · 89405002
      xster authored
      * Built first tab
      
      * Small additions
      
      * started tab 3
      
      * Need color arithmetics
      
      * tab 2 built
      
      * finalize
      
      * lint and tests
      
      * review
      
      * Reapply docs after rebase
      
      * use color.computeLuminance
      
      * linter
      
      * nit
      89405002
  20. 22 Oct, 2017 1 commit
  21. 14 Oct, 2017 1 commit
  22. 11 Sep, 2017 1 commit
  23. 09 Aug, 2017 1 commit
  24. 08 Aug, 2017 1 commit
    • Michael Goderbauer's avatar
      Don't trigger an assert when markNeedsSemanticsUpdate is called multiple times... · b551f534
      Michael Goderbauer authored
      Don't trigger an assert when markNeedsSemanticsUpdate is called multiple times in edge cases (#11544)
      
      * Don't trigger assert if a render object ceases to be a semantic boundary
      
      This bug was exposed by https://github.com/flutter/flutter/pull/11309, which caused the following assertion to trigger when scrolling in the Animation demo:
      
      ```
      The following assertion was thrown during _updateSemantics():
      'package:flutter/src/rendering/object.dart': Failed assertion: line 2626 pos 16: 'fragment is
      _InterestingSemanticsFragment': is not true.
      ```
      
      A minimal reproduction of the bug can be found in `semantics_10_test.dart`, which has been added as a regression test for the bug by this PR.
      
      Looking at that test, here is a description of the faulty behaviour:
      1. During the second `pumpWidget` call `RenderExcludeSemantics` marks itself as needing a semantics update (due to excluding going from `false` -> `true`).
      2. This causes the nearest ancestor with semantics information (here: `RenderSemanticsAnnotations` representing the "container" Semantics widget) to be added to the `_nodesNeedingSemantics` list.
      3. `RenderSliverList` (implementation behind ListView) marks itself as needing a semantics update (due to its changing children).
      4. This causes the `RenderSemanticsGestureHandler` to be added to the `_nodesNeedingSemantics` list.
      5. Next, canDrag is updated from `true` -> `false`. This means, `RenderSemanticsGestureHandler` is no longer a semantics boundary, it marks itself as needing a semantics update.
      6. The nearest ancestor with semantics (`RenderSemanticsAnnotations`, the "container") is added to the `_nodesNeedingSemantics` list (this is a no-op because it is already in the list).
      7. During `flushSemantics`, the `_nodesNeedingSemantics` list is walked. The first entry (`RenderSemanticsAnnotations`) updates the semantics tree to only contain the container widget and drop everything else (= no children of the ExcludeSemantics widget are walked).
      8. The second entry (`RenderSemanticsGestureHandler`) is updated. It does not add any semantics of its own and is no longer a semantics boundary. Therefore, it wants to merge its descendent semantics into its parents. Here is where the assert throws because the algorithm assumes that every entry in the `_nodesNeedingSemantics` list will produce and own an `_InterestingSemanticsFragment` (passing your semantics on to your parents is not interesting).
      
      The problem here seems to be step 4 in combination with step 5. In step 4 we rely on the fact that `RenderSemanticsGestureHandler` is an (explicit or implicit) semantics boundary and that it will be able to absorb the semantics change of `RenderSliverList`. This is true
      at this time. However, in step 4 `RenderSemanticsGestureHandler` decides to no longer be an (explicit or implicit) semantics boundary and our assumption from step 5 becomes incorrect. We did nothing to correct this assumption.
      
      This PR removes a node, that could potentially cease to be a (explicit or implicit) semantics boundary from the `_nodesNeedingSemantics` list to fix that problem. Please node that this does not mean that the node's semantics will not be updated: The node's closest ances
      tor with semantics is added to that list during the `markNeedsSemanticsUpdate` call. During `flushSemantics` we will walk from this node to update the semantics of it's children (if changed), which will include the node in question.
      
      * tiny fix
      
      * simplify test
      
      * analyzer fixes
      
      * review comments
      b551f534
  25. 11 Jul, 2017 1 commit
    • Yegor's avatar
      add Android instrumentation test (#11063) · 18d9b20f
      Yegor authored
      * add Android instrumentation test
      
      * add devicelab test
      
      * add to manifest.yaml
      
      * rename _smoke_test.dart to _smoketest.dart to prevent flutter test from picking it up
      
      * volatile fields; style fixes
      
      * use ConditionVariable; fix sh script
      18d9b20f
  26. 27 Apr, 2017 1 commit
  27. 21 Apr, 2017 1 commit
  28. 12 Apr, 2017 2 commits
    • Ian Hickson's avatar
      Move Point to Offset (#9277) · bf017b79
      Ian Hickson authored
      * Manually fix every use of Point.x and Point.y
      
      Some of these were moved to dx/dy, but not all.
      
      * Manually convert uses of the old gradient API
      
      * Remove old reference to Point.
      
      * Mechanical changes
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]origin\b/Offset.zero/g'
      git ls-files -z | xargs -0 sed -i 's/\bPoint[.]lerp\b/Offset.lerp/g'
      git ls-files -z | xargs -0 sed -i 's/\bnew Point\b/new Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bconst Point\b/const Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\bstatic Point /static Offset /g'
      git ls-files -z | xargs -0 sed -i 's/\bfinal Point /final Offset /g'
      git ls-files -z | xargs -0 sed -i 's/^\( *\)Point /\1Offset /g'
      git ls-files -z | xargs -0 sed -i 's/ui[.]Point\b/ui.Offset/g'
      git ls-files -z | xargs -0 sed -i 's/(Point\b/(Offset/g'
      git ls-files -z | xargs -0 sed -i 's/\([[{,]\) Point\b/\1 Offset/g'
      git ls-files -z | xargs -0 sed -i 's/@required Point\b/@required Offset/g'
      git ls-files -z | xargs -0 sed -i 's/<Point>/<Offset>/g'
      git ls-files -z | xargs -0 sed -i 's/[.]toOffset()//g'
      git ls-files -z | xargs -0 sed -i 's/[.]toPoint()//g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point, /show /g'
      git ls-files -z | xargs -0 sed -i 's/\bshow Point;/show Offset;/g'
      
      * Mechanical changes - dartdocs
      
      I applied the following at the root of the Flutter repository:
      
      git ls-files -z | xargs -0 sed -i 's/\ba \[Point\]/an [Offset]/g'
      git ls-files -z | xargs -0 sed -i 's/\[Point\]/[Offset]/g'
      
      * Further improvements and a test
      
      * Fix minor errors from rebasing...
      
      * Roll engine
      bf017b79
    • Ian Hickson's avatar
      Fix tests to use Ahem, and helpful changes around that (#9332) · 2a545243
      Ian Hickson authored
      * Fix tests to use Ahem, and helpful changes around that
      
      - Fix fonts that had metric-specific behaviours.
      
      - LiveTestWidgetsFlutterBinding.allowAllFrames has been renamed
        to LiveTestWidgetsFlutterBinding.framePolicy.
      
      - LiveTestWidgetsFlutterBinding now defaults to using a frame policy
        that pumps slightly more frames, to animate the pointer crosshairs.
      
      - Added "flutter run --use-test-fonts" to enable Ahem on devices.
      
      - Changed how idle() works to be more effective in live mode.
      
      - Display the test name in live mode (unless ahem fonts are enabled).
      
      - Added a toString to TextSelectionPoint.
      
      - Style nit fixes.
      
      * Roll engine to get Ahem changes.
      
      * Update tests for dartdoc changes.
      
      * Fix flutter_tools tests
      2a545243
  29. 04 Apr, 2017 1 commit
  30. 28 Mar, 2017 1 commit
    • Phil Quitslund's avatar
      Bump to Dart SDK 1.23.0-dev.10 (#9051) · ab6df3af
      Phil Quitslund authored
      * Bump to Dart SDK 1.23.0-dev.10
      
      * allows us to understand flutter usage via telemetry
      * brings in `@immutable`
      
      Fixes: #9042
      
      * completer fix
      
      * Update to platform 1.1.1.
      ab6df3af
  31. 24 Mar, 2017 1 commit
  32. 13 Mar, 2017 1 commit
  33. 04 Mar, 2017 1 commit
  34. 21 Feb, 2017 1 commit
  35. 17 Feb, 2017 3 commits