Commit Graph

121 Commits

Author SHA1 Message Date
Michael Goderbauer
25e38a2a87 Bump lower Dart SDK constraints to 3.0 & add class modifiers (#122546)
Bump lower Dart SDK constraints to 3.0 & add class modifiers
2023-03-21 20:21:58 +00:00
Michael Goderbauer
cb123947df Update a TODO in dartdoc.dart (#121620)
Update a TODO in dartdoc.dart
2023-03-01 18:39:12 +00:00
Lioness100
26b6c1bedd Fix typos (#121171)
* Fix typos

* lowercase animated & opacity

* Undo typo fix

---------

Co-authored-by: Michael Goderbauer <goderbauer@google.com>
2023-02-23 19:43:21 +00:00
Michael Goderbauer
99b5262b21 Remove unnecessary null checks in dev/tools (#118845) 2023-01-20 04:06:09 +00:00
Michael Goderbauer
1adc27503f Bump min SDK to 2.19.0-0 (#117345)
* Bump min SDK to 2.19.0-0

* fix
2022-12-20 00:46:14 +00:00
Jason Simmons
b4304dadc5 Update the Dart language version in the pubspec generated by the dartdoc script (#116789) 2022-12-09 11:38:20 -08:00
Siva
7c8e171320 Manual Roll of Flutter Engine from 67254d6e4b03 to 8d83b98c55b3 (#116635)
* Roll Flutter Engine from 67254d6e4b03 to 8d83b98c55b3

* Roll Dart SDK from 35a9facce191 to e517487c5679 (Dart 3.0) (#38105)

* Bump SDK versions.

* Bump Dart SDK version constraints

* Update shrine package to 2.0.1 (null safe version)

* Fix more tests.

* Include patches from Jason for min android sdk version

* Fix analyzer warning
2022-12-08 18:03:51 -08:00
Greg Spencer
d0491dcf15 Add the channel parameter to the Dartpad samples (#115018)
* Add the channel paramter to the Dartpad samples

* Add sanity check test

* Make sample_id more generic
2022-11-09 23:47:05 +00:00
Greg Spencer
1f0760a1cc Fix API docs CSS files so dark mode works (#112023) 2022-09-21 18:33:08 +00:00
Pierre-Louis
8853926601 Deprecate ThemeData errorColor and backgroundColor (#110162) 2022-09-02 04:02:55 +00:00
Pierre-Louis
0c2f7bc2a2 Remove errant double spaces (#110758) 2022-09-02 04:00:58 +00:00
Michael Goderbauer
10a7c9ba22 Unify analysis options (#108462) 2022-07-28 09:07:49 -07:00
Alexandre Ardhuin
93a74ca9f2 remove unused members in executable libs (#107464) 2022-07-12 21:41:08 +00:00
Flutter GitHub Bot
7b6040ce27 Marks Linux_android tiles_scroll_perf__timeline_summary to be unflaky (#98990) 2022-02-28 12:26:11 -08:00
Jenn Magder
d1265ad308 Run update-packages (#99038) 2022-02-25 12:26:16 -08:00
Greg Spencer
c7643cf54e Fix samples so that they present properly in the docs (#97224) 2022-02-24 18:51:22 -08:00
Jenn Magder
0eae276e68 Remove cli_utils from allow-list (#99037) 2022-02-23 18:54:23 -08:00
Devon Carew
45f8c39052 use 'dart pub' instead of calling the pub executable directly (#97749)
use 'dart pub' instead of calling the pub executable directly
2022-02-04 12:45:20 -08: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
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
Christopher Fujino
2ba15a5aba teach dartdoc.dart about LUCI_BRANCH env var (#86592) 2021-07-19 12:20:00 -07:00
Anis Alibegić
d90ee21271 Migrate dartdoc to null safety (#84153) 2021-06-07 17:09:03 -07:00
Dan Field
2d8d105256 Delete obsolete TODO (#83967) 2021-06-03 23:34:04 -07:00
Christopher Fujino
8654e4ae3e begin migrating //flutter/dev/tools to null-safety (#80834) 2021-04-23 20:24:03 -07:00
Michael Goderbauer
7b251f5f37 Enable use_function_type_syntax_for_parameters lint (#77163) 2021-03-04 08:59:17 -08:00
Michael Goderbauer
5d1306e7ab Update outdated links (#73514) 2021-01-07 16:28:12 -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
Janice Collins
a5519dc75e Update dartdoc to 0.37.0 (#70882) 2020-11-20 11:18:07 -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
Janice Collins
4a59ee9c31 Updated dartdoc to 0.36.0 (#68641) 2020-10-21 08:47:02 -07:00
Michael R Fairhurst
7f3c9b6bda Remove unused 'dart:async' imports. (#65568) 2020-09-16 14:14:06 -07:00
Michael Goderbauer
e5ca020d66 Make dartdoc warnings fatal for flutter_test (#62614) 2020-08-03 10:46:04 -07:00
Michael Goderbauer
6ca8fda978 After cleaning up 812 warnings: Make warnings fatal in dartdocs (#62553) 2020-07-30 14:11:23 -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
Kate Lovett
cbc121e392 ToDo Audit - Cupertino+ Library (#54798) 2020-04-22 16:33:01 -07:00
Janice Collins
601c8dbebb Update dartdoc to 0.30.2 (#52022) 2020-03-19 14:56:03 -07:00
Alexandre Ardhuin
7d7ac7c32b start multiline strings with newline (#50825) 2020-02-20 10:16:28 +01:00
Alexandre Ardhuin
f15c887c63 change quote to avoid escapes (#50368) 2020-02-11 20:58:27 +01:00
Alexandre Ardhuin
4f9b6cf017 enable lint prefer_final_in_for_each (#47724) 2020-01-07 16:32:04 +01: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
Alexandre Ardhuin
df4bf453ab more UI-as-code (#35516) 2019-09-17 16:23:44 +02:00
Keerti Parthasarathy
f3674ccfd7 Update dartdoc to 28.4 (#37314) 2019-07-31 13:41:27 -07:00
Alexandre Ardhuin
919dcf53f3 enable lints prefer_spread_collections and prefer_inlined_adds (#35189) 2019-06-27 21:23:16 +02:00
Dan Field
2ee297b0d0 Fix source-links (#34831) 2019-06-20 22:08:52 -07:00
Dan Field
1e05bb5b5d Make docs do less work/be less flaky (#34818) 2019-06-20 17:59:37 -07:00