Commit Graph

10440 Commits

Author SHA1 Message Date
Alexander Aprelev
a7e6225820 Move mockito to 3.0.0-alpha. (#15949)
* Move mockito to 3.0.0-alpha.

This is needed so it matches mockito version used internally.

* Pick up +2 for the fixes

* Fix whenReturn in fuchsia_remote_debug_protocol

* more thenReturn becomes thenAnswer

* more thenReturn becomes thenAnswer

* more thenReturn becomes thenAnswer
2018-03-27 10:05:16 -07:00
Siva
067be92ae8 Roll engine to version dd6f46c485192f4506035088c9065b9f5dbba9ab (#15885)
Roll engine to version dd6f46c485192f4506035088c9065b9f5dbba9ab
2018-03-26 22:16:48 -07:00
Zachary Anderson
d15cc57b7f [fuchsia] Fix package/flutter BUILD.gn deps (#15951) 2018-03-26 14:03:31 -07:00
Stanislav Baranov
d3abf174be Removed obsolete step in for rolling a new engine 2018-03-26 13:58:51 -07:00
Greg Spencer
2171fcb882 Address post-submit comments for sliders (#15836)
* Address post-submit comments

* Added dispose protection for the animation controllers.
2018-03-25 00:04:24 -07:00
Greg Spencer
a6d8ca2980 Post submit review changes for chip (#15835) 2018-03-24 17:55:40 -07:00
Jonah Williams
e91683942c Update AndroidManifest to include screenLayout|density in config changes (#15871)
* android templates should add density and screenLayout to config changes

* update the rest of the manifests
2018-03-24 12:38:42 -07:00
Alexander Aprelev
af74a7253b Send relative uri when target physical file path is specified. (#15887) 2018-03-23 19:18:39 -07:00
Sam Rawlins
2eebf6a0f1 Remove tear-off mocking in refresh_test (#15869)
* Remove tear-off mocking in refresh_test

* Comments

* Analyzer fix

* Final final final final mushroom mushroom!

* Fix for Dart 1 AND Dart 2 semantics; anonymous closure over tear-off

* Final final
2018-03-23 18:19:50 -07:00
Hans Muller
3fd0423a11 Marked flutter_gallery_instrumentation_test flaky (#15891) 2018-03-23 18:16:44 -07:00
Yegor
e9cf950006 CONTRIBUTING.md: updates for Dart 2; move parts to flutter/engine (#15874)
* CONTRIBUTING.md: updates for Dart 2; move parts to flutter/engine

* address comments
2018-03-23 17:51:41 -07:00
xster
03683bf638 Add more doc linking the material and cupertino refresh controls (#15842)
* Add more doc linking the material and cupertino refresh controls

* review
2018-03-23 15:10:17 -07:00
Hans Muller
3a93061e9e Extended Floating Action Button (#15841) 2018-03-23 14:40:18 -07:00
xster
1f5d904182 Re-enable usage of TransformLayers with text in RenderListWheelViewport (#15625)
* Re-enable usage of TransformLayers with text in RenderListWheelViewport

* add test

* linter fix
2018-03-23 13:01:44 -07:00
xster
104858cba3 Do not push -pre versions to stores (#15845) 2018-03-23 10:45:59 -07:00
Greg Spencer
b3b9b2215a Updating checkmark animation (#15850) 2018-03-23 08:58:29 -07:00
Mikkel Nygaard Ravn
ce28378178 Change to absolute path (#15827) 2018-03-23 11:37:56 +01:00
Andrew Davies
72fd020a24 [fuchsia_remote_debug_protocol] Adds the fuchsia remote debug protocol package.
Adds a package that will support connecting to and debugging devices with multiple instances of the Dart VM, and operate on multiple Isolates and Flutter Views.

Currently supports connecting to all existing Dart VMs and extracting information about all Flutter Views running across each VM.
2018-03-22 17:19:02 -07:00
Ian Hickson
fc87097119 Add Form.onChanged, and rename FormState.onChanged (#15405) 2018-03-22 15:56:10 -07:00
Ian Hickson
aba0379dcc Clean up the existing Navigator API. (#15718)
This is not a grand refactor yet, it's just cleaning up what we have
already, so that people who keep using this API (e.g. dialogs) have
something coherent to deal with.

The major changes are that Navigator and NavigatorState have the same
API now, that most of the examples use `<void>` instead of `<Null>`,
that the navigator observer can see replaces, and that the `settings`
is moved from ModalRoute to Route. I also cleaned up some of the API
documentation.
2018-03-22 13:21:07 -07:00
Hans Muller
3a2e0d9375 Extended ButtonTheme, RoundedRectangleBorder, gallery buttons demo (#15723) 2018-03-22 13:20:18 -07:00
Greg Spencer
05ccf56cb0 Changing the JSON metadata format for the website. (#15834) 2018-03-22 13:14:31 -07:00
Jonah Williams
88cc977384 Remove package:http from Flutter (#15416)
* use HttpOverrides and dart:io HttpClient in flutter

* add missing package:http dependency

* update flutter packages and remove comment about createHttpClient from flutter_test

* move byte loading logic to common class, move string parsing logic to base class

* addAll doesn't work for a Uint8List

* use bytes.setRange

* undo addition to hello_world

* add newline to end of binding.dart

* and a newline for hello world

* refactor to function and add tests

* address comments on unknown length case

* alignment

* sort alaphabetically

* rename convertResponse to consolidateClientHttpClientResponseBytes.  Add header

* fix alignment in test
2018-03-22 08:21:01 -07:00
Mikkel Nygaard Ravn
f90c54c6ed Fix path to .bat file (#15824) 2018-03-22 13:22:44 +01:00
Mikkel Nygaard Ravn
145abb6dbf Stop Gradle daemon before attempting to delete Flutter project (#15819) 2018-03-22 12:33:29 +01:00
Alexandre Ardhuin
061352918b enable lint avoid_relative_lib_imports (#15780) 2018-03-22 07:56:18 +01:00
Greg Spencer
4141946cae Creating chips custom renderer, updating visual look. (#15596)
This updates the visual look of the Chip class, so that it scales properly in the face of text scale (and label widget size) changes, and bases its height off of the label widget's height, constraining the other widgets it contains to be the same height.

To do this properly, I had to implement a custom render object that will measure the height of the label, so the guts of this class are basically rewritten.

In addition, to allow the circle avatar to increase in size when the chip does, I added minRadius and maxRadius arguments to it, and I updated its color handling to use the light/dark primary colors of the theme in a smart way instead of just using black and white.

Updated and added tests.
2018-03-21 21:11:55 -07:00
xster
2614c7d948 Remove cupertino pull to refresh from transitions test (#15813) 2018-03-21 18:51:15 -07:00
Greg Spencer
30adac1ac8 Updating example for MultiChildLayoutDelegate (#15597) 2018-03-21 18:08:56 -07:00
Ian Hickson
f2ffc8de79 Fix RTL icons (#15095) 2018-03-21 17:58:07 -07:00
xster
feadfd2e40 Cupertino pull to refresh part 1: sliver and a simple indicator widget builder (#15324)
* 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
2018-03-21 17:27:58 -07:00
xster
fcf0941417 Add more docs and examples for implementers of RenderSliver (#15419)
* Add more docs and examples for implementers of RenderSliver

* add more typical scenarios to describe scrollOffset

* review

* tweak a word
2018-03-21 17:26:45 -07:00
Keenan
d89deb79d3 Fix call on null when interpolating gradient stops (#15656)
Also adds test for interpolating gradient stops.
2018-03-21 16:54:14 -07:00
Hans Muller
4d32c085ed InputDecorator should clip fill color to its border (#15795) 2018-03-21 14:38:06 -07:00
xster
1eaf85036f Update gallery drawer version (#15774) 2018-03-21 13:51:10 -07:00
Alexander Aprelev
ffc7fac288 Pass --no-preview-dart-2 for dart1 tests. (#15800) 2018-03-21 13:40:17 -07:00
Jason Simmons
339e65d839 Remove an error that is caught at compile time in Dart 2 (#15797) 2018-03-21 12:58:13 -07:00
Alexandre Ardhuin
217b2bdaa1 add new lints of linter-0.1.44 and enable unnecessary_parenthesis (#15585) 2018-03-21 07:10:14 +01:00
Jonah Williams
d518bd2dc8 Pass shadowColor param to SceneBuilder (#15714)
* pass shadowColor param to SceneBuilder

* add doc comment and diagnostic node for shadowColor

* Add missing shadowColor param
2018-03-20 21:05:28 -07:00
Jonah Williams
ad9506d25a Traverse dependencies and dev dependencies separately (#15581)
* traverse dependencies and dev dependencies separately

* separate dev and reg deps

* update pubspecs

* add checksum string and update transitive dep string.  Add additional verify command to check checksum

* cleanup comments

* add missing space, quote, run verify-onlu from bot script

* rerun tool with fixed string

* ensure correct working directory and bump versions

* flutter not flutterRoot
2018-03-20 20:03:32 -07:00
Mikkel Nygaard Ravn
8b25d4eadb Add missing awaits (#15595) 2018-03-21 00:44:19 +01:00
Hans Muller
537e67262d Fixed a typo in translations_test.dart: Norwegian LC is "no" (#15746) 2018-03-20 16:40:14 -07:00
Jacob Richman
4e5acef664 Make the inspector handle widgets with non-invertible transforms gracefully. (#15761) 2018-03-20 16:38:19 -07:00
Kevin Moore
19ef85bf6c Update LICENSE file so it can be detected (#15353)
See https://help.github.com/articles/licensing-a-repository/#detecting-a-license
2018-03-20 14:20:00 -07:00
Sturov Fedor
1e40349017 Fixed flutter create's "package" template's error in pubspec.yaml. (#14977) 2018-03-20 13:37:24 -07:00
Vyacheslav Egorov
3352a3fb48 Report an error if compilation during testing times out. (#15745)
* Report an error if compilation times out instead of waiting forever.

* Remove braces
2018-03-20 11:30:06 -07:00
Siva
821c9b35a1 Roll engine to version 6280adbfb1f9f63cdc6179b9b78634add1e4f2e3 (#15729)
* roll engine version to 6280adbfb1f9f63cdc6179b9b78634add1e4f2e3

* Correctly handle previewDart : false setting in AnalysisServer and
AnalyzeOnce classes.
2018-03-20 11:15:05 -07:00
Greg Spencer
d9e3715620 Fix package preparation on Windows (#15720) 2018-03-20 08:14:08 -07:00
Alexandre Ardhuin
cc1cf9e12a apply upcomming lint avoid_renaming_method_parameters (#15526) 2018-03-20 12:53:41 +01:00
Michael Goderbauer
619ebd67a9 Support password fields for a11y (#15497)
* Support password fields for a11y

* rename to obscured

* Roll engine to c3ab0c9143029f0267a05b99effbfbd280a4901b
2018-03-20 00:26:10 -07:00