10451 Commits

Author SHA1 Message Date
Hans Muller
0eec5ad0ad
Fixed an uninitialized bool in the gallery FAB demo (#16012) 2018-03-28 07:50:00 -07:00
Chris Bracken
39eeec47d6
Apply Mockito-related type fixes (#16002)
Type-related fixes in flutter_driver and fuchsia_remote_debug_protocol
tests.
2018-03-27 15:27:24 -07:00
Chris Bracken
040fbd2947
Roll engine to 3e877d371a359097d7af28aa6e85026fa2318baa (#15992)
Includes:
* Remove declaration for undefined GPUSurfaceGL::SelectPixelConfig (flutter/engine#4857)
* Vulkan swap chain setup no longer uses GrPixelConfig and doesn't incl…
* Revert dart roll 20180322 (flutter/engine#4855)
* Roll back pub upgrade. (flutter/engine#4854)
* Roll flutter 20180322a (flutter/engine#4852)
* Document Window.defaultRouteName a little better. (flutter/engine#4851)
* Roll dart to 95e9e890a9 (flutter/engine#4850)
2018-03-27 14:54:52 -07:00
Chris Bracken
40bcdf40ef
Roll engine to 01be4c6017f98532eea2456ea422e2c285e219c8 (#15990)
Includes:
* Fix GPUSurfaceGL includes on Linux (flutter/engine#4849)
* Slightly improve the docs for the internal _futurize method (flutter/engine#4847)
* Fix supported color type check on iOS simulators (flutter/engine#4846)
* Fix GPUSurfaceGL includes on macOS (flutter/engine#4844)
* Handle Apple-specific GLES headers (flutter/engine#4843)
* [fuchsia] Fix up includes of Zircon headers (flutter/engine#4842)
* VulkanSurface and GPUSurfaceGL no longer use GrPixelConfig (flutter/engine#4814)
2018-03-27 13:48:51 -07:00
Hans Muller
a0099a9016
Make gallery tests more robust (#15957) 2018-03-27 13:39:30 -07:00
Hans Muller
8ca99327f9
Corrected default tab indicator color (#15959) 2018-03-27 13:39:05 -07:00
Chris Bracken
eb9fc2baf9
Roll engine to e102ae3d28eace7f350ece188187c2566920e654 (#15988)
Includes:
* Roll Skia (flutter/engine#4841)
2018-03-27 13:23:56 -07:00
Chris Bracken
9c9162e560
Roll engine to 2114a88b5ee0c5240f2aec6cde164798d00b61b4 (#15987)
Includes:
* Provide asset lookup key on ios (flutter/engine#4817)
* Load kernel files from the script URI in the isolate create callback (flutter/engine#4828)
* Remove some unneeded profiling flags (flutter/engine#4827)
* Remove the canvas save/restore calls in Paragraph::Paint (flutter/engine#4822)
2018-03-27 13:22:34 -07:00
Ian Hickson
171f94d179
Update gallery about box. (#15954) 2018-03-27 11:59:02 -07:00
Chris Bracken
49c87d010c
Revert "Roll engine to version dd6f46c485192f4506035088c9065b9f5dbba9ab (#15885)" (#15980)
This caused a test failure in the integration_ui_ios devicelab test.

```
stdout: [   +3 ms] 00:02 [32m+0[0m: end-to-end test Ensure keyboard dismissal resizes the view to original size[0m
stdout: [+8129 ms] 00:11 [32m+0[0m[31m -1[0m: end-to-end test Ensure keyboard dismissal resizes the view to original size [1m[31m[E][0m[0m
stdout: [   +5 ms]   DriverError: Failed to fulfill Tap: Flutter application not responding
stdout: [        ]   Original error: TimeoutException after 0:00:07.500000: Future not completed
stdout: [        ]   Original stack trace:
stdout: [        ]   #0      FlutterDriver._sendCommand (package:flutter_driver/src/driver/driver.dart:324:18)
stdout: [        ]
stdout: [        ]   #1      FlutterDriver.tap (package:flutter_driver/src/driver/driver.dart:368:11)
stdout: [        ]
stdout: [        ]   #2      main.. (file:///[... snip ...]/flutter/dev/integration_tests/ui/test_driver/keyboard_resize_test.dart:34:20)
```

This reverts commit 067be92ae8fe2e82529c4b23db8df58d05028558.
2018-03-27 10:57:50 -07:00
Alexander Aprelev
e59651f925
Revert "Move mockito to 3.0.0-alpha. (#15949)" (#15979)
This reverts commit a7e6225820719eec08ae3c79ce73ebeb8ec33523 as there are failing tests.
2018-03-27 10:38:20 -07:00
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