9101 Commits

Author SHA1 Message Date
Yegor
8c3d5838dd Fix inherited widget notifications in Localizations (#12213)
* Fix inherited widget notifications in Localizations

* address comments
2017-09-22 10:49:19 -07:00
Ian Hickson
4a04de5e6d Revert "LinearGradient and RadialGradient RTL" (#12209)
* Revert "Pin args to 0.13.7 to avoid version conflict (#12208)"

This reverts commit 63802b3dffe9084e4d9344ad236cb4cb41b7b569.

* Revert "LinearGradient and RadialGradient RTL (#12204)"

This reverts commit daedbc84a2456763b33f353721e1eea9f30e948f.
2017-09-22 09:18:13 -07:00
Alexander Aprelev
63802b3dff Pin args to 0.13.7 to avoid version conflict (#12208) 2017-09-21 18:29:16 -07:00
Ian Hickson
daedbc84a2 LinearGradient and RadialGradient RTL (#12204) 2017-09-21 14:06:46 -07:00
Alexander Aprelev
4f6e350b6e Roll engine forward with attempt to fix ios perf regression (#12205) 2017-09-21 14:04:50 -07:00
Ian Hickson
998d65b0b2 Factor out ImageDecoration and paintImage (#12202)
To make it cleaner when we RTLify these.
2017-09-21 12:52:42 -07:00
Ian Hickson
5e71de0878 Minor cleanup to FlutterLogo. (#12156) 2017-09-21 11:02:57 -07:00
Ryan Macnak
03121ffa79 Roll engine to 4aee64f6be1f20a1d68b6897ae1946d2bac0dd9c. 2017-09-21 10:23:20 -07:00
Ryan Macnak
b083d72b51 Roll engine to dd68239b436da462da6fcbc59b94d5b34b305986. 2017-09-21 10:23:20 -07:00
Alexandre Ardhuin
2958d7d0fc use bool in assert (#12170) 2017-09-21 09:33:01 +02:00
Alexandre Ardhuin
cde6b669b3 unnecessary statements (#12189) 2017-09-21 08:33:56 +02:00
xster
f9e8da6d32 Create a CupertinoTab to support parallel navigation trees in iOS (#12130)
* Refactor CupertinoScaffold

* Rename rootTabPageBuilder to tabBuilder

* fix tab transparency padding

* add a CupertinoTab

* Add default background color

* Add a bunch of examples

* A bunch of tests

* Refactor CupertinoScaffold

* Rename rootTabPageBuilder to tabBuilder

* fix tab transparency padding

* Add default background color

* review notes

* fix test

* review

* Rename CupertinoTab to CupertinoTabView

* remove final ; in sample code for analyzer
2017-09-20 21:01:03 -07:00
xster
6d47092772 Split CupertinoScaffold into CupertinoTabScaffold and CupertinoPageScaffold (#12106)
* Refactor CupertinoScaffold

* Rename rootTabPageBuilder to tabBuilder

* fix tab transparency padding

* Add default background color

* review notes

* fix test
2017-09-20 17:58:53 -07:00
xster
e28765a997 Delinting future awaits round 3 (#10791)
* round 3

* partially address comments

* merge

* review notes

* review

* review

* review
2017-09-20 17:24:43 -07:00
xster
8475e0b290 Split Cupertino nav bar into a static one and a slivers one (#12102) 2017-09-20 16:26:49 -07:00
xster
987b205665 Delinting future awaits round 2 (#10790)
* round 2

* deal with null futures

* review

* review

* review

* review
2017-09-20 16:25:16 -07:00
Ian Hickson
d15907b50b Uniform rectangular borders were drawing in the wrong place. (#12179)
I inflated instead of deflating. Oops.
2017-09-20 16:08:03 -07:00
Chris Bracken
1a62c28b6f Correct handling for nulling TextField controller (#12190)
Correctly handle the case where the TextEditingController associated
with a TextField is set to null. Due to a typo (= vs ==), previously
this was a no-op and the existing TextEditingController was retained,
rather than copied.
2017-09-20 15:38:14 -07:00
Zev Youra
cb2204d1c4 Add IconThemeData adjustment to ListTile trailing element (#11858)
* Add IconThemeData adjustment to ListTile trailing element (makes consistent with leading element)

* Add test for ListTile theme changes

* Pull out and share IconThemeData variable between leading and trailing

* remove extra comma

* fix style nit
2017-09-20 14:45:06 -07:00
Michael Goderbauer
b5ea59d5f6 Roll engine to 2f50beabcb398362df009ab96179c5d0aa7832a2 (#12188) 2017-09-20 13:43:58 -07:00
Ian Hickson
1f05c2c365 BorderRadius RTL (#12149)
Add an RTL version of BorderRadius.
Minor fixes to EdgeInsets to match.
2017-09-20 13:41:57 -07:00
Ian Hickson
61a2492a5a Factor out LinearGradient and RadialGradient (#12155) 2017-09-20 13:41:20 -07:00
Collin Jackson
8e5ec0b153 fix typo in member name (#12161) 2017-09-19 19:55:31 -07:00
xster
59b9418540 Scroll momentum builds on iOS with repeated flings (#11685)
* Record original pointer event timestamp

* review

* review

* review

* Matched motions with iOS. Didn’t add overscroll spring clamps and fix tests yet.

* clamp max overscroll transfer

* Add test

* review notes, moved things around

* remove function passing indirection

* review

* Replace stopwatch with timestamp from #11988

* move static

* Review
2017-09-19 17:39:04 -07:00
xster
2447f91844 Pass on original pointer event timestamps to drag events (#11988)
* Record original pointer event timestamp

* review

* review

* review
2017-09-19 17:15:31 -07:00
Zachary Anderson
8566777dee Fix -d all hot reload (#12178) 2017-09-19 15:38:01 -07:00
Chris Bracken
270cb10990 Roll engine to bd64e8dc5a0a1d02097715fad80ac4001d02e6d2 (#12175) 2017-09-19 14:44:18 -07:00
Chris Bracken
d29c4a3c97 Roll engine to dd1e0b59ece026737b05640cf020a6e590cfc10c (#12169) 2017-09-19 13:07:57 -07:00
Sarah Zakarias
3de99c1575 Update fonts section in pubspec.yaml.tmpl (#12164) 2017-09-19 21:26:02 +02:00
Sarah Zakarias
ec2d1c9116 Add support for shared fonts in packages. (#12142) 2017-09-19 14:04:51 +02:00
Zachary Anderson
2859a563ce [Fuchsia] Fix view reassemble trigger after hot reload (#12151) 2017-09-18 14:55:20 -07:00
Ian Hickson
88cd043d01 Fix tests (#12132)
Fixes some tests that weren't aggressively catching exceptions.
Fixes some actual failures that were found because of this.
Tries to fix an intermittent failure with crash1_test.dart which could be a race condition.
2017-09-18 13:42:06 -07:00
Ian Hickson
39cfaa72b9 Roll engine (#12123)
Includes:
* DEPS: Change the URL for Dart to the new Gerrit instance. (https://github.com/flutter/engine/pull/4111)
* Add operators to Radius (https://github.com/flutter/engine/pull/4117)
2017-09-15 17:33:40 -07:00
Collin Jackson
d62832b91a Fix dropdown buttons menus being clipped by the edge of the screen (#12059)
Fix dropdown buttons menus being clipped by the edge of the screen
2017-09-15 16:59:51 -07:00
Yegor
e163a81560 fix Russian material translations (#12044)
* upper case

* fix Russian material translations

* regenerate localizations.dart
2017-09-15 14:48:20 -07:00
Hans Muller
e57d94c308 Make it possible to localize an app title (#12105) 2017-09-15 14:25:54 -07:00
Ian Hickson
9d59fb0c30 Split TableBorder from Border (#12104)
This will enable both to be RTL'ed.

Also, factor out common border painting code into paintBorder.
Also, make Border paint uniform non-rounded borders using drawRect.
Also, add some documentation about an issue that wasted an hour of my life.
Also, factor out all the border painting code into TableBorder.paint.
2017-09-15 14:08:44 -07:00
Carlo Bernaschina
b5448d46f2 Roll Engine to 2820d0e722c3bc412b158bd09573ea4f6d3fd07b (#12115) 2017-09-15 11:08:05 -07:00
Zachary Anderson
6be32aa757 [Fuchsia] Connect to the VM service using an ssh tunnel (#12100) 2017-09-15 10:58:27 -07:00
Ian Hickson
d658048986 Allow multiple FloatingActionButtons to be used on one screen. (#12074)
* Allow FloatingActionButton to not have a heroTag.
* Allow FloatingActionButton to not have a child.
* Allow Tooltip to not have a child.
* Improve the debug output of the default FloatingActionButton hero tag.
* Improve the error message in the Hero clashing-tag case.
* Improve the debug output of the Hero widget.
* Improve the debug output of gesture-related widgets.
* Minor improvements to documentation.
* Fix some typos in comments.
* Fix some style nits.
2017-09-15 10:46:30 -07:00
Hans Muller
08869497d0 About Box L10N (#12062) 2017-09-15 10:15:44 -07:00
Hans Muller
9fb6fd81b9 Localizations overrides (#12094) 2017-09-15 07:37:08 -07:00
Michael Thomsen
dc47238602 Update documentation links in pubspec.yaml (#12109)
Using anchor links from https://github.com/flutter/website/pull/676
2017-09-15 12:26:00 +02:00
Ian Hickson
76baa5efc8 Fix the maths for floating pinned app bars. (#11996) (#12073) 2017-09-14 17:40:33 -07:00
Mehmet Fidanboylu
f3b3ff4707 Allow apps to change the title spacing in app bar. (#12076)
* Allow apps to change the title margin in app bar.

* Fix documentation links and the shouldLayout function in the _ToolbarLayout

* Rename margin to spacing

* review comments

* Test fixes. Now we also test the width to make sure enough space is left for trailing widget

* Expose the middle spacing default and use it in app bar.

* Fix analyzer break

* Doc fixes due to review
2017-09-14 14:02:51 -07:00
Carlo Bernaschina
3bab533cd6 Add important Timeline events to whitelist (#12058) 2017-09-14 13:43:06 -07:00
Yegor
cbdefead38 Localize time picker (#11967)
* Internationalize the time picker

- header layout and formatting
- 12-hour vs 24-hour dial
- RTL

* make TimeOfDayFormat an enum

* address comments
2017-09-14 13:17:38 -07:00
Alexander Aprelev
72cc92cba6 Roll engine dependency forward (#12087)
* Roll engine dependency forward

* Tests seem to fail with segfault. Trying different engine version to troubleshoot

* Tests seem to fail with segfault. Trying original engine version to troubleshoot

* Tests seem to pass with original engine version. Continue bisecting.

* Tests seem to fail now. Continue bisecting.

* Reverted culprit cl, rolling to that
2017-09-14 12:57:11 -07:00
Chris Bracken
dd7e313317 Migrate to os_log for reading iOS simulator logs (#12079)
1. Migrate simulator device log tailing to os_log toolchain
2. When the log tag (component) is available (iOS 11/Xcode 9), filter to
   the set of log lines with tag 'Flutter'.

As of iOS 11 / Xcode 9, Flutter engine logs are no longer recorded in the
simulator's syslog file, which we previously read using tail -f. Instead
they're now accessible through Apple's new macOS/iOS os_log facility,
via /usr/bin/log, which supports a relatively flexible query language.

When run in non-interactive mode, /usr/bin/log buffers its output in 4k
chunks, which is significantly smaller than what's emitted up to the
point where the observatory/diagnostics port information is logged. As a
workaround we force it to run in interactive mode via the script tool.
2017-09-14 12:28:21 -07:00
Kyle Bradshaw
016f939074 Trailing widget override for ExpansionTile (#11904)
* Trailing widget override for ExpansionTile

Fixes #11890

* Add a test

* Replaced missing comma
2017-09-14 12:25:49 -07:00