Christopher Fujino
df542b6831
update packages and update template ( #61678 )
2020-07-16 18:32:46 -07:00
Ming Lyu (CareF)
8badf93609
Revert "update packages ( #61647 )" ( #61674 )
...
This reverts commit b7b60a2d2c
.
2020-07-16 20:13:18 -04:00
Ming Lyu (CareF)
b7b60a2d2c
update packages ( #61647 )
2020-07-16 18:55:42 -04:00
Ben Konyi
38fe887342
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61633 )" ( #61641 )
...
This reverts commit 594c3541aa
.
2020-07-16 11:43:54 -07:00
Ben Konyi
594c3541aa
Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61633 )
...
This reverts commit a1a5a8f635
.
2020-07-16 11:38:17 -07:00
Alexandre Ardhuin
f32a73711a
use nnbd deps ( #61177 )
2020-07-09 23:01:22 +02:00
Dan Field
33aa457604
Roll packages ( #61034 )
...
Roll packages, update XML deprecations.
2020-07-07 16:40:33 -07:00
Jonah Williams
37db92beeb
[versions] update all versions and fix tool tests ( #60127 )
...
Update all versions, specifically file which fixes some bugs that caused tests to fail if run in different orders:
- systemTemp directories created by MemoryFileSystem will allot names based on the file system instance instead of globally.
- MemoryFile.readAsLines()/readAsLinesSync() no longer treat a final newline in the file as the start of a new, empty line.
- RecordingFile.readAsLine()/readAsLinesSync() now always record a final newline.
2020-06-23 15:48:37 -07:00
Jonah Williams
fbdc79e448
[versions] update all versions ( #59832 )
...
Fixes #59718
Update all versions, specifically dwds which has a hot restart fix
2020-06-19 14:48:57 -07:00
Justin McCandless
77859c682e
Characters package ( #59267 )
2020-06-15 09:50:02 -07:00
Alexandre Ardhuin
65ef1f94bb
test flutter framework with null-safety ( #59280 )
2020-06-11 16:40:02 -07:00
Jenn Magder
023532d991
Revert "Build iOS apps using Swift Packages ( #59009 )" ( #59025 )
...
This reverts commit 43e28084fc
.
2020-06-08 15:45:10 -07:00
Jenn Magder
43e28084fc
Build iOS apps using Swift Packages ( #59009 )
2020-06-08 13:53:01 -07:00
Jenn Magder
2ece1c3a17
Revert "Build iOS apps using Swift Packages ( #58522 )" ( #58549 )
...
This reverts commit 2054f37aaf
.
2020-06-02 19:00:12 -07:00
Jenn Magder
2054f37aaf
Build iOS apps using Swift Packages ( #58522 )
2020-06-02 17:57:11 -07:00
Tianguang
03c74eb42e
Run flutter update-packages --force-upgrade
. ( #58104 )
...
* Run `flutter update-packages --force-upgrade`.
* Update test to 1.14.5.
2020-05-30 00:13:33 +02:00
Jacob MacDonald
6399be62d2
remove flutter_test quiver dep, use fake_async and clock instead ( #54125 )
...
## Description
Removes the `flutter_test` dependency on `quiver`, instead using the more targeted `clock` and `fake_async` packages.
## Related Issues
https://github.com/flutter/flutter/issues/53908
## Tests
No changes to tests
## Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes (`[x]`). This will ensure a smooth and quick review process.
- [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
- [x] I signed the [CLA].
- [x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
- [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.
- [x] The analyzer (`flutter analyze --flutter-repo`) does not report any problems on my PR.
- [x] I am willing to follow-up on review comments in a timely manner.
## Breaking Change
Did any tests fail when you ran them? Please read [Handling breaking changes].
- [ ] No, no existing tests failed, so this is *not* a breaking change.
- [x] Yes, this is a breaking change. *If not, delete the remainder of this section.*
- [x] I wrote a design doc: https://docs.google.com/document/d/1EkkLbECNBwHgddBQAZqEy7iQLTIxR1rgChKzxcLwhio/edit
- [x] I got input from the developer relations team, specifically from: @RedBrogdon
- [x] I wrote a migration guide: https://github.com/flutter/website/pull/3932
<!-- Links -->
[issue database]: https://github.com/flutter/flutter/issues
[Contributor Guide]: https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Test Coverage]: https://github.com/flutter/flutter/wiki/Test-coverage-for-package%3Aflutter
[Flutter Style Guide]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[Features we expect every widget to implement]: https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#features-we-expect-every-widget-to-implement
[CLA]: https://cla.developers.google.com/
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[Handling breaking changes]: https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
2020-04-15 12:10:26 -07:00
tauu
846e8fe812
force upgraded package dependencies ( #54787 )
...
Co-authored-by: Georg Wechslberger <wechslbe@ma.tum.de>
2020-04-14 18:21:14 -07:00
Jenn Magder
a6b39a230f
Migrate Runner project base configuration ( #54691 )
2020-04-14 13:01:54 -07:00
Emmanuel Garcia
54dba4cd59
Don't import plugins that don't support android in settings.gradle ( #54407 )
2020-04-12 08:55:03 -07:00
Jacob MacDonald
efdce3cf72
drop image package dependency for goldens ( #54144 )
2020-04-09 11:21:23 -07:00
Michael Thomsen
98e7791ec9
Roll pinned xml and petitparser versions ( #54181 )
2020-04-07 12:16:03 -07:00
Jonah Williams
8cb1d269f6
[versions] update EVERYTHING ( #53467 )
2020-03-30 14:09:38 -07:00
Ben Konyi
3edd3eb4a2
Updated package:test, package:test_core, package:coverage, package:package_config ( #51946 )
...
This is required to roll forward package:vm_service to 3.0.0 and is
blocking a DevTools release.
2020-03-04 11:40:52 -08:00
Jenn Magder
e491544588
Move embedding and linking Flutter frameworks into the tool ( #51453 )
...
* Move embedding and linking Flutter frameworks into the tool
* Unused import
* Migrate
* Rename run, add comments, remove typedef
* Add status log to tell the user what we did
* Remove Podfile migration, create IOSMigration superclass
* word-smiting
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
* for space
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
Co-authored-by: Jonah Williams <jonahwilliams@google.com>
2020-03-03 12:11:28 -08:00
Jonah Williams
9b4cb4da72
[versions] reland update test to 1.12.0 ( #50879 )
2020-02-18 10:38:54 -08:00
Jonah Williams
e481fcae52
Revert "[version] update to package:test 1.12.0 ( #50818 )" ( #50853 )
...
This reverts commit d3387bc916
.
2020-02-14 22:34:30 -08:00
Jonah Williams
d3387bc916
[version] update to package:test 1.12.0 ( #50818 )
2020-02-14 21:51:47 -08:00
Dan Field
3d812c1b96
Reduce gradle deps ( #50691 )
...
* drop unnecessary test deps
* bump to junit 4.13
2020-02-12 21:14:54 -08:00
Alexandre Ardhuin
4f9b6cf017
enable lint prefer_final_in_for_each ( #47724 )
2020-01-07 16:32:04 +01:00
Alexandre Ardhuin
ec0842e0d3
implicit-casts:false in examples ( #45805 )
2019-12-05 21:33:07 +01:00
Ian Hickson
449f4a6673
License update ( #45373 )
...
* Update project.pbxproj files to say Flutter rather than Chromium
Also, the templates now have an empty organization so that we don't cause people to give their apps a Flutter copyright.
* Update the copyright notice checker to require a standard notice on all files
* Update copyrights on Dart files. (This was a mechanical commit.)
* Fix weird license headers on Dart files that deviate from our conventions; relicense Shrine.
Some were already marked "The Flutter Authors", not clear why. Their
dates have been normalized. Some were missing the blank line after the
license. Some were randomly different in trivial ways for no apparent
reason (e.g. missing the trailing period).
* Clean up the copyrights in non-Dart files. (Manual edits.)
Also, make sure templates don't have copyrights.
* Fix some more ORGANIZATIONNAMEs
2019-11-27 15:04:02 -08:00
Greg Spencer
a60bf8e23a
Spell check of Flutter docs ( #45200 )
...
No code changes, just comments: I spell-checked all the comments in the repo.
2019-11-22 08:43:55 -08:00
Jonah Williams
e77c24ef91
Update package test ( #44882 )
2019-11-14 09:31:36 -08:00
Matt Carroll
fa82b9aeac
Updated flutter/examples to further conform to new embedding: removed references to FlutterApplication, deleted all MainActivity's that were not necessary, removed all direct invocations of GeneratedPluginRegistrant. ( #22529 ) ( #44782 )
2019-11-14 04:08:28 +00:00
Jonah Williams
a901b650b6
Update meta to 1.1.8 ( #44584 )
2019-11-12 13:48:42 -08:00
Emmanuel Garcia
0ccde797b0
Reland: Migrate examples to Android embedding v2 ( #44139 )
2019-11-04 17:25:25 -08:00
Emmanuel Garcia
694b2d89e0
Revert: Migrate examples to Android embedding v2 ( #43997 )
...
This reverts commit 99cd440384
.
2019-11-01 11:13:39 -07:00
Emmanuel Garcia
99cd440384
Revert "Revert "Reland: Migrate examples new embedding ( #43868 )" ( #43885 )" ( #43939 )
2019-10-31 16:17:31 -07:00
Dan Field
8e0799a657
Revert "Reland: Migrate examples new embedding ( #43868 )" ( #43885 )
...
This reverts commit 46edc80237
.
2019-10-30 23:33:38 -07:00
Emmanuel Garcia
46edc80237
Reland: Migrate examples new embedding ( #43868 )
2019-10-30 19:00:24 -07:00
Emmanuel Garcia
ea4da39fab
Revert: Migrate examples to the new embedding ( #43689 )
2019-10-28 19:11:09 -07:00
Emmanuel Garcia
20e015ffe6
Reland: Migrate examples new embedding ( #43643 )
...
* Fix device lab tests
* Migrate examples to the Android embedding v2 (#43221 )
2019-10-28 15:43:37 -07:00
Emmanuel Garcia
5bc7fb6835
Revert "Migrate examples to the Android embedding v2 ( #43221 )" ( #43611 )
...
This reverts commit b49ffa81c1
.
2019-10-27 21:25:13 -07:00
Emmanuel Garcia
b49ffa81c1
Migrate examples to the Android embedding v2 ( #43221 )
2019-10-25 22:03:49 -07:00
Jenn Magder
649cf82018
use_modular_headers ( #42204 )
2019-10-15 12:36:50 -07:00
Emmanuel Garcia
61c6c29233
Migrate examples and tests to AndroidX ( #41251 )
2019-09-25 09:02:15 -07:00
Alexandre Ardhuin
c3ddfb924f
add missing trailing commas (in examples/) ( #40701 )
2019-09-18 20:48:07 +02:00
Alexandre Ardhuin
df4bf453ab
more UI-as-code ( #35516 )
2019-09-17 16:23:44 +02:00
Emmanuel Garcia
4d404da6df
Update Kotlin and Gradle version ( #40181 )
2019-09-13 19:37:07 -07:00
Emmanuel Garcia
2c857b9370
Enable R8 ( #40453 )
2019-09-13 19:06:40 -07:00
Jonah Williams
91af071570
ensure dart2js does not compile unsupported packages ( #40368 )
2019-09-12 15:25:21 -07:00
Chris Bracken
ffa3785411
Update package versions to latest ( #39013 )
...
This fixes a breakage in fuchsia where package_config version 1.1.0 is
required but flutter_tools is currently locked to 1.05.
2019-08-21 19:15:33 -07:00
Jenn Magder
4d81b0c970
Remove xcconfigs from template Copy Bundle Resources build phases ( #38724 )
2019-08-19 16:23:45 -07:00
Kate Lovett
6ff212b328
Comparing pixels instead of bytes with GoldenFileComparator ( #38473 )
2019-08-19 09:06:22 -07:00
Emmanuel Garcia
83a8a575ee
Update dependencies ( #37971 )
2019-08-10 12:38:20 -07:00
Jonah Williams
a785db78fb
Reland "Integrate dwds into flutter tool for web support ( #34252 )" ( #37649 )" ( #37650 )
2019-08-05 16:51:57 -07:00
Jonah Williams
433436e1ee
Revert "Integrate dwds into flutter tool for web support ( #34252 )" ( #37649 )
2019-08-05 15:58:04 -07:00
Jonah Williams
4ccd81199f
Integrate dwds into flutter tool for web support ( #34252 )
2019-08-05 12:41:58 -07:00
gaaclarke
9b150f134b
Sped up shader warmup by only drawing on a 100x100 surface ( #36482 )
...
Sped up shader warmup by only drawing on a 100x100 surface and doing
the draw calls on top of each other.
2019-07-26 10:05:40 -07:00
Todd Volkert
1170105eae
flutter update-packages --force-upgrade ( #36510 )
2019-07-18 22:21:58 -07:00
Jenn Magder
a429991a15
Remove CoocaPods support from layers example app ( #35780 )
2019-07-09 10:38:40 -07:00
Jonah Williams
93edc014ae
update packages ( #35573 )
2019-07-04 11:26:19 -07:00
Dan Field
3eb40925e5
Always test semantics ( #35110 )
...
Default `semanticsEnabled` to true for `testWidgets` and fix associated bugs
2019-06-28 12:40:23 -07:00
Todd Volkert
04e2f22650
Force-upgrade package deps ( #35206 )
2019-06-27 14:02:23 -07:00
Jenn Magder
1b176c5df1
Update Xcode projects to recommended Xcode 10 project settings ( #34738 )
2019-06-20 08:48:19 -07:00
Jenn Magder
c40d701e96
Change Xcode project developmentRegion to 'en' and plist CFBundleDevelopmentRegion to DEVELOPMENT_LANGUAGE ( #34293 )
2019-06-12 11:31:17 -07:00
Jason Simmons
311cde98a6
Reland "Clean up some flutter_tools tests and roll dependencies" ( #33225 )
...
This relands flutter/flutter#33163 with a fix to the integration_ui test.
2019-05-29 19:04:35 -07:00
Jonah Williams
925f5f1c53
Revert "Wire up hot restart and incremental rebuilds for web ( #33197 )" ( #33529 )
...
This reverts commit 52ae99682e
.
2019-05-29 12:09:01 -07:00
Jonah Williams
52ae99682e
Wire up hot restart and incremental rebuilds for web ( #33197 )
2019-05-29 09:49:16 -07:00
Chris Bracken
156b4220b4
Americanise spellings ( #33323 )
...
Updates documentation and non-public API to use American spellings for
consistency with the rest of the codebase.
No changes to behaviour... other than how it's spelt.
2019-05-24 19:13:02 -07:00
Jonah Williams
a30ffb60ad
Revert "Clean up some flutter_tools tests and roll dependencies ( #33163 )" ( #33206 )
2019-05-22 12:20:02 -07:00
Ian Hickson
e5f81e1048
Clean up some flutter_tools tests and roll dependencies ( #33163 )
...
* Clean up some flutter_tools tests
* Remove arbitrary retry that happens even for fundamental errors, and generally clean up _DevFSHttpWriter.
* Update dependencies (requires fixes; see next commit)
* Fixes for new dependencies.
2019-05-22 09:31:37 -07:00
Michael Goderbauer
1621baafc7
Introduce separate HitTestResults for Box and Sliver ( #31894 )
2019-05-09 10:00:01 +02:00
Dan Field
fe9512fa72
Re-enable const ( #31600 )
...
* Re-enable const
2019-04-29 16:02:42 -07:00
Shi-Hao Hong
cbfa4e5483
Improve canvas example in sample dart ui app ( #31634 )
2019-04-26 20:25:02 -07:00
Dan Field
1db5d66932
Capture JSON RPC errors that presently get swallowed ( #31584 )
...
* Update packages
* Capture JSON RPC errors that presently get swallowed
2019-04-25 08:27:00 -07:00
Tim Sneath
529189791c
Replace flutter.io with flutter.dev ( #30562 )
2019-04-05 11:39:30 -07:00
Jonah Williams
1bfa2f2311
Intercept errors thrown by synchronous Completers in image resolution. ( #30139 )
2019-03-29 10:05:18 -07:00
Jonah Williams
3c93b65a9b
Update to latest matcher ( #30019 )
2019-03-27 17:21:10 -07:00
Alexandre Ardhuin
bfa1d25bf9
some formatting of map, parameters and spaces ( #29760 )
2019-03-23 00:02:21 +01:00
Alexandre Ardhuin
a6af422874
some spaces formatting ( #29452 )
...
* some space formattings
* always use blocks in if-else if a block is used
* format spaces in for and while
* allow multiline if conditions
* fix missing space
2019-03-20 23:23:31 +01:00
Alexandre Ardhuin
4c1f4d14e1
fix some formatting issues ( #28809 )
...
* fix some formatting issues
* address review comments
* fix indent
2019-03-06 09:37:32 +01:00
Alexandre Ardhuin
387f885481
Add missing trailing commas ( #28673 )
...
* add trailing commas on list/map/parameters
* add trailing commas on Invocation with nb of arg>1
* add commas for widget containing widgets
* add trailing commas if instantiation contains trailing comma
* revert bad change
2019-03-01 08:17:55 +01:00
liyuqian
c63dcf3bcd
Make shader warm-up async so it can handle image ( #28687 )
...
## Description
This moves another 15-20ms from the animation jank of one of our important client to the startup latency. Unfortunately, this is probably not captured in our current benchmarks (presumably some other bottlenecks overshadow this shader compilation in the worst_frame benchmark). Considering that drawing images is such a common operation, maybe we should add one in the future to benchmark this.
We need this PR to land soon for our client because this changes the API to return Future.
## Related Issues
https://github.com/flutter/flutter/issues/813
2019-02-28 20:07:55 -08:00
Jonah Williams
ec93468a14
Add capability to run build_runner tests for engine ( #28684 )
2019-02-28 20:06:14 -08:00
liyuqian
19a6a6f431
Reland "Shader warm up ( #27660 )" ( #28537 )
...
This reverts commit adc8e159a5
.
This should be safe to land once https://github.com/flutter/flutter/pull/28530 gets merged
Merge on yellow doc test because the doc test is actually green.
2019-02-27 09:33:08 -08:00
liyuqian
adc8e159a5
Revert "Shader warm up ( #27660 )" ( #28376 )
...
This reverts commit a44f174efc
.
Reason: start_up tests become flaky.
See https://github.com/flutter/flutter/issues/28374
TBR: xster
Merge on red to fix the tree
2019-02-22 17:32:37 -08:00
liyuqian
a44f174efc
Shader warm up ( #27660 )
...
This patch adds a default shader warm up process which moves shader compilation from the animation time to the startup time. This also provides an extension for `runApp` so developers can customize the warm up process.
This should reduce our worst_frame_rasterizer_time_millis from ~100ms to ~20-30ms for both flutter_gallery and complex_layout benchmarks. Besides, this should also have a significant improvement on 90th and 99th percentile time (50%-100% speedup in some cases, but I haven't tested them thoroughly; I'll let our device lab collect the data afterwards).
The tradeoff the is the startup time (time to first frame). Our `flutter run --profile --trace-startup` seems to be a little noisy and I see about 100ms-200ms increase in that measurement for complex_layout and flutter_gallery. Note that this only happens on the first run after install or data wipe. Later the Skia persistent cache will remove the overhead.
This also adds a cubic_bezier benchmark to test the custom shader warm up process.
This should fix https://github.com/flutter/flutter/issues/813 (either by `defaultShaderWarmUp`, or a `customShaderWarmUp`).
2019-02-22 15:37:02 -08:00
Stanislav Baranov
3837ec9e96
Reland #27754 , now that bsdiff has moved to flutter/packages. ( #28291 )
2019-02-21 21:59:41 -08:00
Jonah Williams
ca92efecae
Add module checking ( #27122 )
2019-01-29 12:26:48 -08:00
Dan Field
496c57386b
Update packages ( #27046 )
...
* Update packages
* Change test for isFile
2019-01-24 16:02:45 -08:00
Jason Simmons
7bfbc28505
Revert "Upgrade the Gradle script to Android plugin version 3.3.0 ( #26913 )" ( #27045 )
...
This reverts commit 30f33d6c7d
.
2019-01-24 14:29:08 -08:00
Jason Simmons
30f33d6c7d
Upgrade the Gradle script to Android plugin version 3.3.0 ( #26913 )
...
Fixes https://github.com/flutter/flutter/issues/26544
2019-01-24 12:21:11 -08:00
Chris Bracken
65a70bc7d3
Re-enable use of ParagraphConstrains const ctor ( #26990 )
...
All embedders of Flutter within Google have all been updated to an
engine version that includes the const constructor added in
flutter/engine#7346 and rolled into the framework in
flutter/flutter#26252 .
This reverts commit 88b77a7d0f
.
This fixes https://github.com/flutter/flutter/issues/26390 .
2019-01-23 16:32:23 -08:00
Jonah Williams
f777db2b78
add uiMode to android:configChanges ( #26896 )
2019-01-22 10:37:22 -08:00
Dan Field
386f3466b5
Roll engine to 05fee4eeee0ff6b219b1fcc394371e5f6963cc46 ( #26713 )
...
* move flutter_assets to App.framework
* Roll engine to 05fee4eeee0ff6b219b1fcc394371e5f6963cc46
05fee4eee Update default flutter_assets path for iOS embedding (flutter/engine#7518 )
02205db01 Roll src/third_party/skia 5d052dac3ac1..02738a86e5fd (4 commits) (flutter/engine#7541 )
af907c074 Roll src/third_party/skia 5c7a3ac0e214..5d052dac3ac1 (7 commits) (flutter/engine#7540 )
dde286673 IWYU to get SkFontMetrics (flutter/engine#7539 )
2019-01-21 21:23:04 -08:00
Dan Field
d8d36bc7e8
targetSdkVersion 28 ( #26798 )
2019-01-19 11:59:42 -08:00
Dan Field
f02f4fbed3
Rev Android Platform to 28 for bots ( #26790 )
...
* Rev Android Platform to 28 for bots
* push all to 28
* include platform tools update
2019-01-18 20:39:10 -08:00
Dan Field
4c99958df6
Revert "Move flutter_assets to App.framework ( #26630 )" ( #26675 )
...
This reverts commit d8db70af1a
.
2019-01-16 16:46:37 -08:00