Commit Graph

24470 Commits

Author SHA1 Message Date
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
Vilk
568ce697b4 add Samsung SM-J730F to isLocalEmulator (#15517)
Add another rel device to isLocalEmulator to make working flutter run --release
2018-03-19 21:40:34 -07:00
xster
3890af64d0 Add debug disable flags for various performance affecting layers (#15548) 2018-03-19 17:51:17 -07:00
Jonah Williams
27ac523ea0 Provide an initial rotation of the ExpansionIcon if isExpanded = true on initState (#15657)
* rotate expansion icon fully if initial state expanded = true

* add test case for initially expanded

* remove unused import

* Update expand_icon_test.dart

add linebreak

* import dart:math as math
2018-03-19 17:27:34 -07:00
xster
33fea5c19a Remove the 'demo' wording from gallery (#15640) 2018-03-19 17:03:56 -07:00
xster
d8f360717f Add a way to generically go back on both Material and Cupertino scaffold pages (#15602)
* Add a way to generically go back on both Material and Cupertino scaffold pages

* review

* lint

* review

* Fix text assert text
2018-03-19 16:57:05 -07:00
Ian Hickson
4a2217b3d2 Improve documentation regarding padding for dialogs. (#15399) 2018-03-19 16:42:50 -07:00
Ian Hickson
28352c3f5f Document the sample API doc analyzer (#14740) 2018-03-19 16:42:30 -07:00
Ian Hickson
b24a3a118c Update some READMEs under dev/. (#15712) 2018-03-19 16:41:36 -07:00
Ian Hickson
da27d674a4 Move dialogs when keyboard pops up (#15426)
Fixes #7032
2018-03-19 15:52:25 -07:00
Hans Muller
076594b3fd Added Indonesian (id) and Norwegian (no) locales (#15708) 2018-03-19 15:07:13 -07:00
Victor Choueiri
7edd5c8d6c Allow null flutter schema in pubspec (#15690) 2018-03-19 14:55:54 -07:00
Greg Spencer
10fe2056f3 Add a slider demo, and a text theme for SliderThemeData (#15620)
This adds a slider demo with a custom theme to the gallery.

In the process of adding this, I decided to add a text theme to the SliderThemeData, since it's a pain to change the text style on the value indicator otherwise.
2018-03-19 14:50:29 -07:00
xster
7a2853012f Revert "Add a simple convenience test task runner for VSCode (#15417)" (#15705)
This reverts commit c8fd99fb33.
2018-03-19 13:43:34 -07:00
Alexander Aprelev
21ad09fe57 With dart2 being default, move preview_dart_2 tests to dart1. (#15667)
* With dart being default, move preview_dart_2 tests to dart1.

* Swap out defaults for preview-dart-2 option in tests. Make dart1 explicit

* Move suffix around

* Rename files
2018-03-19 12:11:18 -07:00
Matan Lurey
81070893be Fix Dart2 compatibility with flutter_tools' tests. (#15699) 2018-03-19 11:45:44 -07:00
Jason Simmons
1c04f951c8 Warn about missing host build binaries when compiling with a local engine (#15626)
Fixes https://github.com/flutter/flutter/issues/15361
2018-03-19 11:29:20 -07:00
Alexander Aprelev
6acf76f7be Use uris for hot reload invalidation. (#15698)
* Use uris for hot reload invalidation.

* Clean up unneccessary conversions

* add final.

* Revert sample change
2018-03-19 11:17:16 -07:00
Jonah Williams
91dcfc5dd2 stderr can be null or empty string (#15701) 2018-03-19 10:53:04 -07:00
Alexander Aprelev
d6bac5fd4a Add const to list literal. (#15693)
This is follow-up to https://github.com/flutter/flutter/pull/15537 to make dart1 coverage test happy.
2018-03-19 08:29:56 -07:00
Yegor
9c49255f3e a11y: remove SemanticsSortOrder; sort locally only; semanticsOwner post-test check (#15537)
* a11y: remove SemanticsSortOrder; sort locally only; semanticsOwner post-test check

* update accessibility test framework

- default nextNodeId/previousNodeId to -1
- stop treating null as opt-out from value testing
- add `id`, `TestSemantics.root`, and `tags` to the suggested code in the TestSemantics failure message
- fix a small bug with raw string escaping
- update all tests accordingly

* fix sortKey doc

* prefer const over final
2018-03-18 22:18:52 -07:00