Commit Graph

633 Commits

Author SHA1 Message Date
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