Commit Graph

64168 Commits

Author SHA1 Message Date
Ilya Goncharov fbac2f5ea3 [Gradle, JS] Make inputFileProperty optional 2020-04-14 15:42:29 +03:00
Ilya Chernikov 4ecedf2e3b Get rid of KTUsefulTestCase, improve stability of the tests 2020-04-14 14:15:11 +02:00
Mikhail Bogdanov 850681f5e3 Rollback JVM 8 target support on Android 2020-04-14 13:58:30 +02:00
Mikhail Bogdanov dec93c8b49 Add ANDROID target 2020-04-14 13:53:22 +02:00
Mikhail Bogdanov 9d68db1668 Switch usages android build tools from 23.0.1 to 28.0.3 2020-04-14 13:53:22 +02:00
Mikhail Bogdanov b0e72f90f1 Android tests: add reflect flavor 2020-04-14 13:53:22 +02:00
Mikhail Bogdanov 115cf4666e Get rid of CodegenTestCase from CodegenTestsOnAndroidGenerator superclass 2020-04-14 13:53:22 +02:00
Vladimir Dolzhenko b0483a67c2 Perform tryLock-and-checkCanceled on waiting lock in LockBasedStorageManager
Relates to #KT-38012
2020-04-14 13:11:30 +02:00
Vladimir Dolzhenko 6fae29bcc0 Add more checkCanceled to PsiFacade.findClass
Relates to #KT-38012
2020-04-14 13:11:11 +02:00
Vladimir Ilmov ed56aa3e0d NPE fix in StackFrameInterceptor 2020-04-14 11:16:58 +02:00
Jinseong Jeon 08b91da6db FIR: fix body generation for data class's copy method 2020-04-14 11:51:30 +03:00
Jinseong Jeon 948f9debdc FIR: refactor member generations for data class 2020-04-14 11:51:30 +03:00
Mark Punzalan d4cbfcb79e [FIR] Promote numeric types during comparisons
Added support for comparing platform types. Extracted logic to convert
operator expressions to OperatorExpressionGenerator.
2020-04-14 11:51:30 +03:00
Roman Artemev 1d9967013b [JS IR IC] Mute failing test 2020-04-14 11:12:08 +03:00
Roman Artemev 766b8bf74b [KLIB MPP] Mute broken test
- To fix this test `ExpectActualTable` has to be refactored from usage
 of descriptors to IdSignature since Wrapped and Deserialized descriptors
 for the same declaration are not equal to each other.
2020-04-14 11:12:08 +03:00
Roman Artemev cd931796bc [SERIALIZATION] Fix kotlinx.serialization plugin 2020-04-14 11:12:08 +03:00
Roman Artemev a9788f9506 [KLIB] Create an abstract class for module deserializer
- Introduce Ir-based Functional interface factory
 - Switch from LazyIr to pure
 - Use kotlin library to access raw bytes
 - Link dirty files against IC cache and dependencies instead of LazyIr
 - Move `DescriptorByIdSignatureFinder` from K/N to common
 - Support inline-bodies only MODE
2020-04-14 11:12:08 +03:00
Roman Artemev 74132fbc03 [KLIB] Fix IO API
- Implement abstract IR raw data readers
 - Add file and memory based specializations of IR data readers
2020-04-14 11:12:07 +03:00
Roman Artemev 5385e0cf1c [IR] Un-private stub generator 2020-04-14 11:12:07 +03:00
Roman Artemev db565ee238 [IR] Fix equals/hachCode for FileLocalSignature
It actually doesn't require checking container.
2020-04-14 11:12:07 +03:00
nataliya.valtman ce2ae58ffb use gradle execOperation and set args in file 2020-04-13 23:05:26 +03:00
Igor Yakovlev cfdcbe5b71 Remove local declarations from Project View model 2020-04-13 21:55:22 +03:00
Igor Yakovlev 0df54946d9 Add Project View and Navigation Bar enhancements
Add local declarations to Project View
Show Kotlin file members in navigation bar (Fixed #KT-36218)
Remove deprecated dependency
2020-04-13 21:55:22 +03:00
Igor Yakovlev ca10c40e05 Remove anonymous declarations from Structure View 2020-04-13 21:55:22 +03:00
Igor Yakovlev d4e043c3e8 Fix visibility and expect/actual icons of the PsiElements
Fixed #KT-32886
2020-04-13 21:55:21 +03:00
Igor Yakovlev 185b0be76c Add constructors icon to ProjectView 2020-04-13 21:55:21 +03:00
simon.ogorodnik 276c393141 [FIR] Support captured type parameters in java symbol provider 2020-04-13 20:26:19 +03:00
simon.ogorodnik af27ca013b [FIR] Fix captured type parameters propagation in deserialization 2020-04-13 20:26:19 +03:00
simon.ogorodnik 356e42196c [FIR2IR] Fix inner class constructor receiver parameter type 2020-04-13 20:26:19 +03:00
simon.ogorodnik 0e21ac8ed2 [FIR] Apply BAD testData changes after type parameters support 2020-04-13 20:26:18 +03:00
simon.ogorodnik 132c8ee210 [FIR] Apply GOOD testData changes after type parameters support 2020-04-13 20:26:18 +03:00
simon.ogorodnik 797b58669b [FIR] Support captured type parameters in lightTree2fir 2020-04-13 20:26:17 +03:00
simon.ogorodnik 9db69c0b08 [FIR2IR] Fix type arguments in generated this receiver 2020-04-13 20:26:17 +03:00
simon.ogorodnik 861cc6ee20 [FIR] Fix default constructors in jvm mapped scope 2020-04-13 20:26:17 +03:00
simon.ogorodnik 21ede8b745 [FIR] Add test for inner class type parameter capturing 2020-04-13 20:26:17 +03:00
simon.ogorodnik b72d0957e4 [FIR] Support captured type arguments of anonymous objects in resolve 2020-04-13 20:26:17 +03:00
simon.ogorodnik 2b114dd2b4 [FIR] Fix fake overrides callable id 2020-04-13 20:26:17 +03:00
simon.ogorodnik c2ea0676e4 [FIR] Split functions & constructors processing 2020-04-13 20:26:17 +03:00
simon.ogorodnik 7a1ecabe0a [FIR2IR] Use deepest matching symbol on fake override calls 2020-04-13 20:26:16 +03:00
simon.ogorodnik d55c6550bb [FIR] Add substitution to classifiers processing 2020-04-13 20:26:16 +03:00
simon.ogorodnik cd4a7a25c3 [FIR] Match ordering of type arguments with type parameters 2020-04-13 20:26:16 +03:00
simon.ogorodnik 27537f71df [FIR] Use constructed class type parameters refs in java symbol provider 2020-04-13 20:26:16 +03:00
simon.ogorodnik 1d249ad279 [FIR] Use constructed class type parameters refs in deserialization 2020-04-13 20:26:16 +03:00
simon.ogorodnik ec39cd3d31 [FIR] Use captured, constructed class type parameters in RawFirBuilder 2020-04-13 20:26:16 +03:00
simon.ogorodnik f174893009 [FIR] Add kotlinx-collections-immutable to raw fir builders 2020-04-13 20:26:15 +03:00
simon.ogorodnik 49d361b6eb [FIR] Improve type-parameter rendering in html dump 2020-04-13 20:26:15 +03:00
simon.ogorodnik cb00a4c136 [FIR] Update type parameter use-sites to use type parameter refs 2020-04-13 20:26:15 +03:00
simon.ogorodnik 7c56209cef [FIR] Introduce type parameter ref in generated tree 2020-04-13 20:26:15 +03:00
Nikolay Krasko 0f7a9c44b4 Minor: sort excluded files and dirs in conformance test 2020-04-13 19:50:59 +03:00
Nikolay Krasko dbbb81c78d 201: Minor: remove author to fix conformance test 2020-04-13 19:50:59 +03:00