Darren Austin
2ab2ca2bc6
Migrate FloatingActionButton to Material 3 ( #94486 )
2022-01-12 19:15:15 -08:00
Jenn Magder
3e6e996f9e
Run update-packages --force-upgrade ( #96325 )
2022-01-10 13:55:16 -08:00
Darren Austin
78f53bed51
Script to generate widget theme data defaults from the Material token database. ( #95370 )
2022-01-06 11:15:20 -08:00
Rami
1a3dc1b32a
Update color scheme seed generation to use color utils package ( #95175 )
...
* Update color scheme seed generation to use color utils package
2021-12-14 13:53:36 -08:00
Pierre-Louis
b23f207e2c
Improve update_icons.dart
script ( #93863 )
...
* Update update_icons.dart
* formatting
* more formatting
* simplify safety checks
* add safety checks tests
* formatting
* update copyright
* naming
* revert copyright
* add `fontFamily` option
* tweak diff messages
* Update update_icons.dart
* don't exit if platform adaptive icon not found
* remove trailing spaces
* remove warning and fix insert_chart (outlined) dartdoc
* x
* add error message when exiting due to failed safety checkes
* fix icon reference
* fix rewrite for onetwothree
2021-12-08 16:31:48 +01:00
Anna Gringauze
d7466d8963
Update dwds and other packages ( #94634 )
2021-12-07 14:29:07 -08:00
Michael Thomsen
bb906b6b4f
Roll packages to pick up new platform package ( #94603 )
2021-12-06 10:34:56 +01:00
Tong Mu
32d78ab40c
[Windows, Keyboard] Fix logical key for PrintScreen ( #94454 )
2021-12-01 14:24:04 -08:00
Darren Austin
418cd95661
Added material_color_utilities as a dependency for flutter package. ( #94377 )
2021-12-01 14:19:04 -08:00
Nate Bosch
6d1a840bc5
Roll packages, remove unnecessary overrides ( #94172 )
2021-11-24 14:43:05 -08:00
Jacob MacDonald
a4fa2affe9
Update packages ( #92924 )
2021-11-05 12:03:03 -07:00
Greg Spencer
5883a6628d
Differentiate between TalkBack versions for semantics tests. ( #92602 )
...
Makes the android_semantics_testing test not fail for newer versions of Talkback.
Also, since the test now depends on pub_semver, upgraded the pubspec files.
The only substantive changes in the PR are in dev/integration_tests/android_semantics_testing/test_driver/main_test.dart
2021-10-29 16:38:09 -07:00
Emmanuel Garcia
4d79bb02c4
Bump Kotlin version in templates and projects ( #92052 )
2021-10-25 13:13:03 -07:00
Christopher Fujino
83b28c1075
[flutter_conductor] remove old conductor entrypoint ( #92219 )
2021-10-20 15:28:02 -07:00
Danny Tuppeny
f8f96a4f80
Run "flutter update-packages --force-upgrade" to get latest DDS ( #91736 )
2021-10-13 10:58:04 -07:00
Ian Hickson
bb5cbdc635
Enable depend_on_referenced_packages
lint ( #91653 )
2021-10-12 11:28:02 -07:00
Ian Hickson
f90b019c68
Enable prefer_relative_imports
and fix files. ( #91573 )
2021-10-11 10:28:07 -07:00
Ian Hickson
61a0add286
Enable avoid_redundant_argument_values lint ( #91409 ) ( #91462 )
2021-10-08 09:25:14 -07:00
Zachary Anderson
b9d2177da0
Revert "Enable avoid_redundant_argument_values lint ( #91409 )" ( #91461 )
...
This reverts commit 5fd259be24
.
2021-10-07 21:11:07 -07:00
Ian Hickson
5fd259be24
Enable avoid_redundant_argument_values lint ( #91409 )
2021-10-07 20:13:02 -07:00
SaintMalik
116f8af18e
fix: typo spelling grammar ( #89344 )
2021-10-07 17:53:02 -07:00
Ian Hickson
126cd7388e
Clean up dependency pins and update all packages ( #91109 )
2021-10-04 10:28:03 -07:00
Christopher Fujino
afd84ad425
flutter update-packages ( #90994 )
2021-09-30 11:38:02 -07:00
Greg Spencer
ab2b0851a2
Add smoke tests for all the examples, fix 17 broken examples. ( #89021 )
...
This adds a smoke test for every single API example. It also fixes 17 tests that had bugs in them, or were otherwise broken, and even fixes one actual bug in the framework, and one limitation in the framework.
The bug in the framework is that NetworkImage's _loadAsync method had await response.drain<List<int>>();, but if the response is null, it will throw a cryptic exception saying that Null can't be assigned to List<int>. The fix was just to use await response.drain<void>(); instead.
The limitation is that RelativePositionedTransition takes an Animation<Rect> rect parameter, and if you want to use a RectTween with it, the value emitted there is Rect?, and one of the examples was just casting from Animation<Rect> to Animation<Rect?>, which is invalid, so I modified RelativePositionedTransition to take a Rect? and just use Rect.zero if the rect is null.
2021-09-28 09:32:06 -07:00
Kate Lovett
65d8dd988d
Update md5 method in flutter_goldens_client ( #90154 )
2021-09-15 17:42:05 -07:00
Sam Rawlins
8889ffaec3
Remove and also ignore unnecessary imports ( #89796 )
2021-09-14 15:32:02 -07:00
Anna Gringauze
cd112e551c
Update all packages ( #89797 )
2021-09-13 12:13:42 -07:00
Kate Lovett
4ec75580fb
Revert clamping scroll simulation changes ( #89885 )
2021-09-10 16:02:02 -07:00
Anis Alibegić
a753d09cc9
Fixed several typos ( #89485 )
2021-09-07 14:56:04 -07:00
Jacob MacDonald
383930c2bc
update package dependencies ( #89381 )
2021-09-02 14:41:05 -07:00
Christopher Fujino
efaa9a4637
update-packages --force-upgrade ( #88728 )
2021-08-23 12:57:08 -07:00
Christopher Fujino
81eb54bf78
update-packages ( #88387 )
2021-08-17 18:49:32 -07:00
Gary Qian
a562b3cb3d
Deferred components integration test app ( #88030 )
2021-08-16 15:32:05 -07:00
Pierre-Louis
85ffa8ce18
[Fonts] Improved icons update script ( #88153 )
...
* Improved update_icons.dart
* Handle _
* Update dartdoc
* Rename function
* formatting
* fix type
* Refactor ID generation
* rename
* cleanup
* update comment
* replace typedef with type
2021-08-15 12:56:58 +02:00
Greg Spencer
10e4b04010
Switch document generation to use the snippets package ( #87231 )
...
Switch document generation to use the snippets package instead of the snippets code in the Flutter repo. In the process, some bugs in sample code analysis have been fixed, and I've fixed some more errors in the samples.
This will allow the snippets package to be developed separately from the Flutter repo, and reduce the code in the Flutter repo.
The snippets code is deleted in this PR.
I also converted some comments in the snippet templates to be regular comments instead of doc comments, because having a doc comment block before the imports causes the Dart import sorter to lose the comment. They should have been regular comments in the first place.
The snippets package resides in the assets-for-api-docs repo.
The sample analysis has also been converted to be run in parallel, and I've bumped the Dartdoc version to 1.0.2.
2021-08-11 19:48:29 -07:00
Anna Gringauze
cc63c81408
Update all packages ( #87579 )
...
- Update dwds and and the rest of the packages
Closes: https://github.com/flutter/flutter/issues/87100
2021-08-03 16:37:48 -07:00
Tong Mu
a7899c1961
[gen_keycodes] Remove nonexistent Web keys and improve their emulation ( #87098 )
2021-07-29 16:44:06 -07:00
Tong Mu
caf876cf40
Reland: Keyboard events ( #87174 )
2021-07-29 14:24:03 -07:00
Tong Mu
2f4f170dd2
Revert "Keyboard events ( #83752 )" ( #87171 )
...
This reverts commit 5f792ba170
.
2021-07-28 02:32:08 -07:00
Tong Mu
c6a24e3fb2
[gen_keycodes] Move GLFW keys to logical_key_data ( #87086 )
2021-07-27 14:49:05 -07:00
Tong Mu
5f792ba170
Keyboard events ( #83752 )
2021-07-26 12:28:05 -07:00
Jacob MacDonald
fdb80f916d
update packages to the latest ( #86880 )
2021-07-22 13:26:05 -07:00
Anna Gringauze
84c3b56877
Update dwds (and other packages) ( #86832 )
...
* Upgrade all packages
In particular, bring in dwds with latest fixes for flakes.
Closes: https://github.com/flutter/flutter/issues/85043
Related: https://github.com/flutter/flutter/issues/85575
* Re-enable fixed tests
* Disable failing test due to DDS issue
2021-07-21 21:47:10 -07:00
Pierre-Louis
7d026b6b8b
Fix regression ( #86657 )
2021-07-20 14:58:12 +02:00
Greg Spencer
2cb685e157
Modify key info generation for new iOS key code. ( #83439 )
...
The (new, not yet used) code gen for iOS was setting up a std::map from key codes to logical and physical key codes, but it was using uint32_t, which isn't big enough to hold the Flutter key codes.
Also, iOS needs to be able to filter out function keys, so I added a function key set.
2021-07-20 04:24:43 -07:00
Christopher Fujino
2ba15a5aba
teach dartdoc.dart about LUCI_BRANCH env var ( #86592 )
2021-07-19 12:20:00 -07:00
Pierre-Louis
0d7e6798c9
[Fonts] Use exact matching for icon identifier rewrites ( #86464 )
...
* Fix sorting
* Update icons.dart
* [Fonts] Use instead matching instead of prefix
* Add new
2021-07-15 15:20:46 +02:00
Pierre-Louis
666185c027
[Fonts] Fix icons sorting ( #86434 )
...
* Fix sorting
* Update icons.dart
2021-07-14 23:25:16 +02:00
Eng Zer Jun
57a4b023f1
build: update dependencies ( #86433 )
2021-07-14 13:46:04 -07:00
Tong Mu
c8d0b1d9db
New scheme for keyboard logical key ID ( #85121 )
...
This PR updates the ID used by logical keyboard keys.
The logical key ID is still composed of 2 parts: 32 bits of value, and 8 bits of plane. But the assignment of planes has been drastically changed. HID plane is removed, and unprintable plane and Flutter plane are added. This is to reflect the new generation method for logical key IDs. Now keys that are defined by Flutter but not by dom_key_data are placed into the Flutter plane, including numpad keys, sided modifier keys, and gamepad keys. The values for platform planes have also been adjusted.
The generation script and README have been updated accordingly as well.
A new file, test_utils/key_codes.h is now generated to assist engine unit testing.
All lists generated by the script are now sorted by the key.
2021-07-14 13:07:22 -07:00
Yegor
78e06e716b
[web] move e2e tests from flutter/engine to flutter/flutter ( #86119 )
...
* [web] move e2e tests from flutter/engine to flutter/flutter
* flutter update-packages --force-upgrade
2021-07-09 15:31:49 -07:00
Christopher Fujino
5456cad343
Migrate gen_localizations to null-safety ( #86051 )
2021-07-08 15:06:04 -07:00
Ian Hickson
0b8174e0b0
Pin the customer_tests ( #83964 )
2021-07-02 19:16:04 -07:00
Ahmed Ashour
a3dc90c4f5
Add space before curly parentheses. ( #85306 )
2021-07-01 13:51:05 -07:00
Mouad Debbar
4013fe2131
[web] Remove the part directive from the web key map template ( #85637 )
2021-06-30 14:26:04 -07:00
Dan Field
e36e62e9a6
Revert "Revert "Audit hashCode overrides outside of packages/flutter ( #85370 )" ( #85451 )" ( #85567 )
...
This reverts commit 2be0d57fa2
.
2021-06-30 09:46:54 -07:00
Filip Hracek
76d5e62f42
Add a more complete app template for Flutter (skeleton) ( #83530 )
2021-06-28 15:26:04 -07:00
Ren You
2be0d57fa2
Revert "Audit hashCode overrides outside of packages/flutter ( #85370 )" ( #85451 )
...
This reverts commit 9846fa5145
.
2021-06-28 09:55:31 -07:00
Dan Field
9846fa5145
Audit hashCode overrides outside of packages/flutter ( #85370 )
2021-06-26 17:36:04 -07:00
Jonah Williams
03d14a30c8
[versions] remove mockito ( #85076 )
2021-06-22 17:41:03 -07:00
Phil Quitslund
875b420cc8
remove deprecated author
fields ( #84997 )
2021-06-22 06:06:03 -07:00
Tong Mu
32203c391f
Key codegen for Hardware Keyboard: Linux (GTK) #82962
2021-06-17 02:14:44 -07:00
Jonah Williams
cd13c91119
[versions] update dependencies ( #84639 )
2021-06-15 11:08:57 -07:00
Greg Spencer
88f3811055
Turn on avoid_dynamic_calls lint, except packages/flutter tests, make appropriate changes. ( #84476 )
...
This adds avoid_dynamic_calls to the list of lints, and fixes all instances where it was violated.
Importantly, this lint is NOT turned on for flutter/packages/test, because those changes are happening in another PR: #84478
2021-06-14 14:16:57 -07:00
Abhishek Ghaskata
4705e0cc19
migrate localization to null safety ( #84064 )
...
migrate localization to null safety
2021-06-14 11:23:09 -07:00
Abhishek Ghaskata
2da969aa9b
migrate update_icons to null safety ( #84063 )
2021-06-09 13:59:03 -07:00
Anis Alibegić
d90ee21271
Migrate dartdoc to null safety ( #84153 )
2021-06-07 17:09:03 -07:00
Michael Goderbauer
5a2530b28e
Remove unused protobuf dependency ( #84148 )
2021-06-07 15:34:06 -07:00
Abhishek Ghaskata
243805ee60
migrate mega_gallery to null safety ( #84061 )
2021-06-07 10:34:04 -07:00
Michael Goderbauer
2f88966935
Migrate vitool to null safety ( #84011 )
2021-06-04 13:58:21 -07:00
Dan Field
2d8d105256
Delete obsolete TODO ( #83967 )
2021-06-03 23:34:04 -07:00
Michael Goderbauer
14b2e7ffee
flutter update-packages --force-upgrade ( #83911 )
2021-06-03 10:50:11 -07:00
Tong Mu
e3da1bd7aa
Test WidgetTester handling test pointers ( #83337 )
...
Adds tests to the following behaviors, which have existed without tests:
- When tapping during live testing, a message is printed with widgets that contain the tap location.
- When tapping during live testing, a mark is displayed on screen on the tap location.
2021-06-02 11:50:09 -07:00
Anis Alibegić
c99ed373b3
Fixed large amount of spelling errors ( #83744 )
2021-06-02 10:14:06 -07:00
Emmanuel Garcia
0bccce6260
[gradle] Unlock all configurations if a local engine is used ( #83635 )
2021-06-01 13:19:03 -07:00
Alexandre Ardhuin
34059eec2c
enable lint prefer_interpolation_to_compose_strings ( #83407 )
2021-06-01 11:14:06 -07:00
Alexandre Ardhuin
0ef0f0ba5e
fix lint from an improved unnecessary_parenthesis ( #83433 )
2021-05-27 13:39:03 -07:00
Jonah Williams
025a3a7da3
[versions] roll package test redux ( #83367 )
2021-05-26 17:22:28 -07:00
Greg Spencer
6b087c74e2
Add iOS key map generation, make macOS var naming consistent with repo ( #83146 )
...
This adds iOS key map generation that uses std::maps. It uses std::maps because on iOS if we use NSDictionaries, then when XCode loads the dylib, the initialization of those status NSDictionaries hasn't yet occurred, and it crashes the app. std::maps have a well-defined static behavior, and are correctly initialized.
I also made the naming of variables, fields, etc. consistent for macOS. We variously had macosFoo, macOSFoo, and macOsFoo. I eliminated macOsFoo and macosFoo, since the rest of the repo uses macOSFoo for lowerCamelCase names (with only a few exceptions). I used iOSFoo for iOS.
2021-05-25 17:18:06 -07:00
Christopher Fujino
62d00c6d5f
Migrate flutter conductor out of dev/tools and into its own directory ( #83313 )
...
* Migrate flutter conductor out of dev/tools and into its own directory
* flesh out documentation
* fix analysis options
* fix integration test
2021-05-25 16:12:53 -07:00
Emmanuel Garcia
fa5883b78e
Add Gradle lockfiles and tool to generate them ( #83067 )
2021-05-21 13:04:03 -07:00
Christopher Fujino
2123c93aa7
fix candidates ( #82957 )
2021-05-20 17:34:05 -07:00
nt4f04uNd
80a2b6b015
Fix typos ( #82589 )
2021-05-20 17:19:09 -07:00
Christopher Fujino
660ec207e6
[flutter_conductor] Re-land auto-apply dart revision ( #82985 )
2021-05-20 16:58:11 -07:00
Ian Hickson
fa1c6a2841
Add a script that will find the appropriate commit in another repository. ( #82462 )
2021-05-20 16:09:04 -07:00
Christopher Fujino
843083c93a
Revert "[flutter_conductor] Auto apply dart revision ( #82601 )" ( #82983 )
...
This reverts commit e86f9c7a7c
.
2021-05-19 21:38:45 -07:00
Christopher Fujino
e86f9c7a7c
[flutter_conductor] Auto apply dart revision ( #82601 )
2021-05-19 21:23:26 -07:00
Hattomo (TomohiroHattori)
08a70e7ac8
Enable avoid_escaping_inner_quotes lint ( #81153 )
2021-05-19 09:54:02 -07:00
Jenn Magder
d7e49e559b
Run update packages, pick up file 6.1.1 ( #82770 )
2021-05-18 13:09:03 -07:00
Chris Bracken
3445cb86f2
Update dependency versions ( #82577 )
...
shelf 1.1.2 -> 1.1.4
flutter_template_images 1.0.2 -> 3.0.0
2021-05-14 16:51:36 -07:00
Kenzie Schmoll
766b4509c6
Add 'v' hotkey to open DevTools in the browser ( #82227 )
...
* Add 'v' hotkey to open DevTools in the browser
2021-05-13 09:54:10 -07:00
Jan Mewes
b1c1bdbfba
Fix typos ( #82319 )
2021-05-12 17:34:02 -07:00
Christopher Fujino
84b2f3cadb
delete skipped test ( #81843 )
2021-05-11 14:19:01 -07:00
Christopher Fujino
a5318173fe
apply cherrypicks ( #81936 )
2021-05-11 13:19:05 -07:00
Greg Spencer
af3337b676
Add Enter and Tab back in to ios and macos key maps ( #81865 )
...
I noticed that tab traversal stopped working on iOS when #73440 was landed.
It seems to be that the control characters were excluded from the list of logical keys, and so they ended up being generated values.
This PR just adds "Enter" and "Tab" to the list for both macOS and iOS.
2021-05-11 10:23:11 -07:00
Michael Goderbauer
2bf42e7047
clean-up analysis_options.yaml's across the repository ( #81986 )
2021-05-10 23:44:02 -07:00
Michael Goderbauer
b8a2456737
Enable library_private_types_in_public_api lint ( #81578 )
2021-05-10 16:26:16 -07:00
Tong Mu
0e251e0ae1
[key_codegen] Remove webValues ( #81678 )
...
Removes webValues from logical_key_data.json. Web's logical mapping should map webNames to logical key values, i.e. entry.value.
2021-05-10 03:16:25 -07:00
Sam Rawlins
208bf4bc92
Remove "unnecessary" imports in dev/ ( #81004 )
2021-05-07 08:59:02 -07:00
Christopher Fujino
7b3ce8c003
[flutter_conductor] Add candidates sub command ( #81234 )
2021-05-03 16:49:04 -07:00
Phil Quitslund
96e4b47f5d
sort directives ( #81624 )
2021-05-02 07:24:01 -07:00
Tong Mu
9956a35a5a
Hardware keyboard: codegen ( #73440 )
...
Rewrites tools/gen_keycodes, the script that generates key mappings across the framework and the engine.
2021-04-30 21:06:03 -07:00
Jonah Williams
2b0d09dd81
[versions] roll versions and add ffi dep ( #81403 )
2021-04-28 11:19:03 -07:00
Ian Hickson
6beafa7b16
Apply style guide regarding createTempSync pattern ( #81090 )
2021-04-27 14:59:03 -07:00
Christopher Fujino
3155972744
Skip roll-dev integration test until dev release is published ( #81253 )
2021-04-26 17:36:16 -07:00
Jonah Williams
7d6e581f61
[versions] roll in latest shelf ( #81099 )
2021-04-23 20:39:02 -07:00
Christopher Fujino
8654e4ae3e
begin migrating //flutter/dev/tools to null-safety ( #80834 )
2021-04-23 20:24:03 -07:00
Jenn Magder
0f899f2b64
Roll packages ( #80989 )
2021-04-22 15:01:49 -07:00
Jenn Magder
4f3ec01d32
Add frontend_server_client to dependency allowlist ( #80912 )
2021-04-21 18:13:43 -07:00
Phil Quitslund
61c30c41b2
fix sort_directives violations ( #80817 )
2021-04-21 13:49:03 -07:00
Christopher Fujino
4a7f280687
[flutter_conductor] Add "start", "status", "clean" commands to conductor release tool ( #80528 )
2021-04-19 15:04:04 -07:00
Dan Field
e7b7ebc066
Shake widget inspector from non-debug builds ( #80157 )
2021-04-14 21:54:03 -07:00
Christopher Fujino
a219b86db8
skip roll_dev_integration_test ( #80464 )
2021-04-14 14:16:08 -07:00
Dan Field
d7da6190ff
roll packages ( #80307 )
2021-04-13 18:19:02 -07:00
Tong Mu
8a821ff0b5
Revert "Remove "unnecessary" imports. ( #79610 )" ( #80070 )
...
This reverts commit 98a9618993
.
2021-04-08 11:36:30 -07:00
Sam Rawlins
98a9618993
Remove "unnecessary" imports. ( #79610 )
2021-04-07 22:34:03 -07:00
Tong Mu
dbcac7f177
Reland Make LogicalKeyboardKey.keyLabel a getter and better #79100 ( #79302 )
2021-04-01 16:39:02 -07:00
Jonah Williams
443d07b707
[versions] roll to latest test ( #79099 )
2021-03-31 07:45:40 -07:00
Tong Mu
a603714610
Revert "Make LogicalKeyboardKey.keyLabel a getter and better ( #79100 )" ( #79217 )
2021-03-28 03:54:02 -07:00
Tong Mu
b60c855af5
Make LogicalKeyboardKey.keyLabel a getter and better ( #79100 )
2021-03-26 22:14:01 -07:00
Jonah Williams
dfc134dd9a
[versions] roll many versions ( #79088 )
2021-03-25 15:43:44 -07:00
Pierre-Louis
c49cd2719d
[Fonts] Remove update_icons TODO ( #79027 )
2021-03-25 09:29:02 -07:00
Tong Mu
eb6e56761e
Revert "Remove keyLabel and debugName from Logical/PhysicalKeyboardKey ( #78263 )" ( #79005 )
...
This reverts commit 515ef91ba1
.
2021-03-24 13:31:02 -07:00
Tong Mu
515ef91ba1
Remove keyLabel and debugName from Logical/PhysicalKeyboardKey ( #78263 )
...
- Remove `LogicalKeyboardKey.keyLabel`
- Make `Physical/LogicalKeyboardKey.debugName` getters
- Make `Physical/LogicalKeyboardKey()` factory constructors, which cache non-predefined instances.
2021-03-24 04:59:57 -07:00
Jenn Magder
6b22834699
Update packages to pick up new process version ( #78910 )
2021-03-23 17:30:49 -07:00
Jonah Williams
28532edaa5
Update all versions and migrate devicelab framework to package:vm_service ( #78557 )
2021-03-18 12:38:12 -07:00
Ian Hickson
f3c25fa07a
Align more closely with package:test ( #77118 ) ( #78343 )
2021-03-16 13:58:02 -07:00
Pierre-Louis
961fdeebb8
[Fonts] Fix update_icons double newline bug ( #78317 )
2021-03-16 10:03:03 -07:00
Zachary Anderson
e7e1a04aa3
Revert "Align more closely with package:test ( #77118 )" ( #78329 )
...
This reverts commit 0cbe597540
.
2021-03-16 09:26:34 -07:00
Ian Hickson
0cbe597540
Align more closely with package:test ( #77118 )
2021-03-15 16:28:02 -07:00
Gary Roumanis
3f62915383
Update ClampingScrollSimulation to better match Android ( #77497 )
2021-03-12 16:23:05 -08:00
Jonah Williams
2edf6b7320
Remove mockito deps from dev/ ( #77749 )
2021-03-10 17:50:44 -08:00
Pierre-Louis
948ff0f2b0
[Fonts] Sort material icons ( #76691 )
...
* Update update_icons.dart
* Merge and simplify identifier rewrites
* Update update_icons.dart
* Update update_icons.dart
* Update update_icons.dart
* Add newline
* remove whitespace
* Copy instead of moving
* Fix typo
* Clean up code
Introduce fullFlutterId and fix a small dartdoc bug
* Update update_icons.dart
* Implement sorting
* Remove trailing spaces
* Revert "Remove trailing spaces"
This reverts commit c198a16067
.
* Revert "Implement sorting"
This reverts commit 0fac8c1f1c
.
* Revert "Revert "Implement sorting""
This reverts commit 0f8ec2381a
.
* Revert "Revert "Remove trailing spaces""
This reverts commit c3ef865879
.
* xx
* add braces
2021-03-09 16:14:18 +01:00
Pierre-Louis
698d438960
[Fonts] Improve update_icons script ( #76532 )
...
* Update update_icons.dart
* Merge and simplify identifier rewrites
* Update update_icons.dart
* Update update_icons.dart
* Update update_icons.dart
* Add newline
* remove whitespace
* Copy instead of moving
* Fix typo
* Clean up code
Introduce fullFlutterId and fix a small dartdoc bug
* Update update_icons.dart
* Implement sorting
* Remove trailing spaces
* Revert "Remove trailing spaces"
This reverts commit c198a16067
.
* Revert "Implement sorting"
This reverts commit 0fac8c1f1c
.
* Remove trailing space
* Add bug number
* Rename 2d rewrite
* Add _replaceLast
* Add comment
* Simplify, remove fullFlutterId
* Remove IconStyle and reorder
* xx
* reorder
2021-03-09 07:53:21 +01:00
Michael Goderbauer
cb867bbedc
Enable unnecessary_await_in_return lint ( #77434 )
2021-03-05 18:38:15 -08:00
Michael Goderbauer
807bb29888
enable prefer_function_declarations_over_variables lint ( #77398 )
2021-03-05 18:29:04 -08:00
Jonah Williams
54eb3d6289
[flutter_tools] migrate to null safe mustache ( #77400 )
2021-03-05 13:24:04 -08:00
Michael Goderbauer
7b251f5f37
Enable use_function_type_syntax_for_parameters lint ( #77163 )
2021-03-04 08:59:17 -08:00
Jonah Williams
ddcb8d7d6d
Update all versions! ( #77153 )
2021-03-03 14:11:30 -08:00
Christopher Fujino
d98fa56a35
ios-deploy does not need entitlements ( #76731 )
2021-02-24 14:56:02 -08:00
Jia Hao
1c179c401f
Bump packages ( #76673 )
2021-02-24 09:21:03 -08:00
Vyacheslav Egorov
2e00fc5ee3
Upgrade packages to pick up vm_snapshot_analysis fixes ( #76511 )
...
Run flutter update-packages --force-upgrade to pick up a new version of vm_snapshot_analysis package which contains fixes for #76313
Fixes #76313
2021-02-22 11:43:39 +01:00
Pierre-Louis
371dd87aa0
Make it possible to run in google3 ( #76392 )
2021-02-20 13:11:58 +01:00
Jason Simmons
73ec544238
Update all packages and upgrade to path_provider 2.0.0-nullsafety ( #76420 )
2021-02-19 16:40:24 -08:00
Ian Hickson
341984237e
Const constructor audit. ( #76162 )
2021-02-17 19:46:04 -08:00
Jonah Williams
db1e9f053f
update all packages ( #76254 )
2021-02-17 17:33:56 -08:00
Jonah Williams
7088c5ba2a
Update all packages ( #76143 )
2021-02-16 15:29:12 -08:00
Jonah Williams
021311ed8a
Revert "[flutter_tools] move process manager into tool ( #75350 )" ( #75639 )
...
This reverts commit 8b6baae44c
.
2021-02-08 09:21:46 -08:00
godofredoc
da6528cda6
Point to a new artifacts location. ( #70673 )
...
This is in preparation to move the flutter artifacts to a more secure
location.
Bug:
go/fxb/64576
2021-02-04 18:44:47 -08:00
Jonah Williams
8b6baae44c
[flutter_tools] move process manager into tool ( #75350 )
...
Our current top crasher is an unclear error when ProcessManager fails to resolve an executable path. To fix this, we'd like to being adjusting the process resolution logic and adding more instrumentation to track failures. In order to begin the process, the ProcessManager has been folded back into the flutter tool
2021-02-04 13:19:11 -08:00
Dan Field
bc1cf49458
roll packages ( #75370 )
2021-02-04 11:41:03 -08:00
Ian Hickson
ac3b9e7f89
Unpin mysteriously pinned packages ( #74885 )
2021-02-01 14:31:03 -08:00
Michael Goderbauer
0e815a1b87
Bump flutter_gallery_assets ( #75026 )
2021-02-01 04:51:04 -08:00
Dan Field
5575caa118
vm_service 6.0.1-nullsafety.1, dwds 8.0.2 ( #74943 )
2021-01-28 18:39:07 -08:00
Dan Field
71aec53acb
roll packages ( #74781 )
2021-01-26 21:53:04 -08:00
Dan Field
d1538320d2
Roll packages to null safe (vm_service, test, etc.) ( #74671 )
2021-01-26 09:15:54 -08:00
Jia Hao
22f1700427
[flutter_tools] Make setting of CWD consistent for flutter test ( #74622 )
2021-01-25 22:34:03 -08:00
Christopher Fujino
353add83e7
Re-land codesign test improvement ( #73997 )
2021-01-25 14:04:04 -08:00
Dan Field
1b373f45b7
Remove unused bigquery code and deps ( #74532 )
2021-01-22 16:21:01 -08:00
Ben Konyi
e2e3976a12
Roll package:dds to 1.7.3 and add error handling for VM service disappearing ( #74272 )
2021-01-20 10:49:13 -08:00
Nate Bosch
dcc4fdd558
Pass only Uri to package:http APIs ( #74285 )
2021-01-20 09:59:03 -08:00
Ben Konyi
2a188eeca3
Roll package:dds to 1.7.2 ( #74171 )
...
Should fix https://github.com/flutter/flutter/issues/74051
2021-01-17 19:27:00 -08:00
Ben Konyi
3755f4f018
Update DDS to 1.7.1 ( #74000 )
2021-01-14 22:26:14 -08:00
Christopher Fujino
66ba4b244d
Revert "Improve codesign script ( #71244 )" ( #73961 )
...
This reverts commit b7f5aef11a
.
2021-01-14 18:40:29 +00:00
Christopher Fujino
b7f5aef11a
Improve codesign script ( #71244 )
2021-01-14 18:22:08 +00:00
Robert Ancell
c65304bbf1
Map Linux AltGr to right alt. It was currently being ignored. ( #73373 )
...
Fixes https://github.com/flutter/flutter/issues/68713
2021-01-13 14:31:22 +13:00
Jonah Williams
22684ead6f
[versions] update all dependencies ( #73800 )
2021-01-12 15:14:05 -08:00
Michael Goderbauer
5d1306e7ab
Update outdated links ( #73514 )
2021-01-07 16:28:12 -08:00
Ian Hickson
544a41eb55
Remove an obsolete comment from pubspec.yaml ( #73505 )
2021-01-07 15:59:04 -08:00
Darren Austin
a6117269c6
Migrated some services and widgets doc comments to null safety. ( #72792 )
2020-12-23 17:14:04 -08:00
Todd Volkert
9a9339fbcb
Fix bug in docs.dart ( #72544 )
...
Add a check that a pubspec file exists before trying to read it.
2020-12-17 14:47:45 -08:00
xster
c980c2413e
update cupertino icons to 1.0.2 ( #72420 )
2020-12-16 12:03:51 -08:00
George Wright
a109fe68b0
Stop using the List constructor ( #71957 )
2020-12-08 17:03:03 -08:00
Pierre-Louis
a51b8e4309
Fix text direction logic for material icon variants ( #71852 )
2020-12-08 09:08:05 -08:00
Ben Konyi
89ef88c64f
Ensure attaching to an application with an existing DDS instance is not treated as a fatal error ( #70847 )
2020-12-04 17:16:30 -08:00
Jonah Williams
4e85a67f3e
[flutter_tools] roll deps, fix completion bug ( #71671 )
2020-12-03 11:58:03 -08:00
Gary Roumanis
7477524db6
Upgrade deps ( #71450 )
2020-12-01 09:57:27 -08:00
Pierre-Louis
a7f5fd5360
Update documentation link ( #71401 )
2020-11-30 13:14:13 +01:00
Janice Collins
a5519dc75e
Update dartdoc to 0.37.0 ( #70882 )
2020-11-20 11:18:07 -08:00
Jonah Williams
c6290500f8
[flutter_tools] update dependencies ( #70797 )
2020-11-18 17:29:28 -08:00
Christopher Fujino
b8887f47f7
fix and re-enable integration test ( #70666 )
2020-11-18 11:13:04 -08:00
Pierre-Louis
2f17d4e017
Adaptive icons ( #69119 )
...
* refactor update_icons
* fix trailing space
* address feedback
* add platform adaptive icons
* fix merge conflict
* Update dartdoc
* Address feedback
* Specify types
* Add tests
* fix indentation
* Remove trailing space
* Remove isCupertino static bool
2020-11-18 16:04:38 +01:00
Ben Konyi
4cbafda853
Roll package:dds to 1.5.1 and add isCompleted guards around completers in base/dds.dart ( #70712 )
2020-11-17 16:03:18 -08:00
Christopher Fujino
b8e39b1ad0
skip roll_dev_integration_test ( #70653 )
2020-11-16 14:11:22 -08:00
Darren Austin
1c7e34bb20
Migrate flutter_localizations to null safety. ( #68645 )
...
Migrate flutter_localizations to null safety.
2020-11-12 15:13:51 -08:00
Emmanuel Garcia
21e802746b
Migrate Flutter Gallery test to null safety ( #70116 )
2020-11-09 12:29:14 -08:00
Michael Thomsen
168ad5dc4d
Roll engine and fix pubspecs that do not have a Dart SDK constraint ( #70078 )
2020-11-09 19:02:10 +01:00
Yuqian Li
8e7748e74c
Reland migration ( #69996 )
...
This reverts ae0a9cb560
and therefore relands #69629 .
Additionally, `flutter update-packages --force-upgrade` has been run to update `pubspec.yaml` to resolve the analyze test failures.
2020-11-08 20:32:04 -08:00
Michael Thomsen
e4d94f7ccd
Revert "Migrate Flutter gallery test to null safety ( #69048 )" ( #70023 )
...
This reverts commit 7ba775a994
.
2020-11-07 12:15:22 +01:00
Emmanuel Garcia
7ba775a994
Migrate Flutter gallery test to null safety ( #69048 )
2020-11-06 20:38:12 -08:00
Christopher Fujino
772437627b
[flutter_conductor] update dev/tools with release tool ( #69791 )
2020-11-06 11:14:04 -08:00
Dan Field
76784651d4
Move package:integration_test to flutter/flutter ( #69622 )
2020-11-05 17:28:47 -08:00
Shi-Hao Hong
a1a096e35a
[gen-l10n] Fix untranslated messages ( #68553 )
2020-11-05 16:24:02 -08:00
Jonah Williams
e8efde6a54
[versions] update more null safe versions ( #69892 )
2020-11-05 09:09:03 -08:00
Jonah Williams
580cacf4bd
[versions] roll versions ( #69810 )
2020-11-04 15:38:58 -08:00
Emmanuel Garcia
212967449b
Update plugins dependencies for the Gallery test ( #69630 )
2020-11-03 12:03:18 -08:00
Shi-Hao Hong
4996f60b20
[gen_l10n] Fix unintended use of raw string in generateString ( #69382 )
...
* Fix failing tests from introducing raw string generation in gen_l10n tool
2020-10-31 19:24:53 +08:00
Jonah Williams
18f0a2288e
[flutter_tools] update to vm_service 5.2.0, update to dwds 7.0.0 ( #69067 )
...
Rolls in several fixes to web tooling, including better handling of absolute file imports. Updates to latest vm service to unblock null safety mode query
Co-authored-by: Gary Roumanis <grouma@google.com>
Co-authored-by: Anna Gringauze <annagrin@google.com>
2020-10-27 13:55:32 -07:00
Jacob MacDonald
193fe3e980
Update null safe deps to prepare for the 2.12 sdk version ( #69041 )
...
* update pinned null safety deps
* run update-packages
* add http dep to devicelab package
* rerun update-packages
2020-10-26 14:31:13 -07:00
Alexandre Ardhuin
17cdf5559d
enable unnecessary_string_escapes and use_raw_strings ( #68302 ) ( #69025 )
2020-10-26 12:42:05 -07:00
Pierre-Louis
bacc03daf9
Refactor update_icons ( #68708 )
...
* refactor update_icons
* fix trailing space
* address feedback
* Rename to _iconsMirroredWhenRTL
2020-10-26 16:35:58 +01:00
puelo
24d3999783
Generate RawKeyEvents for iOS 13.4+ ( #65193 )
...
* Added RawKeyEvent support for iOS
* Removed unused remnant
* added some missing keys
* Removed trailing whitespaces
* commit for build
* Added mapping names
* Made iOS keycodes generatable and collectable
* Fixed naming and formatting issues
* fixed raw_keyboard_test
2020-10-22 13:33:51 -07:00
Michael Goderbauer
8273b99294
Remove dartdoc checker exclusion for class and library files ( #68726 )
2020-10-22 13:32:55 -07:00
Janice Collins
4a59ee9c31
Updated dartdoc to 0.36.0 ( #68641 )
2020-10-21 08:47:02 -07:00
Zachary Anderson
cbcd1321ed
Revert "enable unnecessary_string_escapes and use_raw_strings ( #68302 )" ( #68714 )
...
This reverts commit ae06c19a37
.
2020-10-21 08:16:13 -07:00
Alexandre Ardhuin
ae06c19a37
enable unnecessary_string_escapes and use_raw_strings ( #68302 )
2020-10-21 16:34:24 +02:00
Martin Kustermann
6fae89c8b5
Update package:stack_trace dependency to 1.10.0-nullsafety.4 ( #68132 )
2020-10-16 16:35:20 +02:00
Alexandre Ardhuin
73301a35a2
Sync lints ( #68136 )
2020-10-15 15:37:04 -07:00
Shi-Hao Hong
244f5ab598
Expose date symbols and patterns for en_US in framework ( #67900 )
...
* Expose date symbols and patterns for en_US in framework
2020-10-13 07:56:10 +08:00
Sam Rawlins
23c7ee9deb
Bump meta to 1.3.0-nullsafety.4 ( #67744 )
2020-10-12 09:50:30 -07:00
nturgut
a755c03819
Add web e2e to the flutter/flutter repo ( #67693 )
...
* adding tests that uses integration_test (e2e) package to flutter
* change the package name for the import
* fix licenses. fix README commands. add links
* adding dependency change auto generated by the tool
* more analyzer error fixes
2020-10-09 12:24:36 -07:00
Jacob MacDonald
b95c3d7d56
update stack_trace dep (and others) ( #67057 )
2020-10-01 09:54:07 -07:00
Android Dev Notes
ace7860e41
Fix typos ( #66029 )
2020-09-25 11:41:37 +02:00
Will Larche
ee6d4c6590
[Docs] [Material] Fix Icons api docs ( #66508 )
...
* [Docs] [Icons] Updating dart doc styles to recognize more styles of icons. All the 4 icon styles we support have to be pulled from 4 individual web fonts when we show the html page for api docs.
* Better documentation and that special awful case.
* Couple more places to remove.
2020-09-24 15:18:10 -04:00
Jacob MacDonald
9cee75ba61
update to the latest null safe packages ( #66384 )
...
Updates all null safe dependencies to versions that allow 2.10 stable and 2.11 dev releases.
Also updates flutter_goldens and flutter_goldens_client to allow 2.11 dev.
2020-09-23 11:03:29 -07:00
Yegor
905feb7771
roll source_span 1.8.0-nullsafety.2 ( #66290 )
2020-09-21 15:02:07 -07:00
Jonah Williams
689ca09cd0
[versions] update to latest source span and roll engine to 4b8477d11573d233e6791204191c0090f733b05d ( #66136 )
2020-09-19 11:22:07 -07:00
Michael R Fairhurst
7f3c9b6bda
Remove unused 'dart:async' imports. ( #65568 )
2020-09-16 14:14:06 -07:00
Greg Spencer
199a7c1964
Fix the character
field of the RawKeyEvent
to hold correct data on non-Android platforms. ( #65667 )
...
This fixes a problem where the character field of the RawKeyEvent was not being set at all for non-Android platforms.
I also updated the key maps, and corrected a problem with the Windows key map where the backquote character wasn't correctly mapped.
2020-09-15 13:02:16 -07:00
Greg Spencer
94592acb71
Creates a way to test private APIs in the Flutter package. ( #65505 )
2020-09-13 15:52:03 -07:00
Ben Konyi
577de1c44e
Roll forward package:test to 1.16.0-nullsafety.4 to prepare for ( #65571 )
2020-09-10 15:55:03 -07:00
Shi-Hao Hong
b80b432555
Move gen_l10n into flutter_tools ( #65025 )
2020-09-03 09:26:58 -07:00
Shi-Hao Hong
fd22fc3e35
[gen_l10n] Synthetic package generation by default ( #62395 )
...
* synthetic packages by default in gen_l10n tool
* Refactor default path for synthetic package
* Remove unused import
* Code cleanup
* Further improvements to help text
* Refactor synthetic package path
* Remove newlines
* Test cleanup
* clean up logic in inputs and outputs list function
* Update l10n.yaml usage
* only add option if value is non-null
* Update stocks app as proof of concept for synthetic package usage
* Address nits
* print pubspec contents
* add print statements
* Do not allow null value for useSyntheticPackage
* +
* +
* +
* +
* Cleanup
* Add test
* Fix text
* Dont parse pubspec directly
* Test using context
* WIP: generate synthetic packages on pub get -- needs tests
* Allow null value
* Update null handling
* Refactor to properly handle null case
* Fix yamlMap condition
* Fix yaml node for real
* WIP: struggling to write tests
* WIP - take absolute path as an option
* Add tests
* Use environment project directory for synthetic package generation pathway
* Fix typo
* Improve help text
* Update defaults
* Remove unauthorized path import
* Fix pathing issues at synthetic package generation
* Fix typo in test
* Use path.join so projectDir matches up based on OS
* Fix Windows pathing in test
* Remove unnecessary replaceApp code for projectDir.path
* Use globals.fs.currentDirectory.path in resident_runner_test.dart
* Fix merge conflict
* Add test to ensure that synthetic package is generated on pub get
* Fix resident_runner_test.dart tests
* Fix tests
* Use package:file instead of dart:io
* WIP - exploration
* Remove synthetic package use from stocks example
* Update integration test to not use synthetic packages
* Remove trailing whitespace
* flutter pub get runs synth package generation
* Remove more print statements
* Add license header
* WIP - minimally working pub.get
* Use own MockBuildSystem
* Modify test and implementation to be a little cleaner
* Fix flutter pub get invocation
* Use synthetic packages in stocks app
* Revert "Use synthetic packages in stocks app"
This reverts commit 45bf24903c
.
* Add environment and buildSystem params to flutter test
* Address code review feedback
* +
* Isolate codegen into its own API
* Fix imports
* Slight refactor
* Add one more test for no l10n.yaml file
* Remove unneeded mock class and import in pub_get_test.dart
* More code review feedback
* Remove unnecessary imports
* Remove `return await`s that I missed
* use arrow functions instead
2020-08-31 13:19:41 +08:00
Jonah Williams
04f7c9d52e
[flutter_tools] update dwds, roll to null-safe file and process ( #64195 )
...
Update to latest dwds, file-nullsafety, and process-nullsafety for #62886
2020-08-19 16:59:52 -07:00
Jonah Williams
829ef147d1
[null-safety] roll to null-safe platform ( #64160 )
2020-08-19 15:47:08 -07:00
Greg Spencer
041a3eaa84
Standardize the nullability of arguments to raw key data constructors. ( #63523 )
...
This standardizes the handling of nullability for the LogicalKeyboardKey.keyLabel and RawKeyEventData.keyLabel accessors so that they are non-nullable, but can be empty.
Before this change, the keyLabel could be either null or an empty string to indicate that there wasn't a label, which makes it harder to test for, since both need to be checked for. Since an empty string is sufficient, there is no need for it to be nullable.
Also, in raw_keyboard.dart, the web and Windows implementations wouldn't accept null values for parameters in the Map coming from the message, but tests were supplying null for some of them. This makes web and Windows creation of events match the other platforms, and makes the migration of tests to non-nullability easier.
2020-08-19 15:03:17 -07:00
Jonah Williams
1b69983c6d
[versions] update gallery, roll versions ( #64067 )
2020-08-19 08:07:15 -07:00
Michael Goderbauer
3e867f78db
Fix assert in dartdoc_checker and enable asserts ( #64111 )
2020-08-18 19:11:05 -07:00
Shi-Hao Hong
0a7c6243fa
[gen_l10n] Absolute project path parameter ( #63368 )
2020-08-13 05:11:05 -07:00
Jonah Williams
9225d8d5b7
[flutter_tools] move to fake_async, skip failing tests ( #63536 )
2020-08-11 19:36:05 -07:00
Shi-Hao Hong
c36b75e45b
Remove Special Handling of Norwegian Locales ( #63034 )
...
* Regenerate _no.arb and _nb.arb from scratch
* Revert no <--> nb synonym logic
2020-08-12 07:29:17 +08:00
Greg Spencer
a344fb1e2c
Update prepare_package.dart to use the process_runner package instead having duplicate code. ( #62710 )
...
Updates the prepare_package.dart script to use the process_runner package (which is where the ProcessRunner implementation was moved to).
2020-08-11 14:44:57 -07:00
Michael Goderbauer
e49a57660d
Bump dartdoc to 0.32.3 and tighten doc quality checker ( #63111 )
2020-08-07 20:41:04 -07:00
Ming Lyu (CareF)
99ea866247
update packages ( #63017 )
2020-08-06 16:21:05 -07:00
Jacob MacDonald
67e9b2945e
update to use more null safe packages ( #62525 )
...
Updates all the dependencies used in the most basic test and flutter_test isolates.
2020-08-03 12:29:30 -07:00
Michael Goderbauer
e5ca020d66
Make dartdoc warnings fatal for flutter_test ( #62614 )
2020-08-03 10:46:04 -07:00
Jonah Williams
c24772e8fb
[versions] update to the latest sdk versions ( #62687 )
2020-08-03 10:31:06 -07:00
Alexandre Ardhuin
7884420a0a
migrate services to nullsafety ( #62513 )
...
NNBD migration for services
2020-07-31 11:20:00 -07:00
Michael Goderbauer
6ca8fda978
After cleaning up 812 warnings: Make warnings fatal in dartdocs ( #62553 )
2020-07-30 14:11:23 -07:00
Mehmet Fidanboylu
db2ecf4486
Expose certain functions used when rolling Flutter ( #62529 )
2020-07-29 22:24:52 -07:00
Tong Mu
c177db172d
Refactor gen_keycode: Split generators ( #61916 )
...
* Split gen_keycode to make maintenance easier.
2020-07-29 13:20:07 -07:00
Michael Goderbauer
f4e10b4fb5
Make dartdoc warnings fatal (& cleanup of warnings) ( #62367 )
2020-07-28 16:11:04 -07:00
Michael Goderbauer
e17a721951
Ban unresolved dartdoc directives from HTML output ( #62167 )
2020-07-28 15:26:33 -07:00
Alexandre Ardhuin
00dcd5f49b
migrate gestures to nullsafety ( #62157 )
2020-07-28 15:11:05 -07:00
Jonah Williams
d834673033
roll dart/engine to f27729e97b5a00c3a8d8d49edc7b998fa755b97a ( #62368 )
2020-07-27 17:51:31 -07:00
Zachary Anderson
ab3a4b0e69
Revert "bump nullsafety deps ( #61978 )" ( #62234 )
...
This reverts commit c46aa360b0
.
2020-07-24 16:31:42 -07:00
Alexandre Ardhuin
c46aa360b0
bump nullsafety deps ( #61978 )
2020-07-24 16:17:08 -07:00
Will Larche
7782845edd
[Material] Updated icons and fonts ( #61778 )
2020-07-24 15:41:13 -07:00
Yazeed Al-Khalaf
d41b1fbb50
✒ Spell Check All .md
Files Related to Flutter 💙 ( #61564 )
...
* 🐛 Fix Spelling Issues in Main README.md
* 🐛 Fix spelling issues in dev README.md
* 🐛 Fix spelling issues in complex_layout README.md
* 🐛 Fix spelling issues in macrobenchmarks README.md
* 🐛 Fix spelling issues in platform_views_layout README.md
* 🐛 Fix spelling issues in test_Apps/stocks README.md
* 🐛 Fix spelling issues in bots README.md
* ✒ Spell Check dev/ci README.md
* ✒ Spell Check dev/ci/docker_linux README.md
* ✒ Spell Check dev/devicelab README.md
* ✒ Spell Check dev/docs README.md
* ✒ Spell Check dev/snippets README.md
* ✒ Spell Check dev/snippets/config/templates README.md
* ✒ Spell Check dev/tools/gen_keycodes README.md
* ✒ Spell Check dev/tools/vitool README.md
* ✒ Spell Check examples/catalog README.md
* ✒ Spell Check examples/flutter_view README.md
* ✒ Spell Check examples/image_list README.md
* ✒ Spell Check examples/layers README.md
* ✒ Spell Check examples/platform_channel README.md
* ✒ Spell Check examples/platform_channel_swift README.md
* ✒ Spell Check examples/platform_view README.md
* ✒ Spell Check packages/_flutter_web_build_script README.md
* ✒ Spell Check packages/flutter_localizations README.md
* ✒ Spell Check packages/flutter_tools README.md
* ✒ Spell Check CODE_OF_CONDUCT.md
* ✒ Spell Check dev/integration_test/android_splash_screens/splash_Screen_load_rotate README.md
* ✒ Spell Check dev/integration_test/android_views README.md
* ✒ Spell Check dev/integration_tests/flutter_driver_screenshot_test README.md
* ✒ Spell Check dev/integration_tests/flutter_gallery README.md
* ✒ Spell Check dev/integration_tests/gradle_deprecated_settings README.md
* ✒ Spell Check dev/integration_tests/ios_add2app_life_cycle README.md
* ✒ Spell Check dev/integration_tests/ios_host_app README.md
* ✒ Spell Check dev/integration_tests/ios_platform_view_tests README.md
* ✒ Spell Check dev/automated_tests/flutter_test README.md
* ✒ Spell Check .github/PULL_REQUEST_TEMPLATE.md
* ✒ Spell Check .hithub/ISSUE_TEMPLATE/ACTIVATION.md
* ✒ Spell Check .github/ISSUE_TEMPLATE/BUG.md
* ✒ Spell Check .github/ISSUE_TEMPLATE/feature_request.md
* ✒ Spell Check .github/ISSUE_TEMPLATE/performance_others.md
* ✒ Spell Check .github/ISSUE_TEMPLATE/performance_speed.md
* ✒ Spell Check packages/flutter_tools/doc/daemon.md
* ✒ Spell Check packages/flutter_tools/fuchsia_enrtypoint_shim/README.md
* ✒ Minimize line to 80 columns
* ✒ Minimize line to 80 columns
* ✒ Fix Typo
* ✒ Chnaged numbers to 1 for testing purposes
* ✒ Changed numbers to 1 for testing purposes
* ❌ Remove 'a' which is a typo
* ✒ Change a sentence to be better
* ✒ Remove 'a' which is a typo
* ✒ Fix small issue
* ✒ Fix small typo
* ✒ Fix some typos
* ❌ Remove trailing space
* ❌ Remove trailing space
* 🐛 Fix small typo
* ✒ Fix Typo
* 🐛 Fix small bug
2020-07-22 18:23:47 -07:00
Ben Konyi
adc9dde3ba
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61975 )" ( #61993 )
...
This reverts commit f7a1c87ffd
.
2020-07-21 16:17:23 -07:00
Ben Konyi
f7a1c87ffd
Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61975 )
...
This reverts commit 4867f5931f
.
2020-07-21 15:44:38 -07:00
Ben Konyi
4867f5931f
Revert "Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61882 )" ( #61909 )
...
This reverts commit 895b7ef6fa
.
2020-07-20 16:41:01 -07:00
Ben Konyi
895b7ef6fa
Reland "Add support for Dart Development Service (DDS) in Flutter Tools ( #61276 )" ( #61882 )
...
This reverts commit 38fe887342
.
2020-07-20 16:01:58 -07:00
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
Robert Ancell
39f93d18b1
Add additional GTK keycodes for enter and tab ( #61141 )
2020-07-10 11:35:46 +12:00
Alexandre Ardhuin
f32a73711a
use nnbd deps ( #61177 )
2020-07-09 23:01:22 +02:00
Renzo Olivares
d1c4bdb161
Add locales for fil(filipino) and gsw(swiss german) to locale list ( #60632 )
2020-07-09 13:56:01 -07:00
Shi-Hao Hong
61a04b1551
Fix and address Inconsistencies with Pashto support ( #60600 )
...
* Normalize Pashto incomplete translations
* Add comment to README.md about incomplete Pashto support
2020-07-09 15:52:19 +08:00
Dan Field
33aa457604
Roll packages ( #61034 )
...
Roll packages, update XML deprecations.
2020-07-07 16:40:33 -07:00
Shi-Hao Hong
1e6e7150f3
[gen_l10n] Update the arb filename parsing logic ( #60185 )
...
* Update the arb filename parsing to account for underscores
* Generalize the locale searching algorithm
* Update filename and @@locale behavior to require them to match
2020-06-26 12:01:59 +08: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
Robert Ancell
8c3b826ebd
Support GTK keycodes ( #59961 )
2020-06-23 15:19:57 +12:00
Robert Ancell
8ae71a0e06
Fix the paths in keyboard map templates ( #60015 )
2020-06-23 15:18:54 +12: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
Per Classon
56a7dacd46
[flutter_tools] For l10n with deferred loading, use loadLibrary for non-web too ( #59539 )
...
After Dart VM change we are now required to use loadLibrary on an import whenever it is imported as deferred.
See: https://dart-review.googlesource.com/c/sdk/+/149613
2020-06-16 13:36:28 -07:00
Christopher Fujino
807b60250a
[flutter_tools] Update roll_dev.dart ( #59215 )
2020-06-16 09:30:04 -07:00
Jonah Williams
bf94520644
[versions] Update all the versions ( #59283 )
2020-06-11 16:40:22 -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
Zachary Anderson
859f2f9bd4
Update packages ( #57321 )
2020-05-16 15:02:06 -07:00
Darren Austin
b4788f290c
Updated gen_missing_localizations to copy the english strings instead of using 'TBD' for other locales. ( #57053 )
2020-05-14 11:12:05 -07:00
Anna Gringauze
e88ef6d554
Updated dwds (and other packages) ( #56958 )
2020-05-13 09:07:09 -07:00
Nate Bosch
59a8ef3a21
Remove direct uses of LocalPlatform ( #56605 )
...
When `const LocalPlatform` is used immediately and not passed as a
dependency it does not have utility over the static properties from
`dart:io`. Remove these uses to reduce the noise around how the
instantiable `Platform` class is used.
2020-05-11 12:59:29 -07:00
Christopher Fujino
3e31dbd29d
fix ref ( #56721 )
2020-05-11 12:05:02 -07:00
Christopher Fujino
d56af3ca5e
Add --force to roll_dev.dart
( #56501 )
2020-05-07 18:24:03 -07:00
Shi-Hao Hong
eadd30eb6c
Improve arb FormatException error message ( #56373 )
2020-05-07 18:09:03 -07:00
Shi-Hao Hong
13501af6e6
[gen_l10n] Optionally generate list of inputs/outputs ( #56490 )
2020-05-07 11:46:02 -07:00
Shi-Hao Hong
c01c46c896
Test to ensure _kn.arb files are properly escaped ( #56091 )
...
* Run encode kn character encoding tool when gen_localizations is run
* Add test that ensures *_kn.arb files are properly encoded/escaped in order to be checked in
* Fix *_no.arb test to not incorrectly pass
2020-05-01 18:13:55 -07:00
Hans Muller
b039fc7c09
Fixed a typo ( #56146 )
2020-05-01 15:39:02 -07:00
Jonah Williams
ac2dfcf338
[version] update all versions ( #56141 )
2020-05-01 15:14:36 -07:00
Shi-Hao Hong
de4f052703
[gen_l10n] Fix unintended breaking change introduced by output-dir option ( #55909 )
...
* Fix breaking change introduced by gen_l10n output-dir option
2020-04-28 16:25:59 -07:00
Shi-Hao Hong
9d7af39a5b
[gen_l10n] Output directory option ( #55792 )
...
* Add new output-dir option for gen_l10n tool
2020-04-28 13:10:27 -07:00
Dan Field
2ae0e5a37a
Roll packages, drop custom timeline parsing for tracing tests ( #55433 )
2020-04-22 21:43:03 -07:00
Kate Lovett
cbc121e392
ToDo Audit - Cupertino+ Library ( #54798 )
2020-04-22 16:33:01 -07:00
Jonah Williams
94ddf56b9e
[flutter_tools] unpin package config and update ( #55348 )
2020-04-22 10:16:34 -07:00
Michael Thomsen
fd397e1fc0
Roll pinned package versions ( #54952 )
2020-04-16 10:55:02 -07:00
Christopher Fujino
2bb361c9f7
[flutter_tools] Fix roll dev script, add tests ( #54783 )
2020-04-16 10:10:04 -07: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
Shi-Hao Hong
bec1b734bd
Cleanup in gen_l10n files ( #54401 )
2020-04-10 10:35:33 -07:00
Jacob MacDonald
efdce3cf72
drop image package dependency for goldens ( #54144 )
2020-04-09 11:21:23 -07:00
Per Classon
4451ffca23
Add option for deferred loading to gen_l10n ( #53824 )
2020-04-09 03:57:01 -07:00
Shi-Hao Hong
5d63637e43
[gen_l10n] Fallback feature for untranslated messages ( #53374 )
...
* Generate methods using template resources if they do not exist in other locales
* Added a flag to either output of messages that have not been translated with detail into a file, or display a summary on the terminal.
* Add integration test for fallback message usage
2020-04-08 18:55:50 -07:00
Shi-Hao Hong
592f7886e5
Remove escape dollar parameter in localizations_utils ( #54219 )
2020-04-08 12:52:03 -07:00
Francisco Magdaleno
a0f7f6ca6d
[windows] Adds support for keyboard mapping. ( #54227 )
2020-04-08 10:07:02 -07:00
Jonah Williams
0a25309fb1
[versions] update versions ( #54247 )
2020-04-07 19:42:02 -07:00
Per Classon
e8d2907595
[gen_l10n] Handle single, double quotes, and dollar signs in strings ( #54185 )
2020-04-07 12:21:02 -07:00
Michael Thomsen
98e7791ec9
Roll pinned xml and petitparser versions ( #54181 )
2020-04-07 12:16:03 -07:00
Todd Volkert
de1e572916
Don't checkout master in roll_dev ( #54150 )
2020-04-06 16:15:07 -07:00
Alexandre Ardhuin
f5a9902577
enable avoid_equals_and_hash_code_on_mutable_classes ( #52507 )
2020-04-06 13:36:01 -07:00
stuartmorgan
2d623278e7
Restructure the Windows app template ( #53600 )
...
This moves the app template more toward being a more generic starting
point for any Flutter application, eliminating some hard-code
assumptions about there being a single window/engine pair that is
directly bound to the life of the application:
- Moves the runloop into its own class, making it capable of servicing
any number of engine instances.
- Moves the logic for setting up a window containing only a Flutter view
into a window subclass for ease of re-use.
- Makes quit-on-window-close an optional property. (Long term this
should be even more generic, like a quit-when-last-window-closes
option, but this is a short-term improvement that removes the binding
between the runloop and the window).
- Allows for multiple instances of Win32Window to exist without issues
relating to the window class registration.
Since there are getting to be a non-trivial number of files associated
with the runner, this moves the source into a runner/ directory, as is
already done on some other platforms.
Note that creating multiple Flutter windows at the same time still
doesn't work correctly even with this change, but this addresses some of
the known issues, and makes it easier to test in the future (e.g., for
debugging engine-level issues with multiple instances).
Fixes #45397
2020-04-06 12:24:05 -07:00
Todd Volkert
f5fe1e3e62
Update roll_dev to work with new version numbers ( #54015 )
2020-04-04 21:28:34 -07:00
Shi-Hao Hong
4e811d2819
[gen_l10n] Fix plural parsing for translated messages ( #53954 )
2020-04-03 15:46:01 -07:00
Shi-Hao Hong
365528aad6
Use no
locale as synonym for nb
( #53880 )
2020-04-03 11:56:02 -07:00
Shi-Hao Hong
6837b0e353
[gen_l10n] Add scriptCode handling ( #53868 )
...
* [gen_l10n] Add scriptCode handling
2020-04-03 09:46:01 -07:00
Shi-Hao Hong
19e7db585d
[gen_l10n] Escape special JSON characters in generateString utility function ( #53605 )
2020-04-01 11:16:01 -07:00
Jonah Williams
8cb1d269f6
[versions] update EVERYTHING ( #53467 )
2020-03-30 14:09:38 -07:00
gaaclarke
83a74e11d2
Started caching results from iana. ( #53286 )
2020-03-25 18:16:02 -07:00
Darren Austin
142b526f1b
Material Date Picker redesign ( #50546 )
...
Date Picker UI redesign
2020-03-24 18:44:57 -07:00
Jonah Williams
10571920c0
[flutter_tools] update to latest dwds API ( #52936 )
...
Should fix issues introduced in web-server device and allow loading org-dartlang-app URIs
2020-03-23 18:47:50 -07:00
Janice Collins
601c8dbebb
Update dartdoc to 0.30.2 ( #52022 )
2020-03-19 14:56:03 -07:00
Jonah Williams
da0788a180
Update fuchsia remote debug protocol to use package:test shim instead of package:test_api ( #52706 )
...
This is necessary to ensure the tests can run in google3. Fixes https://b.corp.google.com/issues/151657461
2020-03-18 09:12:46 -07:00
Jonah Williams
6884086e5c
[flutter_tools] Update to latest dwds APIs ( #51004 )
...
Update to latest dwds APIs, moving back to dwds driven hot restart and enabling future work on expression evaluation.
2020-03-17 17:29:53 -07:00
Shi-Hao Hong
351457cdd0
[gen_l10n] Separate out AppLocalizations classes and subclasses by language code ( #52335 )
2020-03-17 08:46:02 -07:00
Michael Thomsen
e167181444
Move flutter_gallery to the testing folder ( #52532 )
...
Move Flutter Gallery to dev/integration_tests/ as it is an older copy used only for testing. The current version of the Flutter Gallery now lives in https://github.com/flutter/gallery .
2020-03-16 10:31:42 +01:00
Greg Spencer
289deef8c5
Add C++ code generation for key maps. ( #50998 )
...
This adds generation of some C++ keycode maps for various platforms.
This isn't meant for general use: it's so that the Flutter authors can keep the keycodes up to date with the Chromium and Android (and other) sources. It doesn't run continuously, it's only run occasionally (manually) to update the maps, because they don't change very often, and there is often manual work needed to make it function.
In this PR, I added output of various .cc files that write into an engine repo situated next to the flutter repo on disk. This is a starting point for implementing platform-side handling of key events.
2020-03-12 17:39:31 -07:00
Shi-Hao Hong
183da8f837
[gen_l10n] Fix suppportedLocales list ( #52448 )
...
* Fix suppportedLocales list
* Refactor integration tests for gen_l10n tool to catch exceptions
2020-03-12 12:58:13 -07:00
Shi-Hao Hong
96fd143cd7
[gen_l10n] Optional Headers ( #52125 )
...
* Expose --header and --header-file arguments for gen_l10n
2020-03-11 13:55:54 -07:00
Ben Konyi
66b978a197
Update pub dependencies to roll forward package:test ( #52273 )
2020-03-10 13:26:02 -07:00
Francisco Magdaleno
e9905b6ad8
[Keyboard] Collects windows key data ( #52265 )
2020-03-09 17:21:02 -07:00
Flutter GitHub Bot
9c5009b251
[gen_l10n] Escape quote characters in ARB files ( #51952 )
2020-03-04 20:41:03 -08: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
Shi-Hao Hong
c98500dea3
Update gen_l10n tool to require base locale; Stocks app refresh ( #51602 )
2020-02-28 22:21:01 -08:00
Alexandre Ardhuin
a4054938ce
unnecessary multiline strings ( #50806 )
2020-02-25 18:12:17 -08:00
Hans Muller
13e1336e6c
Generate message lookup in gen_l10n ( #50733 )
2020-02-24 20:17:13 -08:00
Dan Field
889e606ceb
Script to find Flutter earliest Flutter revision that contains an engine revision ( #50948 )
2020-02-24 14:49:12 -08:00
Alexandre Ardhuin
7d7ac7c32b
start multiline strings with newline ( #50825 )
2020-02-20 10:16:28 +01: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
Alexandre Ardhuin
0bd45bc222
update lint list + enable unnecessary_string_interpolations ( #50593 )
2020-02-14 09:43:52 +01:00
Dan Field
58a4122b97
update packages ( #50666 )
2020-02-12 14:51:38 -08:00
Jonah Williams
18f38cd45b
Switch flutter_tools to use frontend_server for web compilation ( #50365 )
2020-02-11 15:43:46 -08:00
Alexandre Ardhuin
f15c887c63
change quote to avoid escapes ( #50368 )
2020-02-11 20:58:27 +01:00
Shi-Hao Hong
5dfa8e9c05
Remove redundant gen_l10n tests ( #50301 )
2020-02-07 13:59:45 -08:00
Alexandre Ardhuin
b953c3e5a8
use raw strings to avoid escaping ( #50322 )
2020-02-07 16:35:55 +01:00
Alexandre Ardhuin
5c28e3eeea
unnecessary escapes fixes ( #50178 )
...
* unnecessary escapes fixes
* replace some strings with raw strings
* update regexp
* address review comments
2020-02-07 06:35:50 +01:00
Jonah Williams
4896c85ede
[versions] update packages ( #50251 )
2020-02-06 08:44:00 -08:00
Hans Muller
82c00c915c
Move the localization_utils camelCase function to LocaleInfo ( #50152 )
2020-02-05 06:35:49 -08:00
Hans Muller
c3e0f2d462
Add Message.isPlural, Message.getCountPlaceholder() to gen_l10n_types ( #50132 )
2020-02-05 06:35:29 -08:00
Alexandre Ardhuin
8061894f05
update template for gen_keycodes ( #49884 )
2020-01-31 21:58:51 +01:00
Alexandre Ardhuin
b5f328e37e
remove unnecessary string interpolations ( #49622 )
2020-01-31 18:30:21 +01:00
Alexandre Ardhuin
5a8de59a66
refactor generateString to emit simpler dart code ( #49334 )
2020-01-31 11:57:54 +01:00
Hans Muller
3f2c6ea724
Integration test for the gen_l10n tool ( #49586 )
2020-01-29 12:45:03 -08:00
Jonah Williams
3f5786bee9
[versions] update versions --force-upgrade ( #49590 )
2020-01-28 13:07:45 -08:00
Dan Field
fabeb2a16f
Revert string interp ( #49602 )
2020-01-28 07:56:51 -08:00
Darren Austin
9980d6e550
Script to generate missing localization resources ( #49379 )
...
Added a new script to generate missing localizations for use when adding new localizations to the Flutter framework.
2020-01-27 17:50:59 -08:00
Hans Muller
7539826d7b
Update gen_l10n handling of plurals, numbers, and dates ( #49357 )
2020-01-27 16:18:02 -08:00
Dan Field
8b2993337a
revert #48985 ( #49572 )
2020-01-27 14:36:02 -08:00
Hans Muller
bc5c46438a
Migrate TextTheme to 2018 APIs ( #48547 )
2020-01-24 19:03:01 -08:00
Alexandre Ardhuin
92cbaa3efe
remove unnecessary string interpolations ( #49352 )
2020-01-23 20:43:01 -08:00
Angjie Li
f0a175f41d
Use flutter_tools to start WebDriver browser. ( #49228 )
2020-01-21 16:48:02 -08:00
Alexandre Ardhuin
3800bb7b10
fix missing spaces in adjacent strings ( #49159 )
2020-01-21 16:43:03 -08:00
Anthony
b67d5ec6e9
[a11y] Make sure RenderFractionalTranslation updates its semantics after the translation field is set ( #48985 )
2020-01-17 15:13:01 -08:00
Alexandre Ardhuin
003541499b
use isA<Xxx>() matcher ( #48482 )
2020-01-16 12:43:03 -08:00
Hans Muller
667c38d551
gen_l10n: generated Intl.message parameter should be an ordinary string ( #48929 )
2020-01-16 07:20:38 -08:00
Shi-Hao Hong
47bba44920
L10n Currency Formatting, Fixes to Named vs Positional Parameters ( #48445 )
...
* Add currency formatting for l10n tool, fix positional vs named params
2020-01-10 14:19:40 -08:00
Alexandre Ardhuin
82262d8896
format operator== according to flutter style guide ( #48449 )
2020-01-09 08:23:02 -08:00
Shi-Hao Hong
c525988c8c
Reorganize tests in l10n tool ( #47704 )
2020-01-08 12:29:18 -08:00
David Iglesias
f65f7f0118
Change video_demo slightly so it works on web. ( #46719 )
2020-01-08 12:28:01 -08:00
Shi-Hao Hong
b038b40941
gen_l10n Number Format Handling ( #47706 )
2020-01-07 22:38:02 -08:00
Alexandre Ardhuin
4f9b6cf017
enable lint prefer_final_in_for_each ( #47724 )
2020-01-07 16:32:04 +01:00
Dan Field
24f39d40a4
Revert "Revert "Add many more global analyses. ( #47875 )" ( #48080 )" ( #48081 )
...
This reverts commit 04ea3183ce
.
2020-01-02 11:47:28 -08:00
Francisco Magdaleno
04ea3183ce
Revert "Add many more global analyses. ( #47875 )" ( #48080 )
...
This reverts commit e768c92fbc
.
2020-01-02 09:25:59 -08:00
Ian Hickson
e768c92fbc
Add many more global analyses. ( #47875 )
...
* Update packages.
* Add many more global analyses.
* Catch trailing spaces and trailing newlines in all text files.
Before we were only checking newly added files, but that means we
missed some.
* Port the trailing spaces logic to work on Windows too.
* Correct all the files with trailing spaces and newlines.
* Refactor some of the dev/bots logic into a utils.dart library.
Notably, the "exit" and "print" shims for testing are now usable
from test.dart, analyze.dart, and run_command.dart.
* Add an "exitWithError" function that prints the red lines and
then exits. This is the preferred way to exit from test.dart,
analyze.dart, and run_command.dart.
* More consistency in the output of analyze.dart.
* Refactor analyze.dart to use the _allFiles file enumerating logic
more widely.
* Add some double-checking logic to the _allFiles logic to catch
cases where changes to that logic end up catching fewer files
than expected (helps prevent future false positives).
* Add a check to prevent new binary files from being added to
the repository. Grandfather in the binaries that we've already
added.
* Update all the dependencies (needed because we now import crypto in
dev/bots/analyze.dart).
2019-12-30 17:12:19 -08:00
Shi-Hao Hong
173322dc78
Support preferred locales for gen_l10n ( #47845 )
...
* Add preferred-supported-locales option to gen_l10n.dart executable
2019-12-30 11:22:01 -08:00
Francisco Magdaleno
f2f9d0e4fd
Revert "Flutter Web Driver Support ( #47470 )" ( #47698 )
...
This reverts commit cc1c9649c4
.
2019-12-23 15:20:11 -08:00
Shi-Hao Hong
88cd1135bf
Handle plural gen_l10n regular placeholders and DateTime placeholders ( #47483 )
...
* Handle simple placeholders in plurals
* Handle Date plural placeholders
* Improve variable names
* Turn assert into exceptions, add tests
2019-12-20 16:22:44 -08:00
Angjie Li
cc1c9649c4
Flutter Web Driver Support ( #47470 )
2019-12-19 19:53:01 -08:00
Alexandre Ardhuin
78db965642
Reland implicit-casts: false ( #47431 )
2019-12-19 02:23:01 -08:00
Lau Ching Jun
a4858782da
Revert "implicit-casts: false ( #47199 )" ( #47428 )
...
This reverts commit c235998acf
.
2019-12-18 23:53:00 -08:00
Alexandre Ardhuin
c235998acf
implicit-casts: false ( #47199 )
2019-12-18 23:23:01 -08:00
Lau Ching Jun
2df964581f
Revert "Flutter Web Driver Support ( #45951 )" ( #47389 )
...
This reverts commit 1ef0eadb45
.
2019-12-18 17:02:31 -08:00
Angjie Li
1ef0eadb45
Flutter Web Driver Support ( #45951 )
...
* Support Flutter Driver test for Flutter Web application.
* Support Flutter Driver test for Flutter Web application.
* Fix documentation issues.
* Support Flutter Driver test for Flutter Web application.
* Fix documentation.
* Remove unused file from dartdoc check.
* Sync to date.
* Revert change to dartdoc.
* Address comments.
* Apply suggestions from code review
Co-Authored-By: Jonah Williams <jonahwilliams@google.com>
* Update copyrights.
* Update allowed list for browsers.
* Verify command line arguments for Drive command is correctly parsed.
* Make waitUntilFirstFrameRasterized throw unimplementedError for Flutter Web Driver.
* Add comment for why sync WebDriver is used.
* Update documentations.
* Add more unit tests and update documentation.
* Configure test.dart so that web_extension_test will be executed with --platform=chrome.
* Revert unnecessary changes.
* Add new file path for Windows to blacklist.
* Reconstruct the structure of flutter_driver/test/src folder to remove filtering logic in dev/bots/test.dart/
* Fix path to web_extension_test.dart.
* Add instructions for how to use WebFlutterDriver.
* Update getLayerTree to use sendCommand instead of _sendCommand.
* Update pubspec files.
2019-12-18 10:45:39 -08:00
Shi-Hao Hong
c319f5f8d8
gen_l10n localizations date formatting (simple messages) ( #47006 )
...
* Implement date parsing for the gen_l10n tool
2019-12-17 14:03:43 -08:00
Shi-Hao Hong
7874bca248
Move localization executables to bin folder ( #46251 )
2019-12-16 17:30:57 -08:00
Shi-Hao Hong
e7fec2bc33
Add helpful message about how to use localizationsDelegates list ( #46250 )
2019-12-13 12:00:35 -08:00
Shi-Hao Hong
2eed59c1d5
Add gen_l10n sorting tests ( #46247 )
...
* Add tests for sorting arbPathString, supportedLocales and supportedLanguageCodes alphabetically
* Plural arbPathStrings
* Factor out singleZhMessageArbFileString
* Make translations more accurate and generic
2019-12-13 10:03:56 -08:00
Shi-Hao Hong
37e66b2179
gen_l10n.dart tool testing ( #44856 )
...
* Add tests to gen_l10n.dart tool
* Separate out LocalizationsGenerator class to improve testability of code
* Add testing dependencies to dev/tools
* Integrate dev/tools testing to flutter CI
* Restructure dev/tools folder for testing
* Fix license headers
2019-12-06 11:35:08 -08:00
Alexandre Ardhuin
ec1a015045
implicit-casts:false in dev ( #45787 )
2019-12-05 22:34:06 +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
Per Classon
b5a85fcf48
Allow plural localized strings to not specify every case ( #45168 )
...
* Allow plural localized strings to not specify every case
2019-11-19 18:58:28 +01:00
Jonah Williams
e77c24ef91
Update package test ( #44882 )
2019-11-14 09:31:36 -08:00
Shi-Hao Hong
a872a701c3
Canonicalize locale string in gen_l10n.dart
( #44758 )
...
* Canonicalize locale string for gen_l10n.dart script
* Refresh stocks example to use canonicalized locale
2019-11-13 10:15:24 -08:00
Shi-Hao Hong
0d348138aa
Sort locales and method/properties/getters alphabetically ( #44761 )
...
* Sort locales and method/properties/getters alphabetically
* Refresh stocks example to show proper sorting
2019-11-13 10:14:53 -08:00
Jonah Williams
a901b650b6
Update meta to 1.1.8 ( #44584 )
2019-11-12 13:48:42 -08:00
Shi-Hao Hong
2b498567a4
Sort Localization generation output ( #44743 )
...
* Sort Localization generation output
- When creating locales that were assumed from existing locales, the
file that is used is non-deterministic. This adds a sort to the iterator
to ensure that the same existing locale is used to generate the assumed
locale
- When generating material, cupertino and date localizations, the generated getters were not sorted. This
introduces an alphabetic sort
* remove main.dart.snapshot
2019-11-12 12:50:51 -08:00
Shi-Hao Hong
159a47da64
l10n tool improvements, stocks app i18n refresh ( #44473 )
...
* Add check for placeholders being an empty map
* Remove unnecessary properties from en_ES.arb in the stocks example
* Use getter instead of methods in the stocks example
* Fixed "annotating types for function expression parameters" lint issue from generated localizations delegate code
2019-11-11 14:42:29 -08:00
Shi-Hao Hong
e7d78b69a1
Use raw string for l10n description ( #44451 )
...
* Use raw string for l10n description
* Stock app refresh
2019-11-08 19:34:37 -08:00
Ian Hickson
1ce4a4f36f
Make sure all our .dart files have license headers ( #44467 )
2019-11-08 16:53:21 -08:00
Greg Spencer
c921c5ae67
Add macOS fn key support. ( #44410 )
...
This adds support for the fn key on macOS. It adds it to the key mappings as a supplemental mapping that overwrites the one from the Chrome headers, since the chrome headers have a TODO, but no implementation of the key.
Also, ignore the fn key entirely on macOS. This is because On macOS laptop keyboards, the fn key is used to generate home/end and f1-f12, but it ALSO generates a separate down/up event for the fn key itself. Other platforms hide the fn key, and just produce the key that it is combined with, so to keep it possible to write cross platform code that looks at which keys are pressed, the fn key is ignored.
2019-11-08 16:30:38 -08:00
Shi-Hao Hong
b883624c75
l10n tool improvements, stocks app refresh ( #44313 )
...
* Add pubspec.yaml comment
* Add --help flag
2019-11-06 18:52:24 -08:00
Shi-Hao Hong
3e4bf5757d
Update Stocks example using i18n tool ( #44223 )
...
* Use l10n tool to generate stocks i18n files
* Rename *_en_EN.arb to *_en_US.arb
* Fix l10n script
2019-11-06 12:52:03 -08:00
Shi-Hao Hong
ede637a759
l10n Localizations and LocalizationsDelegate Generation Tool ( #43934 )
...
*Starting with arb files in lib/l10n, the tool creates the following by default:
1. An AppLocalizations class containing:
- an `AppLocalizationsDelegate`
- a `supportedLocales` property that returns a list of all supported locales.
- a `localizationsDelegate` property that returns a list containing this delegate along with `GlobalMaterialLocalizations.delegate`, `GlobalCupertinoLocalizations.delegate`, and `GlobalWidgetsLocalizations.delegate`.
2. One Dart `message_<locale>.dart` file for each arb file, as well as a `messages_all.dart` file that performs the locale message lookup. The tool infers the locale of each arb file from the @@Locale property or the arb file's name.
2019-11-04 18:27:38 -08:00
Ian Hickson
292519be98
Roll dart package dependencies ( #42496 )
2019-10-11 11:12:31 -07:00
Mouad Debbar
e045ef2969
Keymap for Web ( #41397 )
2019-10-01 14:10:53 -07:00
Alexandre Ardhuin
a36f809e27
add missing trailing commas (in dev/) ( #40704 )
2019-09-19 07:54:46 +02:00