Commit Graph

1818 Commits

Author SHA1 Message Date
chunhtai
7e1920b817 revert added lifecycle enum (#45119) 2019-11-18 13:38:47 -08:00
chunhtai
439d798712 fix ios_add2app_life_cycle license (#45115) 2019-11-18 11:33:42 -08:00
chunhtai
af48f71497 reland add new enum change (#45012)
This reverts commit 75f310791f.
2019-11-18 10:04:09 -08:00
Ian Hickson
62e4ab87b3 Update our deprecation style. (#44618) 2019-11-15 19:21:53 -08:00
Kate Lovett
7aa5b07537 Adding flutter_goldens package tests (#44479) 2019-11-15 10:29:19 -08:00
Greg Spencer
dcc4b82540 Fix snippets to include element ID in the output sample. (#44787)
This fixes the snippet code output so that it includes the name of the element that it is a snippet for in the first line.
2019-11-15 10:23:04 -08:00
Kaushik Iska
75f310791f Revert "reland add new enum change (#44281) (#44487)" (#44947)
This reverts commit f0794917fc.
2019-11-14 16:49:43 -08:00
chunhtai
f0794917fc reland add new enum change (#44281) (#44487)
* reland add new enum change (#44281)

This reverts commit ed82bb821c.
2019-11-14 13:27:38 -08:00
Ian Hickson
eae05c7daf Test framework for analyze.dart (#44772)
* Prepare analyze.dart for testing.

* Reorder the file for easier understanding

* Add a test for analyze.dart

* Fix review comments
2019-11-14 13:19:40 -08:00
Jonah Williams
e77c24ef91 Update package test (#44882) 2019-11-14 09:31:36 -08:00
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