Commit graph

12915 commits

Author SHA1 Message Date
Jason Simmons 8efd6c1a21
Add a manifest for profile builds that enables INTERNET permission (#26450)
Profile builds need access to sockets in order to launch the Dart
observatory server.

This permission used to be enabled by default in all build types,
but was moved to a build type specific manifest in
88b853f7eb
2019-01-11 18:19:17 -08:00
liyuqian ffad10aa07
Roll engine e5ec3cf3ea5c..b7f6bf0192d1 (28 commits) (#26430)
(cloned from https://github.com/flutter/flutter/pull/26399)

e5ec3cf3ea...b7f6bf0192

git log e5ec3cf3ea5ce78c6c3116271601f60d30a799d4..b7f6bf0192d175ac2c245f27524c5195140ecd50 --no-merges --oneline
b7f6bf019 Pass deadline to embedder idle notification callback (flutter/engine#7444)
5272805f1 Fix settings.advisory_script_uri in iOS createShell (flutter/engine#7235)
788dea5dd Eliminate std::string using directive (flutter/engine#7433)
cd98f6bdb Clear the font collection's cache when a font is dynamically loaded (flutter/engine#7436)
dea6a0849 Remove legacy and deprecated defaultClipBehavior (flutter/engine#7439)
5749b75af Temporary revert of Dart SDK rolls made since 2019/01/08 (flutter/engine#7437)
29c70f5fc Roll src/third_party/skia 292ece8024ea..d2fa7e33798c (8 commits) (flutter/engine#7434)
37d886ef8 Simplify rollback of dynamic patches (flutter/engine#7432)
6071286ef Download dynamic patch to separate file, then rename it to install. (flutter/engine#7428)
4c9136bdb Roll src/third_party/dart cb966bdce7a0a9d0c34149b50ae5704676cf34c8..651d19cdaa25d020b8f7c193c907644284029130 (4 commits) 651d19cdaa Ignore --fast-startup flag, assume true aeb7fccd5b Fix plugin start up to work with OverlayResourceProvider 0b0704c7c4 [vm] Use std::abs instead of regular abs(). 36b5fe0c7a Track how many analysis server requests had latency info
239f16e72 Roll src/third_party/dart 927b0cb9edda5500fed0acbd60c04487d3e526e6..cb966bdce7a0a9d0c34149b50ae5704676cf34c8 (1 commits) cb966bdce7 Unify parsing of co19 test options and regular test options.
2501eb42e Roll src/third_party/dart f4986cc78ddd884e60e7274c44f31dbcd990b912..927b0cb9edda5500fed0acbd60c04487d3e526e6 (73 commits)927b0cb9ed [vm/aot] Support optimization of modulo against a power-of-two. bf13ac85c4 Ensure LSP server clears diagnostics for removed files/analysis roots 54fffe4cca Add support for LSP workspace/didChangeWorkspaceFolders e7b783ba5d Fix bug with deprecated rootPath + add tests ad300b904d Improve handling of server-specific analysis diagnostics pages 1d096d8499 Enable the analyzer Diagnostics server for LSP 6bb1dcdfa4 Fix wording e749576caa [VM/Compiler/AOT] Do not populate unused arguments descriptor in bare instructions mode a1250467fe Move member conflict detection to own method
39a99b005 Docs improvements per @Hixie's comments (flutter/engine#7387)
26e02aaa2 Wire up support for external OpenGL textures for the embedder. (flutter/engine#7087)
20d70d2bf Eliminate unused import of ZipException (flutter/engine#7429)
b972f75db Allow embedders to add per shell idle notification callbacks. (flutter/engine#7427)
844d27cb3 Refactor dynamic patching to use clearer naming and structure. (flutter/engine#7426)
99fa3901a Roll src/third_party/skia 3560ea702f1b..292ece8024ea (9 commits) (flutter/engine#7424)
97ff4b226 Dart SDK roll for 2019-01-09
39b2e4b02 Roll src/third_party/skia 76dc683364c2..3560ea702f1b (10 commits) (flutter/engine#7420)
88e212f99 Dart SDK roll for 2019-01-09
82d3208d4 Roll src/third_party/skia 1337f5b85978..76dc683364c2 (18 commits) (flutter/engine#7418)
8657340c8 Dart SDK roll for 2019-01-09
a369ef606 Dart SDK roll for 2019-01-08
3ae5eb8c1 Dart SDK roll for 2019-01-08
42f449fa4 remove deprecated updateNode argument (flutter/engine#7413)
5e33f33a1 Refactor shared code into separate function to simplify further work. (flutter/engine#7410)
937ee8bf9 Cleanup dead code (flutter/engine#7409)

The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (cbracken@google.com), and stop
the roller if necessary.
2019-01-12 06:36:36 +08:00
xster 181d357c95
Add back lost gallery theme code (#26333) 2019-01-11 14:36:14 -08:00
Greg Spencer 141d6e1394
Add support for detecting which modifier keys have been pressed on RawKeyboardEvents (#26265)
This adds some functions to the interface for RawKeyEventData and all subclasses that allow the recipient of an event to determine which modifier keys are currently being pressed without needing to know the specific modifier bitmasks for the platform.

Also adds constants for the modifier bitmasks for each platform, for completeness (and because I needed them anyhow to implement the above).

Added tests for the RawKeyEventData subclasses, and modified the raw_keyboard manual test app to show modifier keys being pressed. I also separated the different platform-specific subclasses into separate files.

Fixes #26155.
2019-01-11 13:41:45 -08:00
Dan Field 8af3e480a9
Revert "move analysis_options to package" (#26436)
* Revert "move analysis_options to package (#26244)"

This reverts commit d4d1b29a35.
2019-01-11 13:38:02 -08:00
Greg Spencer 30ba6575c0
Re-enable compute credites for macOS PRs only. (#26403) 2019-01-11 07:52:09 -08:00
Andrei Lesnitsky 88b853f7eb move INTERNET permission to debug/AndroidManifest.xml (#22139) 2019-01-11 07:45:49 -08:00
xster 5a434c61af
Let the packaging recipe use gsutil.py (#26402) 2019-01-10 19:08:03 -08:00
Dan Field d4d1b29a35
move analysis_options to package (#26244)
* move analysis_options to package
2019-01-10 18:53:01 -08:00
xster b5e69f2ed1
Make sure package cache prepare does not end up creating projects inside the Flutter repo (#26389) 2019-01-10 18:04:23 -08:00
Chris Bracken 88b77a7d0f
Avoid use of ParagraphConstrains const ctor (#26392)
Usages of ParagraphConstraints (from dart:ui) whose constructor could be
const as of flutter/engine#7346 are currently marked //
ignore:prefer_const_constructors in the framework until all
Google-internal embedders have been updated to an engine version that
includes the above change. These were initially updated in engine roll
flutter/flutter#26252, but broke internal embedders.

We should re-enable use of the const constructor in those cases once
internal embedders are updated.

See: https://github.com/flutter/flutter/issues/26390
2019-01-10 17:25:24 -08:00
Stanislav Baranov 585e23173a
Friendlier flutter tool messages for dynamic mode (#26378) 2019-01-10 16:07:50 -08:00
Chris Bracken 17d741ea4e
Emit more of HTTP error response bodies (#26395)
80 characters was short enough that after the XML boilerplate in the
response, all we got was 'The'.
2019-01-10 16:05:39 -08:00
Chris Bracken 7022f981e2
Check response code, retry when downloading docs (#26386)
When downloading the ObjC/Java API docs, check the HTTP response status
code and if not 200, attempt up to 5 times before giving up.
2019-01-10 15:23:59 -08:00
Michael Klimushyn 5293fef26d
Deprecate the animated image frame cache (#26385)
Disables the cache by default and deprecates the API for setting its
size.

flutter/flutter#26081
2019-01-10 15:07:57 -08:00
Jonah Williams 83af6f48d6
Adds a type parameter to invokeMethod (and additional utility methods) (#26303) 2019-01-10 13:21:03 -08:00
Greg Spencer dca8d36d62
Change flutter create to use master-docs.flutter.io instead of firebase URL. (#25516)
Now that we have our DNS mapping we should refer to the master docs site that way everywhere.
2019-01-10 12:55:57 -08:00
Michael Goderbauer b13eacc717
Fix Listenable.merge to not leak (#26313) 2019-01-10 12:17:45 -08:00
Sander Dalby Larsen 6c6fdaff81 Added the superellipse (a.k.a. squircle) shape to flutter. (#26295)
* Added the superellipse (a.k.a. squircle) shape to flutter, which is needed to recreate some cupertino components, e.g. buttons in pixel-perfect detail (issue #13914).
2019-01-10 12:17:01 -08:00
Greg Spencer d126474cd1
Restore ignore for *.lock files (#26377) 2019-01-10 10:49:11 -08:00
Danny Tuppeny 1a0481591d
Add some basic tests for evaluating expressions in flutter test (#24513)
* Add some basic tests for evaluating expressions in `flutter test`

* Review tweaks
2019-01-10 15:33:59 +00:00
MH Johnson 090c3bcd0e
[Material] Bottom app bar theme (#24156)
* [WIP] BAB theme

* [WIP] BAB theme

* Update goldens

* Extract helper function in tests

* Update Goldens version

* Add tests

* [WIP] Hans first round comments

* Added test

* Added docs

* Hans second round comments

* Fixed analyzer error

* Hans third round comments

* ambient

* Change [BottomAppBarTheme.of] to static

* Final doc change
2019-01-10 10:19:35 -05:00
xster 77512a3c46
chromebot recipe instructions missing a step (#26337) 2019-01-10 02:42:07 -08:00
Danny Tuppeny b16ef489e0
Add a validator to ensure NO_PROXY is set correctly if HTTP_PROXY is set (#25974)
* Add a validator to ensure NO_PROXY is set correctly if HTTP_PROXY is set

Fixes #24854.

* Fix typo

* Dummy edit to try and force update of PR desc on Cirrus
2019-01-10 07:47:29 +00:00
Dan Field e19851191a
Revert "Check for duplicative Flutter.framework emeddings when building for Xcode 10" (#26339)
* Revert "Check for duplicative Flutter.framework emeddings when building for Xcode 10 (#23188)"
2019-01-09 19:34:14 -08:00
Dan Field ff170ab5f3
mark tests as not flaky (#26334) 2019-01-09 18:55:42 -08:00
Stanislav Baranov e2c0349157
Add logic for creating rollback dynamic patches. (#26312)
Before this change, rolling back a patch relied on deleting the patch
file from the server completely. This PR implements a more reliable
approach where developer needs to create a physical rollback patch file.
This is more robust to mistakenly taking down a patch from user devices.
2019-01-09 16:43:03 -08:00
Marco Scannadinari c486bdb6f5 Add new curve animations to class documentation (#26290) 2019-01-09 14:55:05 -08:00
Tim Sneath c944d88788
Add link to Flutter brand guidelines (#26257) 2019-01-09 14:52:29 -08:00
Andrew Davies bd6ac326f6
[flutter_driver] Move Fuchsia logging code. (#26266)
When setting the Fuchsia logging function, it should happen before any
initialization code, as init can still cause warning/error/info messages
to get printed to logs. Since the default stderr/stdout fd's aren't
correct, this can cause a program to crash for unclear reasons.
2019-01-09 14:47:35 -08:00
Dan Field 75ebce1c0c
Update docs for editable_text (TextField) (#26269)
* update docs for editable_text (TextField)

* typo, clarify behavior when lines > 1
2019-01-09 14:44:42 -08:00
Dan Field bc28a220c9
Check for duplicative Flutter.framework emeddings when building for Xcode 10 (#23188)
* Check for bad configuration in Xcode10
2019-01-09 14:43:49 -08:00
matthew-carroll 517f8dc279
Add consumedScrollExtent to SliverConstraints as reported by Viewport (#24551) 2019-01-09 12:34:54 -08:00
kongshanshan33 305ab1a35b Fix project directory has spaces lead to compile error when use 'flutter create -t module'command (#23817) 2019-01-09 11:18:40 -08:00
Sean Freiburg 0468742910 Fix flutter root error message string interpolation (#24944)
The variable isn't interpolating because it's using "${}" when ruby uses "#{}".
2019-01-09 10:57:20 -08:00
jslavitz cea4aa9b7b
Teach drag start behaviors to DragGestureRecognizer (#26246)
* the onStart callback will report the location of the pointer where it wins the gesture arena by default instead of the pointer down location. Fixes all tests related to changing this default value.
2019-01-09 10:53:47 -08:00
jxltom 843f26207f Do not ignore pubspec.lock in project templates (#24209)
* Remove *.lock from gitignore

* Remove pubspec.lock from gitignore
2019-01-09 10:10:38 -08:00
Jonah Williams a2fa98ebaf
Add polling module discovery for Fuchsia (#24994) 2019-01-09 09:28:31 -08:00
Jonah Williams 32041c0c9c
Reland: Switch to dev_finder (#26250) 2019-01-09 09:27:56 -08:00
KyleWong 6f1d10b71a Fix recursive link resulted flutter doctor stucking. See : #25885 and #25870 (#26017) 2019-01-09 09:04:45 -08:00
Danny Tuppeny 14fb64353c
Add source line to snippet metadata file (#26274)
* Add source line to snippet metadata

* Parse sourceLine as an int
2019-01-09 15:09:42 +00:00
Dan Field 6d6f5f6512
Add compileOptions to android_host_app (#26271) 2019-01-08 22:04:28 -08:00
Dan Field 1407091bfb
Fix red tree (Android module) (#26270) 2019-01-08 20:40:19 -08:00
KyleWong 87d6e93c46 Improve the intergrity checking for "gradle wrapper". (#26069) 2019-01-08 18:34:58 -08:00
Ben Konyi 6412f35c5e
Manual engine roll with fixes: (#26252)
7112b72cc2...e5ec3cf3ea

git log
7112b72cc229e05d36716c3d7739885d3ffa72e6..e5ec3cf3ea5ce78c6c3116271601f60d30a799d4
--no-merges --oneline
e5ec3cf3e Dart SDK roll for 2019-01-08
08c95d27a Roll src/third_party/skia 55ff5d3ba881..1337f5b85978 (10
commits) (flutter/engine#7407)
e385f5cbb Roll src/third_party/skia 26d173fee72b..55ff5d3ba881 (12
commits) (flutter/engine#7406)
0f8273b0c Dart SDK roll for 2019-01-07
4036b260a Reset ParagraphBuilder after build() (flutter/engine#7401)
4820cbec4 Dart SDK roll for 2019-01-07
8eccb860d Add onStart hook to FlutterFragmentActivity
(flutter/engine#6719)
f2ea838b3 Roll src/third_party/skia b2fdcbf3033f..26d173fee72b (10
commits) (flutter/engine#7400)
5ca8aadaa Announce in/out of list (flutter/engine#6918)
4487d392d Replace Java code with equivalent, more concise code.
(flutter/engine#7398)
395b7852d Roll src/third_party/skia 46ee3f7a8ff5..b2fdcbf3033f (11
commits) (flutter/engine#7394)
5965f9084 Make `ParagraphConstraints` have const constructor
(flutter/engine#7346)
e02dd416a Roll src/third_party/skia a47eb455360f..46ee3f7a8ff5 (2
commits) (flutter/engine#7390)
f0038b3cc Roll src/third_party/skia 3ac3a4053f86..a47eb455360f (2
commits) (flutter/engine#7389)
2019-01-08 17:59:16 -08:00
Ben Konyi 094edf61db
Fixed typo (#26260) 2019-01-08 16:40:42 -08:00
Michael Goderbauer 51732aee3b
Remove long-deprecated TwoLevelList (#26238) 2019-01-08 14:56:31 -08:00
Hans Muller c8f72ac596
Force DatePicker value to stay within firstDate and lastDate upon year change (#26239)
* Force DatePicker value to stay within firstDate and lastDate upon year change

* updated per review feedback
2019-01-08 14:17:46 -08:00
Jonah Williams 985ccb6d14
Revert "Replace netls and netaddr with dev_finder" (#26249)
* Revert "Replace netls and netaddr with dev_finder (#26090)"

This reverts commit eee154affb.
2019-01-08 13:45:55 -08:00
Devon Carew 322afbb160
rev the min dart sdk dep in the templates to 2.1.0 (#26235) 2019-01-08 16:20:52 -05:00