Commit f573af9
[api-xml-adjuster] Don't parse JavaDoc (#982)
Bumps to Java.Interop/master/e1ad5066.
When adding a new API level, instead of using `class-parse -docspath`
to parse JavaDoc/AndroidDoc/etc., use `class-parse --parameter-names`
with a "JavaApiParameterNames" file generated by
[`xamarin-android-docimporter-ng`][import].
[import]: https://github.com/xamarin/java.interop/tree/e1ad506606/build-tools/xamarin-android-docimporter-ng/xamarin-android-docimporter-ng
Eventually we'll remove `src/Mono.Android/Profiles/api*.xml.in`
and instead generate those files at build-time by processing
`android.jar`.
Update `build-tools/api-xml-adjuster` to use the
JavaApiParameterNames files and generate `api-*.xml.in`, which now
takes only a few minutes.
Regenerate `src/Mono.Android/Profiles/api-*.xml.in` using the new
`api-xml-adjuster`. This results in some fixes, e.g.
`NEGATIVE_INFINITY` should be `(-1.0f / 0.0f)`, not `-Infinity`,
and some "parameter name regressions," e.g. in `api-24.xml.in`
some parameter names were changed *to* `p0` and other meaningless
names. *This is not breakage*; `api-merge` uses the previous
API level parameter names when it encounters `p0`/etc. names,
so these changes don't result in any API breakage.1 parent 3750fbf commit f573af9
29 files changed
Lines changed: 340878 additions & 167 deletions
File tree
- build-tools/api-xml-adjuster
- external
- src/Mono.Android/Profiles
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 55 | + | |
62 | 56 | | |
63 | 57 | | |
64 | 58 | | |
| |||
Submodule Java.Interop updated from 1bcfcc5 to e1ad506
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74239 | 74239 | | |
74240 | 74240 | | |
74241 | 74241 | | |
74242 | | - | |
| 74242 | + | |
74243 | 74243 | | |
74244 | | - | |
| 74244 | + | |
74245 | 74245 | | |
74246 | | - | |
| 74246 | + | |
74247 | 74247 | | |
74248 | 74248 | | |
74249 | 74249 | | |
| |||
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91506 | 91506 | | |
91507 | 91507 | | |
91508 | 91508 | | |
91509 | | - | |
| 91509 | + | |
91510 | 91510 | | |
91511 | | - | |
| 91511 | + | |
91512 | 91512 | | |
91513 | | - | |
| 91513 | + | |
91514 | 91514 | | |
91515 | 91515 | | |
91516 | 91516 | | |
| |||
0 commit comments