Commit Graph

1808 Commits

Author SHA1 Message Date
Ian Hickson
66821916dc More license header fixes (#44776) 2019-11-13 13:17:22 -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
Jenn Magder
2d42b43a50 Turn on bitcode for integration tests and add-to-app templates (#44633) 2019-11-12 18:00:31 -08:00
Jonah Williams
9acf10541b disable chrome devicelab test (#44746) 2019-11-12 15:25:08 -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
Janice Collins
cf08a995f6 Update dartdoc to 0.29.1 (#44466) 2019-11-11 13:23:05 -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
Jenn Magder
856a90e67c Add swift_versions to plugin template podspec, include default CocoaPod version (#44324) 2019-11-08 18:00:01 -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
Collin Jackson
03ac37af08 Re-enable docs uploading (#44454)
* Revert "Turn off docs upload temporarily (#44365) (#44413)"

This reverts commit 8f2ea9d0e9.

* Re enables docs upload
2019-11-08 12:47:26 -08:00
Jonah Williams
eeb88f4385 Revert "Demonstrate that artifact invalidation works (#44312)" (#44463)
This reverts commit c1d029b84f.
2019-11-08 12:44:24 -08:00
Jonah Williams
69a783b806 switch web test to macOS (#44421) 2019-11-08 12:43:08 -08:00
Jonah Williams
978fada33c Refactor flutter.gradle to use assemble directly (#43876)
Removes multiple re-entrant calls of bundle and aot and replaces them with a single call to assemble. This restores full caching and will allow follow-up performance improvements when building multiple ABIs
2019-11-08 12:41:24 -08:00
Jonah Williams
c1d029b84f Demonstrate that artifact invalidation works (#44312) 2019-11-08 12:32:55 -08:00
Jonah Williams
cc51ad5d08 Reland: enable usage of experimental web compiler (#44400) 2019-11-07 20:13:02 -08:00
Jenn Magder
8f2ea9d0e9 Turn off docs upload temporarily (#44365) (#44413) 2019-11-07 19:16:04 -08:00
Jonah Williams
7535ef735f Revert "Enable usage of experimental incremental compiler for web (#43576)" (#44396)
This reverts commit e5d6d92498.
2019-11-07 16:32:20 -08:00
Jonah Williams
e5d6d92498 Enable usage of experimental incremental compiler for web (#43576) 2019-11-07 16:29:51 -08:00
Collin Jackson
62b7ce306d Revert "Turn off docs upload temporarily (#44365)" (#44371)
* Revert "Turn off docs upload temporarily (#44365)"

This reverts commit 3dd6741078.

* show contents of firebase-debug.log
2019-11-07 15:21:45 -08:00
Emmanuel Garcia
2c80bc973d Flip enable-android-embedding-v2 flag (#44369) 2019-11-07 15:18:56 -08:00
xster
604f176194 Add more flutter build ios-framework tests before the impending jonahpocalypse (#44308) 2019-11-07 13:12:56 -08:00
Greg Spencer
3dd6741078 Turn off docs upload temporarily (#44365)
Turning off Docs upload temporarily until Firebase outage is over.
Landing on red to fix the build.
2019-11-07 11:29:49 -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
xster
d2e87a5d2c Build ios framework (#44065) 2019-11-06 14:54:15 -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
chunhtai
ed82bb821c revert add new enum change (#44281) 2019-11-06 11:07:24 -08:00
xster
cf95cd4394 Add v1 plugin register function into v2 plugin template (#44166) 2019-11-05 20:03:50 -08:00
chunhtai
7aebde1904 added new lifecycle state (#39945)
* added new lfecycle state

* update

* update
2019-11-05 20:03:09 -08:00
Yegor
f6eb129597 fix text tests on the web (#44021) 2019-11-05 10:05:16 -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
Jenn Magder
55df81e8eb Make module_test_ios pass (#44147) 2019-11-04 17:44:55 -08:00
Emmanuel Garcia
0ccde797b0 Reland: Migrate examples to Android embedding v2 (#44139) 2019-11-04 17:25:25 -08:00
Darren Austin
b815f76293 Added tests for the new Android heading semantic flag to android_semantics_testing (#44031)
Added tests for the new Android heading semantic flag to android_semantics_testing.
2019-11-04 16:35:04 -08:00
Emmanuel Garcia
ee032f67c7 flutter build aar should also build plugins as AARs (#43994) 2019-11-02 09:46:25 -07:00
Emmanuel Garcia
ade8dfac3d Move the plugin registrant to io.flutter.plugins and add the @Keep annotation (#44011) 2019-11-01 16:58:26 -07:00
Dan Field
93ab9e64e7 Ignore generated .project files for VSCode Java Plugin (#44019) 2019-11-01 15:57:43 -07:00
Janice Collins
f3a6b0da92 Upgrade dartdoc to 0.29.0 (#43990) 2019-11-01 11:17:01 -07:00
Emmanuel Garcia
694b2d89e0 Revert: Migrate examples to Android embedding v2 (#43997)
This reverts commit 99cd440384.
2019-11-01 11:13:39 -07:00
Greg Spencer
3a30722fda Add convenience accessor for primaryFocus (#43859)
This adds accessors for WidgetsBinding.instance.focusManager and WidgetsBinding.instance.focusManager.primaryFocus so that they can be more easily found in IDEs and accessed.

This adds a top level getter for WidgetsBinding.instance.focusManager.primaryFocus called primaryFocus, and a static accessor FocusManager.instance that returns WidgetsBinding.instance.focusManager.
2019-10-31 18:02:31 -07:00
Emmanuel Garcia
99cd440384 Revert "Revert "Reland: Migrate examples new embedding (#43868)" (#43885)" (#43939) 2019-10-31 16:17:31 -07:00
Emmanuel Garcia
7fe4ea2475 Fix stdout test (#43927) 2019-10-31 14:29:21 -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
Greg Spencer
a1c5e3354b Re-Land: Add focus nodes, hover, and shortcuts to switches, checkboxes, and radio buttons. (#43657)
This re-lands the change that adds focus nodes, hover, and shortcuts to switches, checkboxes, and radio buttons. (#43213), with fixes for the web tests that weren't enabled in the master that it was synced to when I first landed it.
2019-10-29 17:09:26 -07:00
Christopher Fujino
20af1f25db Re-land fix docker build and deploy_gallery-macos (#43654) 2019-10-29 14:29:27 -07:00
Christopher Fujino
261594e785 add libzip cache artifact (#43677) 2019-10-29 14:29:00 -07:00