037458a5bac2968eb0415c408d68c013d177ea3e |
05-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
Catch incompatible API regressions. Ignore deprecation, synchronized, and throws definitions. Look through full inheritance hierarchy to catch refactored classes like BaseBundle. Change-Id: I10ab0b4a0ef64e7508f38d0c223f08711293d643
pilint.py
|
1498f9c615395de17e11204b962d7d925e5f222d |
04-Sep-2014 |
Jeff Sharkey <jsharkey@android.com> |
Add blame to API lint, some exemptions. Now offers to parse the output of git blame, and includes the last person to modify that API for each reported failure. Add more exemptions, and check for boolean setFoo() method inside a separate Builder inner class. Change-Id: Id32dcbd5edf17d2360e4f782110bc1c445f7936e
pilint.py
|
294f0de15b510afc06a436bf7cd45d99512c71d3 |
30-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
More API lint checks. When offering a helper Service, etc, all platform provided methods should be marked final. Otherwise, if available for developer to override, they should follow onFoo() style naming. Catch anyone returning concrete collections types, and look for overlapping flags. Change-Id: I29d95f3dff78a4da968a46f10be89eada509648c
pilint.py
|
932a07cefea64e858fc999da4be577b10b59fd9f |
29-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Teach API lint about package layering! Now it can identify layering violations, like when something deep in android.os depends on android.app. Change-Id: I94606c642195b3ed7558ff6979ed4a181cd85fa2
pilint.py
|
8190f4885b3eb34231877003a583116a0e82826e |
28-Aug-2014 |
Jeff Sharkey <jsharkey@android.com> |
Lint tool for current.txt. Detects common public API mistakes, making it easy to quickly scan across all changes in a new API level. Builds in-memory representation of the current API, then runs various detectors over the classes. It collects failures, and can ignore known failures from a previous API level. Example usage: $ python frameworks/base/tools/apilint/apilint.py \ frameworks/base/api/current.txt \ prebuilts/sdk/api/21.txt Change-Id: Ie1f88894baf9f79e4b11e78c47f848ea5e25fc25
pilint.py
|