flutter/dev/manual_tests
Ian Hickson bf017b79b3 Move Point to Offset (#9277)
* 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
2017-04-12 15:06:12 -07:00
..
android rename Sky to Flutter and add clarifying comment to template (#7165) 2016-12-06 16:03:32 -08:00
test Disable test that is turning the tree red. (#9204) 2017-04-04 17:01:38 -07:00
.gitignore Remove //examples/widgets 2016-03-08 16:37:32 -08:00
card_collection.dart fix analyzer warning: use const where possible (#9320) 2017-04-10 14:20:47 -07:00
drag_and_drop.dart Move Point to Offset (#9277) 2017-04-12 15:06:12 -07:00
material_arc.dart Move Point to Offset (#9277) 2017-04-12 15:06:12 -07:00
overlay_geometry.dart Move Point to Offset (#9277) 2017-04-12 15:06:12 -07:00
page_view.dart fix analyzer warning: use const where possible (#9320) 2017-04-10 14:20:47 -07:00
pubspec.yaml Merge pubspec.yaml and flutter.yaml. (#7605) 2017-01-24 11:19:31 -08:00
raw_keyboard.dart Constants! Constants everywhere! (#9286) 2017-04-07 12:24:32 -07:00