History log of /external/doclava/src/com/google/doclava/Stubs.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c79f9bba0a73c75478892dd573c0af853ec9ed20 15-Jun-2015 C. Sean Young <csyoung@google.com> am 9647be42: am 0ec3764e: Fix a bug where \' (apostrophe/single quote) was being escaped with &pos instead of the correct &apos.

* commit '9647be429b6b4564dc7b38aca526791a72a1866d':
Fix a bug where ' (apostrophe/single quote) was being escaped with &pos instead of the correct &apos.
9647be429b6b4564dc7b38aca526791a72a1866d 12-Jun-2015 C. Sean Young <csyoung@google.com> am 0ec3764e: Fix a bug where \' (apostrophe/single quote) was being escaped with &pos instead of the correct &apos.

* commit '0ec3764e8e76ff8fef5c3d8a6754cd5e760c3fba':
Fix a bug where ' (apostrophe/single quote) was being escaped with &pos instead of the correct &apos.
0ec3764e8e76ff8fef5c3d8a6754cd5e760c3fba 12-Jun-2015 C. Sean Young <csyoung@google.com> Fix a bug where ' (apostrophe/single quote) was being escaped with &pos instead of the correct &apos.

Change-Id: I6f0b5b7e7beed2ca7878460d99619f0a016ebed1
/external/doclava/src/com/google/doclava/Stubs.java
34cf9d6e3a6448578438e925384114177de3978a 30-Apr-2015 Chris Banes <chrisbanes@google.com> Add wildcard support to stubpackages DO NOT MERGE

Allows things like -stubpackages my.package.* which is
really useful for the support lib API file generation.
The alternative is keeping a list of each library's
package, which is brittle to future changes.

Change-Id: Ibd49cc0348e2767b2c0fe6f14e7253b6d8e04c7b
(cherry picked from commit 372e36e9014ff0d0ff478bd63c374c0068564be1)
/external/doclava/src/com/google/doclava/Stubs.java
372e36e9014ff0d0ff478bd63c374c0068564be1 30-Apr-2015 Chris Banes <chrisbanes@google.com> Add wildcard support to stubpackages

Allows things like -stubpackages my.package.* which is
really useful for the support lib API file generation.
The alternative is keeping a list of each library's
package, which is brittle to future changes.

Change-Id: Ibd49cc0348e2767b2c0fe6f14e7253b6d8e04c7b
/external/doclava/src/com/google/doclava/Stubs.java
4863961f4496d686d0ea56944b5912a9122f086d 01-Apr-2015 Ying Wang <wangying@google.com> Fail doc/api generation when a private super class is exposed.

Added a new error type PRIVATE_SUPERCLASS, which
fails the doc/api generation when a public class's super class is private
and not marked as "@hide".
Note the difference between PRIVATE_SUPERCLASS and the existing
HIDDEN_SUPERCLASS. See their usage in Stubs.java.
HIDDEN_SUPERCLASS: a super class is marked as "@hide". Currently doclava
strips such a class from the doc/api file and gives a warning by default;
PRIVATE_SUPERCLASS: a super class is private but not marked as "@hide".
Previously doclava just outputs the private class to doc/api file. But the
generated api file will fail apicheck. With this change, we fail the doc/api
generation in that case.

Bug:19994527
Change-Id: I7971e40bf7280187253d003cc90ab80d13c986c4
/external/doclava/src/com/google/doclava/Stubs.java
74512bea742c1b962d64671fea7720ba38748655 10-Mar-2015 Jeff Arneson <jarneson@google.com> Fix a NPE in the type parameter checking in stubs

Bug: 19679810
Change-Id: I230b85b1366a894977f0b390f667718103e72679
/external/doclava/src/com/google/doclava/Stubs.java
22ddcbd20a258d0bab1ac7541f44acb68e9537bb 28-Jan-2015 Jeff Arneson <jarneson@google.com> Add error for when method return/parameter type has type parameter that is hidden

The error is hidden by default, it can be enabled by using
the flag -error 121

BUG: 19091604
Change-Id: I28805fa167a599a2ff6baef5d0853fdf863639c2
/external/doclava/src/com/google/doclava/Stubs.java
5db09cd932e64b0c160cac4fdf162d225b220e5a 15-Aug-2014 Ying Wang <wangying@google.com> Add generics to the field types in the API file.

Bug: 17014855
Change-Id: Id014329254613f04adcb33cd46a2d4930f0c1d91
/external/doclava/src/com/google/doclava/Stubs.java
e64dc94c3548aba038c89438fc9fb492dc678c48 08-Sep-2014 Sergei Datsenko <dats@google.com> Fix incorrect proguard keepfile generation for fields.

Field's type for an array was being printed with extra "[]" at the end.
E.g. "int[][]" instead of "int[]".

Change-Id: I27a915b74a4d996b3ac04840b825e8c2ffd13e4e
/external/doclava/src/com/google/doclava/Stubs.java
ae8cb832ba8239534b7529292065936bdb85b1e3 04-Apr-2014 Ying Wang <wangying@google.com> Add inherited fields from hidden base to the stub classes

Previously if a class implements a hidden interface,
the public fields of the interface appear in the generated docs
(see ClassInfo.makeHDF()), but not in the generated stubs
(thereby not in the SDK's android.jar and the api.txt).
This change fixed the discrepancy.

Bug: 13721174
Change-Id: I2f4d29cec935b81c13414298a4e8f9671d6c8c3f
/external/doclava/src/com/google/doclava/Stubs.java
37abe68eddab604d66d9d7c6eaeed5b0e2b2fc33 26-Mar-2014 Adam Metcalf <gamblore@google.com> Keep all methods that are visible.

allSelfMethods() returns a list of things that meet
the protected visibility level but not including hidden
members.

Classes also call checkLevel() before being added to nonStrippable.

Bug: 13656864
Change-Id: I8ba24c7d8e476cfdd6c68e30f0fe78fdab1a6fe5
/external/doclava/src/com/google/doclava/Stubs.java
5118ffe3bf77ec4efa070f36a7a62fd5d1bf16bf 18-Feb-2014 Hui Shu <hush@google.com> Add support for @removed tag.

@removed tags can be applied to packages, classes, methods, fields
that were once public API, but later removed. Things annotated by
@removed cannot be used by outside developers. But applications compiled
against the old API where the @removed API were still public should
continue to work and we must not delete the @removed APIs from the
source. This fix makes sure of that.

BUG: b/11293324

Change-Id: Iab3a8bdcaa0cb0742501c33e29b8121bc169bf1b
/external/doclava/src/com/google/doclava/Stubs.java
bf322c1b64a9a7f2aade8ba499fcec4bd141a688 06-Jun-2013 Elliott Hughes <enh@google.com> Provide superclassType along with superclass

Follow up to previous change which fixed the API docs but not the API stubs:

commit d894afa28c3fba1aa71058601693617746494a22
Author: Mathieu Chartier <mathieuc@google.com>
Date: Fri Sep 21 15:42:59 2012 -0700

Change hidden super class to use first non-hidden super class

When a subclass has a hidden super class, we now use the first super
class which passes checkLevel as the new super class.

(cherry pick of 0d7a3dd87f2173e8e7d0813c52c042d932b61cff.)

Change-Id: I09e2158328e8fc227c31c6763a30522f073ac2a8
/external/doclava/src/com/google/doclava/Stubs.java
2da2d64196a401f664644619160f8a33eda77d9a 22-Sep-2012 Mathieu Chartier <mathieuc@google.com> Change hidden super class to use first non-hidden super class

When a subclass has a hidden super class, we now use the first super
class which passes checkLevel as the new super class.

(cherry-pick of d894afa28c3fba1aa71058601693617746494a22.)

Change-Id: I8e92ac18575f86081192443e0055a2c42d28c3c3
/external/doclava/src/com/google/doclava/Stubs.java
550a9de05d89f19d1f824fbbb04ba7cd8a1ff86e 24-Jul-2012 Jeff Hamilton <jham@android.com> Turns out passing an array for varargs works.

Change-Id: I653b860c9e21f6685b5ad6c67a83702034d09db9
/external/doclava/src/com/google/doclava/Stubs.java
d6f2c2b6edce46c86581be1f508981742e20fb51 24-Jul-2012 Jeff Hamilton <jham@android.com> Fix arrays on primitives and varargs.

ProGuard doesn't like varargs with Type...
so instead use just ... for the argument
catchall.

Change-Id: Ib25568acd765e3306115ae5690967ab42f2559b4
/external/doclava/src/com/google/doclava/Stubs.java
1e0d370c6a4c165cb8c74f53cb035e5521e0cd87 21-Jun-2012 Jeff Hamilton <jham@android.com> Port over r184 from SVN.

This adds the ability to specify the federation
API definition file locally.

Also fix a bug when parsing doubles and floats
found in 8.xml.

Change-Id: I435298444fcd0337407c09af446cf375d06adc51
/external/doclava/src/com/google/doclava/Stubs.java
6aa428d59fac17013597689fcb9741877d13281c 25-Jun-2012 Jeff Hamilton <jham@android.com> Properly handle array dimentions in keep lists.

Bug: 6722675
Change-Id: I6a372eadaf550cc04525c40b5d7cfac091669618
/external/doclava/src/com/google/doclava/Stubs.java
970f13f08e404fa1e265e7ab24050f5a8c6e4603 22-Jun-2012 Jeff Hamilton <jham@android.com> Add proper keep list generation.

Change-Id: I904336e64316318a1a7808c593fc9dfd10019820
/external/doclava/src/com/google/doclava/Stubs.java
73934887ea87fca353449f0fd476d6c07b349521 29-Feb-2012 Tor Norbye <tnorbye@google.com> Fix doclava to preserve annotations on fields and methods

The android.jar stubs file used in the SDK was missing @Deprecated
annotations on methods and fields.

This changeset updates doclava to write annotations on methods and
fields as well, and to also add a @Deprecated annotation for APIs that
were marked deprecated but missing an annotation (presumably because
they only used the @deprecated doc comment; there are about 30 such
APIs out of 800+ deprecation usages.)

This fixes
http://code.google.com/p/android/issues/detail?id=26173

Change-Id: Iad675d4cfdf650165bfb7050cdcc0978c3a72d55
/external/doclava/src/com/google/doclava/Stubs.java
d6eaacbb9eb56763d38a3815fc509b92ed98a585 20-May-2011 Andrew Sapperstein <asapperstein@google.com> Modified old doclava to use LinkedLists instead of arrays

Functioning java parsing as well. Needs to be wired up into doclava proper.

Change-Id: Ifa38ca7312e6c23a8f663a9d0638afb9a29bf19d
/external/doclava/src/com/google/doclava/Stubs.java
ed8f79791885c3ac15401d88a147aee551e1039e 10-Jun-2011 Brian Carlstrom <bdc@google.com> Add some missing buffering to doclava file output

Change-Id: I21927fc742026eba93fa9205d107834a671d873d
/external/doclava/src/com/google/doclava/Stubs.java
132afe44b3b7963e47d4c32948b2667ddc00062c 01-Jun-2011 Joe Onorato <joeo@google.com> Put the enum constants into the api file.

Bug: 4292741
Change-Id: I87d298511984a7f99192015a3f81bce07c106692
/external/doclava/src/com/google/doclava/Stubs.java
040992567205c3b6e4ee01bfb2893bceb915357c 09-Mar-2011 Joe Onorato <joeo@google.com> Add support for new API file format.

Change-Id: I7db4d1559d24906365f447652d28c4b04a20805d
/external/doclava/src/com/google/doclava/Stubs.java
920dbbbaca6aa578f3b26d89e99d12754c26ed60 05-Aug-2010 Ben Dodson <bjdodson@google.com> Initial import of Doclava project

Change-Id: Ia5ae56f1700fce98e0ae6954fa2df617ec0537bb
/external/doclava/src/com/google/doclava/Stubs.java