9072 Commits

Author SHA1 Message Date
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
Ian Hickson
33daa2f982 Direct people to the Directional variants more aggressively. (#12075) 2017-09-14 11:15:51 -07:00
Ian Hickson
1814186150 Make intl dependencies clearer. (#12052) 2017-09-14 11:14:02 -07:00
Ian Hickson
3be3a66b4a Retry deploy when docs deployment fails. (#12077)
Also, remove some redundant error-checking code that never runs
because we're running these scripts with `set -e`.
2017-09-13 15:26:41 -07:00
Ian Hickson
8079b1fbca Retry when pub fails in flutter tool. (#12069)
This ports the five-second retry interval from flutter.bat to the Bash
version. Failures during "pub get" of the flutter tool are common on
Travis and so this should help Travis reliability if nothing else.
2017-09-13 13:45:36 -07:00
Carlo Bernaschina
ba36008af6 Add --trace-skia parameter to flutter run (#12070)
* Add --trace-skia parameter to flutter run

Skia tracing is extremely useful for internal debug, but reduces the
amount of space available in the Dart Timeline buffers.
Disable skia tracing by default and expose them via the --trace-skia
flag.

* Roll Engine to 57a1445a45964d386500c39f5e8d06db060abadb
2017-09-13 12:59:05 -07:00
Ian Hickson
44ded0fe91 Revert "Fix the maths for floating pinned app bars. (#11996)" (#12071)
This reverts commit da0602fe9b0adadba1195ac836ea3e171e19f21c.
2017-09-13 09:41:09 -07:00
Ian Hickson
da0602fe9b Fix the maths for floating pinned app bars. (#11996) 2017-09-13 09:30:09 -07:00
Alexander Aprelev
35c47611b9 Recreate outputFileName completer, handle process launch errors. (#11980)
* Recreate outputFileName completer, handle process launch errors.

* Fix formatting

* Updated comment
2017-09-13 07:33:52 -07:00
Alexander Aprelev
b91e8f97ef Remove trailing comma from assert (#12064) 2017-09-12 21:57:37 -07:00
xster
fa0bcce708 Add iOS 11 style large titles to cupertino nav bar (#12002)
* Things lay out but the effects not right yet

* Remaining functionalities and tests

* one line large title only

* Add more docs

* review
2017-09-12 16:11:43 -07:00
Collin Jackson
e830c5ebf6 Update versions after releasing alpha (#12057) 2017-09-12 15:53:29 -07:00
Ian Hickson
90841c9617 Factor out Border and BorderRadius into their own files. (#12055)
This will make it more tractable to convert them for RTL.
2017-09-12 14:21:27 -07:00
Collin Jackson
701d534ba9 Release 0.0.15 (#12056) 2017-09-12 14:01:51 -07:00
Hans Muller
96a70e89b6 More Localizations (#12021) 2017-09-12 13:15:33 -07:00
gspencergoog
3e21c07087 Adding a default title for Title widget (#12015)
Adds a default title to the Title widget, fixes #6802.
2017-09-12 12:35:44 -07:00
Michael Goderbauer
ecb56927de Show accessibility frame while scrolling (#12039)
* Show accessibility frame while scrolling

* ++

* fix test
2017-09-12 10:09:02 -07:00
Carlo Bernaschina
3ee1495c99 Roll Engine to 31d03de019794a4b0e3c98c04cf7be501fb962fb (#12049)
Closes https://github.com/flutter/flutter/pull/12049
2017-09-12 10:07:23 -07:00
Michael Thomsen
fd6b9c7943 Update pubspec.yaml.tmpl (#12031)
Update to reflect https://github.com/flutter/flutter/pull/11751 and https://github.com/flutter/website/pull/663
2017-09-12 13:29:16 +02:00
Sarah Zakarias
e5aead03cc Comments to PR #12032 (#12045) 2017-09-12 12:53:03 +02:00
Sarah Zakarias
0b95e9c278 Support transitive asset dependency (#12032) 2017-09-12 09:13:41 +02:00
Mikkel Nygaard Ravn
a1f03977ca Engine artifacts used for snapshots also specified as build inputs (#12014) 2017-09-12 08:35:02 +02:00
Jacob Richman
f2ab841ac4 Add DiagnosticLevel used to filter how verbose toStringDeep output for (#11995)
Diagnostics object is.
2017-09-11 19:01:05 -07:00
Adam Barth
2d949ab69d Improve RTL support (#12008)
Fix a bunch of obvious RTL bugs from code inspection.
2017-09-11 12:58:12 -07:00
Todd Volkert
11de1a516f Fix capitalization in gallery RegExp (#12035) 2017-09-11 12:56:38 -07:00
Michael Goderbauer
e2c6ba1b5c Improve readability of _SemanticsGeometry (#12038) 2017-09-11 11:02:15 -07:00
gspencergoog
267514346a Remove legacy --plugin option from flutter create (#12020)
Removed the legacy --plugin option from flutter create.  Fixes #11815.
2017-09-11 10:01:07 -07:00
Yegor
ba5b5e7f6f only tap on widgets reachable by hit testing (#11767)
* only tap on widgets reachable by hit testing

* use FractionalOffset

* added tests

* check finder finds correct widget

* undo unintentional changes

* address comments

* style fix

* add Directionality in test

* fix analysis warning
2017-09-11 09:46:42 -07:00
Jacob Richman
0229711ba1 Refactor SemanticsData and SemanticsNode to use Diagnosticable. (#11957)
* Refactor SemanticsData and SemanticsNode to use Diagnosticable.

* Switch toStringDeep to take named parameters.
2017-09-11 09:25:58 -07:00
Sarah Zakarias
ff90ba5b3a Add schema for plugin (#12013) 2017-09-11 16:24:41 +02:00