- 09 Dec, 2021 1 commit
-
-
sigmundch authored
-
- 08 Oct, 2021 3 commits
-
-
Ian Hickson authored
-
Zachary Anderson authored
This reverts commit 5fd259be.
-
Ian Hickson authored
-
- 05 Oct, 2021 1 commit
-
-
Clement Skau authored
-
- 04 Oct, 2021 1 commit
-
-
Greg Spencer authored
This does a cleanup of the examples, removing all of the "section" markers and extra comments that we don't need anymore now that the samples are no longer in the source code. It also removes the --template arguments from the {@tool dartpad} and {@tool sample} directives, since those are no longer used. It converts two examples that I discovered were still embedded into linked examples in the examples folder. I didn't delete the templates from the snippets config folder yet, because there are still embedded samples in the dart:ui package from the engine that use them. Once dart:ui no longer uses the templates, they can be removed. I bumped the version of the snippets package to pick up a change that allows removal of the --template argument.
-
- 28 Sep, 2021 1 commit
-
-
Daco Harkes authored
-
- 20 Sep, 2021 1 commit
-
-
- 30 Aug, 2021 1 commit
-
-
Greg Spencer authored
-
- 13 Aug, 2021 1 commit
-
-
Greg Spencer authored
-
- 12 Aug, 2021 1 commit
-
-
Greg Spencer authored
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.
-
- 04 Aug, 2021 1 commit
-
-
Greg Spencer authored
This fixes how the sample analyzer handles missing_identifier errors. It was looking at the wrong line, and missing an else clause, so it was silently allowing missing_identifier errors to pass. In addition, this fixes the sample generation so that it uses the correct filename for the output files: it previously was looking for the first line that had a filename, which was meant to indicate a non-generated line. This change adds a new Line.generated constructor for generated lines, so that they can also have the correct filename associated with them.
-
- 10 Jun, 2021 1 commit
-
-
Greg Spencer authored
This switches the sample analysis code to use package:flutter_lints instead of the flutter repo analysis options, so that they are compatible with a similar change to DartPad.
-
- 07 Jun, 2021 1 commit
-
-
Sam Rawlins authored
-
- 21 May, 2021 1 commit
-
-
nt4f04uNd authored
-
- 07 May, 2021 1 commit
-
-
Greg Spencer authored
-
- 03 May, 2021 1 commit
-
-
Greg Spencer authored
This turns off the "directives_ordering" lint when analyzing samples, since it's indeterminate what the ordering will be, given that samples derive their imports both from the template and the example code. This is temporary to avoid broken builds, but the correct solution is to reorder the output so that the imports are ordered properly so that we give the proper example for our users.
-
- 30 Apr, 2021 1 commit
-
-
Greg Spencer authored
-
- 23 Apr, 2021 1 commit
-
-
Phil Quitslund authored
-
- 22 Apr, 2021 1 commit
-
-
Greg Spencer authored
-
- 12 Mar, 2021 1 commit
-
-
Greg Spencer authored
Update samples to use repo analysis options, Fix sample templates and a ton of analyzer issues (#77868)
-
- 02 Mar, 2021 1 commit
-
-
Michael Goderbauer authored
-
- 14 Dec, 2020 1 commit
-
-
Michael Goderbauer authored
-
- 11 Dec, 2020 1 commit
-
-
Michael Goderbauer authored
-
- 09 Nov, 2020 1 commit
-
-
Michael Thomsen authored
-
- 27 Oct, 2020 1 commit
-
-
Jonah Williams authored
-
- 23 Sep, 2020 1 commit
-
-
Jonah Williams authored
[flutter_tools] only lock if an upgrade/download will be performed (linux/macos) and output building messages to stderr (#65422) Currently an invocation of flutter/dart will always attempt to acquire a lock. This can pose problems for tools that attempt to run multiple dart/flutter instances. Instead update the lock logic (on Linux/macOS) so that we only attempt to acquire it if an update/snapshot needs to be performed. To avoid repeatedly performing downloads/snapshots if multiple flutter/dart invocations are fired off concurrently when an update needs to be performed, do a second check of the download/snapshot condition after the lock is released. Additionally, moves all of the building/debug output to stderr on both the bash and batch scripts. This allows machine mode consumption of the tool to ignore needing to parse/handle the rebuild messages.
-
- 08 Jan, 2020 1 commit
-
-
Greg Spencer authored
-
- 07 Jan, 2020 1 commit
-
-
Alexandre Ardhuin authored
-
- 16 Dec, 2019 1 commit
-
-
Ian Hickson authored
-
- 05 Dec, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 27 Nov, 2019 1 commit
-
-
Ian Hickson authored
* 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
-
- 19 Nov, 2019 1 commit
-
-
Greg Spencer authored
This fixes the sample code analysis to treat dartpad snippets in the same way as snippet snippets, which it wasn't until now (the snippet generator was treating them as "samples"), and some errors crept in. This PR also fixes those errors. Also, added a --verbose option to the sample analyzer.
-
- 17 Sep, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 02 Jul, 2019 1 commit
-
-
Alexandre Ardhuin authored
* more ui-as-code * address review comments
-
- 01 Jul, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 27 Jun, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 25 Jun, 2019 1 commit
-
-
Alexandre Ardhuin authored
-
- 21 May, 2019 1 commit
-
-
Michael Thomsen authored
-
- 02 Apr, 2019 1 commit
-
-
LongCatIsLooong authored
updates the regex the analyzer uses, so it should be able to recognize expressions such as const Foo a = Foo(); as "other code" rather than a constructor call.
-