aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-27fix for lintTing-Yuan Huang
2022-11-27Remove apOptions from KspTaskTing-Yuan Huang
which was created solely for making Gradle aware of its changes.
2022-11-27Configure KSP tasks with modern KGP APIsTing-Yuan Huang
and minimize customizations in subclasses.
2022-11-22AA: fix origin for symbols from java libraries.Jiaxiang Chen
2022-11-22AA: fix docString for synthetic constructorsJiaxiang Chen
2022-11-22AA: workaround to java resolved type issue.Jiaxiang Chen
In FIR java types are first resolved to JavaTypeRef which is incompatible with FirResolvedTypeRef. In FIR, java symbols are constructed to default be in last FIR resolve phase, therefore trying a workaround where we manually convert the java type refs to resolved type refs with internal functions from fir.java module.
2022-11-18Extend integration testHakan Mehmed
2022-11-18Android Gradle Plugin: add generated kotlin sources to sourceset for IDE ↵Hakan Mehmed
indexing
2022-11-15bump dokka to 1.7.20Martin Bonnin
2022-11-14AA: expand type alias for type arguments in functional types.Jiaxiang Chen
* this is to align with FE1.0 behavior. * unmutes functionTypeAlias test.
2022-11-14AA: implement star projected type correctly.Jiaxiang Chen
* current return type from constructors does not have type arguments. * replace with star projected type, adding missing type arguments from outer types. * unmutes innerType test.
2022-11-10Introduce `kspOnlyVersion` to root build scriptTing-Yuan Huang
so that `kspVersion` can be constructed by `"$kotlinBaseVersion-$kspOnlyVersion"` where `kotlinBaseVersion` is available in gradle.properties.
2022-11-09Sign with in-memory pgp keysTing-Yuan Huang
Now, instead of specifying keyring and key id in gradle.properties: $ export ORG_GRADLE_PROJECT_signingKey=$(gpg --export-secret-keys --armor) $ export ORG_GRADLE_PROJECT_signingPassword=...
2022-11-09UPDATE_KOTLIN_VERSION: get rid of KotlinCompilationDataTing-Yuan Huang
2022-11-09UPDATE_KOTLIN_VERSION: 1.8.20-dev-2036Ting-Yuan Huang
2022-11-09update CI for 1.0.9-release branchJiaxiang Chen
2022-11-07AA: implemented getDeclarationsFromPackageJiaxiang Chen
* added support for modifiers from symbols with no PSI. * unmuted lateinitProperties test.
2022-11-07AA: filter kotlin.Any for Java classes with explicit super types.Jiaxiang Chen
* unmutes superTypes test.
2022-11-05AA: move use site annotations for property accessors and value parameters.Jiaxiang Chen
* implements parent for KSValueParameterImpl * unmuted annotationsInDependencies test.
2022-11-05fix dependency for compiling module in multi module testJiaxiang Chen
2022-11-03format ktlintInaki Villar
2022-11-03retrieving commandlinearguments from ksptasks in apoptionsInaki Villar
2022-11-02Explicitly set root project nameMatthew Haughton
This recommended practice also removes a warning in certain cases involving composite builds.
2022-11-02Don't auto-merge AA commitsTing-Yuan Huang
2022-11-02K/N: fix duplicated compilationTing-Yuan Huang
2022-11-01AA: support local variables as KSPropertyDeclaration.Jiaxiang Chen
* include static scope when building declarations. * do not calculate primary constructor for java classes. * fix package name calculation for synthetic KtConstructor, they do not have psi. * unmutes declarationPackageName test.
2022-11-01fix 2 misuse of non cached constructor of KSConstructorSyntheticImplJiaxiang Chen
2022-11-01AA: support multiple module test for AA.Jiaxiang Chen
old test framework implementation has MockApplication created multiple times, causing issues with AA stand alone mode initialization. using a cli compiler from another class loader to avoid this issue.
2022-11-01final Java fields should not be mutable.Jiaxiang Chen
* also includes a fix to Java psi modifier for AA.
2022-10-28UPDATE_KOTLIN_VERSION: 1.8.20-dev-1438Jiaxiang Chen
2022-10-28UPDATE_KOTLIN_VERSION: 1.8.20-dev-1438Jiaxiang Chen
2022-10-28UPDATE_KOTLIN_VERSION: 1.8.20-dev-1438Jiaxiang Chen
2022-10-24Fix DeclarationDescriptor.findPsiTing-Yuan Huang
By mapping PSIs from SourceElements to PSIs loaded by KSP. PSIs from descriptors are different instances than PSIs from KSFileJavaImpl. Although they are structurally equivalent, `equals` returns false.
2022-10-19AA: manually add ABSTRACT modifier to inferface properties.Jiaxiang Chen
Analysis API does provide synthetic accessor for properties, which is different from FE 1.0 where we fallback to descriptors for such synthetic accessors, therefore need to check for valid case to add ABSTRACT modifier to align with FE 1.0 behavior. unmutes interfaceWithDefault test.
2022-10-19AA: add synthetic ExtensionFunctionType annotation.Jiaxiang Chen
Analysis API does not add non custom annotations to KtType's annotation list. Synthetically adding ExtensionFunctionType annotation to such functional types. unmutes functionTypeAnnotation test.
2022-10-19AA: fix isFunctionType logic for KSTypeImplJiaxiang Chen
2022-10-17Apply the nested java class workaround moreTing-Yuan Huang
The fix in the compiler won't be available before 1.8.20. The workaround comes from https://github.com/google/ksp/pull/1049
2022-10-14Update CI for 1.0.8-release branchTing-Yuan Huang
2022-10-07temporary disable AA tests on WindowsJiaxiang Chen
2022-10-06Scan Kotlin constants for JavaPsiFacadeTing-Yuan Huang
so that constants in light classes can be resolved by JavaPsiFacade.
2022-10-04Implements referenceElement.Jiaxiang Chen
* implemented referenceElements with KtType. * added a lite value parameter implementation for value parameters in function type. * included parent information for non KtSymbol based KSSymbols. * added more type rendering logics. * more handling of type alias in type comparision. * unmutes typeAliasComparision test, temporary mutes nestedClassType.
2022-10-04AA: use object cache for KSTypeReference.Jiaxiang Chen
* extract IdKey to common-util module. * add additional information for creating type reference to support location info. * implement location for KSTypeReference.
2022-10-04use KtType for hashCode and equals checking for KSType`Jiaxiang Chen
* handles type alias for getting declarations for KSType. * unmutes typeAlias test.
2022-09-28Deprecate blockOtherPluginsTing-Yuan Huang
and dropping support of other compiler plugins in KSP's task.
2022-09-28Simplify the implementation of blockOtherPluginsTing-Yuan Huang
2022-09-28Copy plugin options from compileKotlinNativeTing-Yuan Huang
2022-09-23respect nullability annotations on Java type references.Jiaxiang Chen
* for referenced java types, compiler already handles nullability annotations. * fixes #167
2022-09-23Use abbreviated type for creating reference elements from inherited ↵Jiaxiang Chen
declarations. fixes #1011
2022-09-15Unmutes more single module tests for analysis API.Jiaxiang Chen
* fixed rendering logic for error types and flexible types. * fixed origin for kotlin synthetic property accessors. * unmuted implicitElements implicitPropertyAccessors javaTypes makeNullable parameterTypes tests.
2022-09-14remove unused dependencies in analysis API build script, move test data to ↵Jiaxiang Chen
test-utils.