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 d3387bc916da209506db3f07976208bb2f81f911.
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