Skip to content

Commit 0726800

Browse files
authored
Merge pull request googlesamples#49 from tnorbye/snapshot5
Snapshot5
2 parents d2c444c + fc57872 commit 0726800

39 files changed

+2280
-382
lines changed

docs/README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,5 @@ snippets) but are readable and editable as markdown.)
88

99
Let's go there right now: [Link](README.md.html)
1010

11-
There is also a pre-rendered HTML version of the API Guide
12-
[here](book.html) suitable for online hosting.
13-
14-
Finally, a (usually recent) snapshot of these docs are hosted
11+
A (usually recent) snapshot of these docs are hosted
1512
[here](http://googlesamples.github.io/android-custom-lint-rules/).

docs/README.md.html

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,23 @@
1717
* Documents for users of lint, in the `usage` folder:
1818
- [Complete Book](user-guide.md.html), containing all of the below
1919
documents as chapters, suitable for offline reading
20-
- [Issue documentation](checks/index.md.html) which lists all the
21-
available checks and provides documentation for each one.
20+
- [Issue documentation](https://googlesamples.github.io/android-custom-lint-rules/checks/index.md.html)
21+
which lists all the available checks and provides documentation
22+
for each one.
2223
- [Performance Tuning Tips](usage/performance-tuning.md.html)
2324
- [How to suppress incidents](usage/suppressing.md.html)
2425
- [How to use baselines](usage/baselines.md.html)
2526
- [How to use `lint.xml` files](usage/lintxml.md.html)
27+
- [Gradle plugin DSL](usage/agp-dsl.md.html)
28+
- [Lint command line](usage/flags.md.html)
2629
- [Environment variables and properties](usage/variables.md.html)
2730
* Documents for authors of additional lint checks, in the
2831
`api-guide` folder:
2932
- [Complete Book](api-guide.md.html), containing all of the below
3033
documents as chapters, suitable for offline reading
3134
- [Basics](api-guide/basics.md.html)
3235
- [A Sample Lint Check](api-guide/example.md.html)
36+
- [Analyzing data flow](api-guide/dataflow-analyzer.md.html)
3337
- [Publishing a Lint check](api-guide/publishing.md.html)
3438
- [Unit Testing](api-guide/unit-testing.md.html)
3539
- [Adding Quick Fixes](api-guide/quickfixes.md.html)
@@ -44,7 +48,11 @@
4448
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4549

4650
Documentation History:
47-
* May 2021: Adding documentation for individual lint issues
51+
* June 2021: Added documentation for the
52+
[dataflow analyzer](api-guide/dataflow-analyzer.md.html),
53+
[Lint Gradle DSL](usage/agp-dsl.md.html) and
54+
[command line flags](usage/flags.md.html).
55+
* May 2021: Added documentation for individual lint issues
4856
* March 2021: Initial version
4957

5058
<!-- Markdeep: --><style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src="markdeep.min.js" charset="utf-8"></script><script src="https://morgan3d.github.io/markdeep/latest/markdeep.min.js" charset="utf-8"></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script>

docs/api-guide.html

Lines changed: 536 additions & 55 deletions
Large diffs are not rendered by default.

docs/api-guide.md.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
(insert api-guide/unit-testing.md.html here)
1313
(insert api-guide/quickfixes.md.html here)
1414
(insert api-guide/partial-analysis.md.html here)
15+
(insert api-guide/dataflow-analyzer.md.html here)
1516
(insert api-guide/faq.md.html here)
1617

1718
# Appendix: Recent Changes

docs/api-guide/changes.md.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,21 @@
103103
* For quickfixes, the `independent` property had inverted logic;
104104
this has now been reversed to follow the meaning of the name.
105105

106+
* The location range returned when looking up the location for a call
107+
will now include arguments outside of the call range itself. This is
108+
important when the code is using Kotlin's assignment syntax for
109+
calling methods as if they are properties.
110+
111+
* Lint's unit testing framework now checks all `import` statements in
112+
test files to make sure that they resolve. This will help catch
113+
common bugs and misunderstandings where tests reference frameworks
114+
that aren't available to lint in the unit test, and where you need to
115+
either add the library or more commonly just add some simple stubs.
116+
If the import statements do not matter to the test, you can just mark
117+
the test as allowing compilation errors, using
118+
`.allowCompilationErrors()` on the `lint()` task.
119+
120+
* The [data flow analyzer](dataflow-analyzer.md.html) has been
121+
significantly improved, particularly around Kotlin scoping functions.
122+
106123
<!-- Markdeep: --><style class="fallback">body{visibility:hidden;white-space:pre;font-family:monospace}</style><script src="markdeep.min.js" charset="utf-8"></script><script src="https://morgan3d.github.io/markdeep/latest/markdeep.min.js" charset="utf-8"></script><script>window.alreadyProcessedMarkdeep||(document.body.style.visibility="visible")</script>

0 commit comments

Comments
 (0)