Commit graph

8573 commits

Author SHA1 Message Date
Collin Jackson 7154ac48db Merge remote-tracking branch 'origin/alpha' 2017-05-16 09:32:27 -07:00
Collin Jackson 00214fa7bd Fix call to unimplemented application:openURL:options: in iOS template (#10107)
Fixes #10106
2017-05-16 09:31:35 -07:00
Todd Volkert 10decc7c19 Fix race condition in protocol_discovery.dart (#10092)
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
2017-05-16 08:25:51 -07:00
Ian Hickson ce2c834f70 Adjust the tests to handle a higher-DPI test harness. (#10056)
Requires https://github.com/flutter/engine/pull/3688
2017-05-15 16:47:14 -07:00
Ian Hickson abeb164fe2 Add intrinsic dimensions to RenderEditable (#10093)
Also:

* Make TextPainter.preferredLineHeight honour root fontSize

* Remove bogus docs.

* More aggressively track dirty state for RenderEditable.

* Some tests.
2017-05-15 14:06:58 -07:00
xster b232a84b0d Auto provision iOS deploy 1/3 - find and use the first valid code signing certs (#9946)
* blind wrote everything except the user prompt

* works

* Add some logical refinements

* Make certificates unique and add more instructinos

* print more info

* Add test

* use string is empty

* review notes

* some formatting around commands

* add a newline
2017-05-15 12:54:32 -07:00
Jason Simmons e65d47d4ba Update Gallery primary swatch colors in order to select the intended text color (#10090) 2017-05-15 12:40:20 -07:00
Adam Barth a8b553d52b Update engine (#10088) 2017-05-15 11:18:12 -07:00
Jason Simmons 457b8c05df Repackage manual_tests with the current project template (#10057)
See https://github.com/flutter/flutter/pull/10000
2017-05-15 10:40:03 -07:00
Hans Muller ceab6f9784 Added some simple AppBar examples to the sample catalog (#9912) 2017-05-15 10:02:39 -07:00
Mikkel Nygaard Ravn 5bdd80d085 Update docs/sample code for async widgets (#10029) 2017-05-15 15:19:45 +02:00
Alexandre Ardhuin 45cef3cbcc try use_to_and_as_if_applicable lint (#10078)
* try use_to_and_as_if_applicable lint

* address review comments
2017-05-15 09:44:39 +02:00
Alexandre Ardhuin f7502c854c enable avoid_null_checks_in_equality_operators lint (#10079) 2017-05-15 08:41:17 +02:00
Adam Barth 49b183c502 Estimate the brightness of the primary color (#10071)
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
2017-05-14 10:09:52 -07:00
Adam Barth c5cf8e0190 Update engine (#10067) 2017-05-13 11:11:58 -07:00
Alexandre Ardhuin 26eedb8acf enable use_rethrow_when_possible lint (#10049) 2017-05-13 15:16:30 +02:00
Adam Barth 4b7a1912ee Add NavigatorState.pushAndRemoveUntil (#10026)
Fixes #9989
2017-05-12 17:45:17 -07:00
Ian Hickson db84df230d Some tools to dump other trees. (#9999) 2017-05-12 15:51:58 -07:00
Ian Hickson 4773a8cd4b Re-enable test since underlying issue is fixed (#10008) 2017-05-12 15:51:13 -07:00
Ian Hickson 292abf7223 "flutter packages pub ..." to passthrough to dart pub (#10044) 2017-05-12 15:40:35 -07:00
Jason Simmons 91b1a07656 Framework support for checkerboardOffscreenLayers (#10054)
See https://github.com/flutter/flutter/issues/9473
2017-05-12 14:41:07 -07:00
Jason Simmons b4e0e541ec roll engine (#10047) 2017-05-12 12:43:30 -07:00
Ian Hickson 7c9c5a296c Rearrange tests to more closely match code structure (#10043) 2017-05-12 10:44:52 -07:00
P.Y. Laligand af4905ffbb Fixed analysis error. (#10035) 2017-05-12 10:03:18 -07:00
Alexandre Ardhuin 5bce52d6be try use_string_buffers lint (#10034) 2017-05-12 19:00:55 +02:00
Ian Hickson 18eac03d76 VerboseLogger should just wrap the parent Logger (#10020)
This way, you can test things even with a VerboseLogger.
2017-05-12 10:00:11 -07:00
Chris Bracken eaa9367432 Output commands to generate SDK version tag (#10022)
During SDK version updates, output the commands used to tag the repo
with the SDK version.
2017-05-12 09:29:17 -07:00
Hans Muller 09e8c2ffb0 Update ExpansionTile, added a sample app (#10019) 2017-05-12 09:11:00 -07:00
Adam Barth ff0aa51326 Update gallery assets (#9957)
The new assets have been optipng'ed.
2017-05-11 23:28:25 -07:00
Adam Barth bd56c79767 Handle back during pushReplacement (#10016)
Previously, we would strand the old route in the overlay even though it had
been removed from the history.
2017-05-11 19:33:37 -07:00
Adam Barth b9f4e5dac7 Make AnimatedCrossFade's alignment configurable (#9973)
The default is topCenter, which is sensible, but someone might want to use a
bottomCenter alignment, for example.
2017-05-11 17:47:19 -07:00
Chris Bracken 7160ecfb07 Mark integration_ui, integration_ui_ios tests non-flaky (#10013) 2017-05-11 17:20:46 -07:00
Jason Simmons 303d4dcbc0 fix an analyzer warning (#10018) 2017-05-11 17:09:29 -07:00
Chris Bracken bbe67c3f48 Rev SDK, package versions to dev versions (#10017)
VERSION: 0.0.7-dev
flutter: 0.0.27-dev
flutter_driver: 0.0.5-dev
flutter_test: 0.0.5-dev
2017-05-11 17:02:08 -07:00
Chris Bracken dc4ca8db83 Rev alpha branch version to 0.0.6, flutter 0.0.26 (#10010)
VERSION: 0.0.6
flutter: 0.0.26
flutter_driver: 0.0.4
flutter_test: 0.0.4
2017-05-11 15:33:29 -07:00
Chris Bracken 1dc3f88f57 Add -t flag to integration_ui keyboard resize test (#10012)
Update Android package name.
2017-05-11 15:19:44 -07:00
Chris Bracken 26a712cc12 Explicitly build ios keyboard_resize test (#10011)
Since lib/main.dart does not exist, update test to explicitly build lib/keyboard_resize.dart.
2017-05-11 14:55:35 -07:00
Chris Bracken 2d437f51c3 Add end-to-end test to verify resize on keyboard dismissal (#10005)
Adds an initial integration test that:
1. captures laid-out widget size
2. focuses a text field to show the keyboard and resize the view
3. unfocuses the text field to dismiss the keyboard and resize the view
4. verify that the final widget size matches the initial size
2017-05-11 14:29:20 -07:00
Michael Goderbauer edb61cb2ea Add error handling to batch script (#10007) 2017-05-11 14:02:29 -07:00
Chris Bracken 5be2fb0b8a Roll engine to f99d3ef1083b9a126b64fab0c576647108c9a7eb (#9997) 2017-05-11 10:35:33 -07:00
Yegor 5ad06a502b re-enable devicelab tests that are no longer flaky (#9996) 2017-05-11 09:59:50 -07:00
Ian Hickson 1e6c7eb97f Make docs.sh resilient to not having dart in the path (#9981) 2017-05-11 09:42:08 -07:00
Ian Hickson bc32847fd4 Remove the flaky tests. (#9988)
They are causing nothing but trouble. We should fix these before turning them back on.

See https://github.com/flutter/flutter/issues/9986 https://github.com/flutter/flutter/issues/9987
2017-05-11 08:59:10 -07:00
Devon Carew 2f737cf94e change a printStatus() to a printTrace() (#9992) 2017-05-11 08:49:26 -07:00
Ian Hickson 2f590eccbc Post alpha (#9980)
* Rev versions for alpha branch

* Rev versions after alpha
2017-05-10 22:08:27 -07:00
xster 81ec553fb6 More Cupertino dialog UI tweaks (#9960)
* is default

* hit target

* correct test name

* review note
2017-05-10 18:59:50 -07:00
Alexandre Ardhuin 1a2d9b0030 try unnecessary_overrides (#9982) 2017-05-11 03:32:10 +02:00
Ian Hickson cc44cc779b Rev versions for alpha branch (#9979) 2017-05-10 17:36:30 -07:00
Ian Hickson e5e5f61c66 Improve error messages from slivers. (#9971)
Also, fix some logic in SliverPadding.
2017-05-10 17:34:17 -07:00
Chris Bracken 6ab2958039 Roll engine to f2581c9bcc32f9e2e7372eb7e94a8aa9f5aab0b2 (#9978) 2017-05-10 17:25:33 -07:00