Roman Golyshev
6e2887e083
FIR Completion: Add insertion handling for functions with lambdas
...
- The support is not complete
2020-08-10 18:25:34 +03:00
Roman Golyshev
b3a674abee
FIR IDE: Add parameter's and type's properties required for completion
2020-08-10 18:25:34 +03:00
Roman Golyshev
67ed33367f
FIR Completion: Add function insert handler
...
- It is a specialized copy from `KotlinFunctionInsertHandler.Normal`
2020-08-10 18:25:34 +03:00
Roman Golyshev
b547feb00d
FIR Completion: Render vararg modifier in lookups
2020-08-10 18:25:33 +03:00
Roman Golyshev
582b00f5b2
FIR Completion: Add UniqueLookupElement to the lookup elements
...
- It is done to differentiate overloads of the same function
2020-08-10 18:25:33 +03:00
Roman Golyshev
b6ee478190
FIR Completion: Add psi element to the lookups
...
- May be a performance problem later
2020-08-10 18:25:33 +03:00
Roman Golyshev
53180e707e
FIR Completion: Fix invalid isAbstract condition
2020-08-10 18:25:33 +03:00
Roman Golyshev
ef461260b0
FIR Completion: Add simple insertion handler to lookup elements
...
- The `QuotedNamesAwareInsertionHandler` is just a copy of
`BaseDeclarationInsertHandler`
2020-08-10 18:25:33 +03:00
Roman Golyshev
10598ee98e
FIR Completion: Add simple lookup decorating with icon and parameters
2020-08-10 18:25:32 +03:00
Roman Golyshev
64187b40c9
FIR Completion: Prevent immediate completion in number literals
...
- This is copied from the original KotlinCompletionContributor
2020-08-10 18:25:32 +03:00
Alexey Trilis
d86c14243e
Add @SinceKotlin to kotlinx.browser and kotlinx.dom packages
...
Add @DeprecatedSinceKotlin to kotlin.browser and kotlin.dom packages
2020-08-10 18:08:19 +03:00
Dmitriy Novozhilov
0e53d11dd4
Disable AllowResultInReturnType feature
...
#KT-40843
2020-08-10 17:57:53 +03:00
Valeriy.Vyrva
30ff886754
Improve docs for createTempDir/createTempFile
...
#KT-35218
2020-08-10 17:29:25 +03:00
Vladimir Ilmov
4fe6880489
Cyrillic 'c' fix in inspectionLikeProcessings.kt
2020-08-10 14:42:46 +02:00
Elena Lepilkina
cdd8ffa091
Added benchmark with big vtables [KT-40652]
2020-08-10 13:59:14 +03:00
Elena Lepilkina
b57b81afa8
Optimize vtable building [KT-40652]
2020-08-10 13:59:14 +03:00
Nick
0a2f113a24
[FIR] Fix slow string conversions in FirEffectiveVisibilityResolver
2020-08-10 13:46:15 +03:00
Alexander Dudinsky
e67518c349
Update gradle plugin version in GradleFacetImportTest
...
Also drop legacy tests for 1_1_2
2020-08-10 13:14:01 +03:00
Pavel Kirpichenkov
f431da2a66
Reapply "Introduce @FrontendInternals annotation""
...
This reverts commit 9ca4717d11 .
^KT-39643 Fixed
2020-08-10 12:22:55 +03:00
Yan Zhulanow
5e8e60a399
Move back the 'KotlinStructureViewElement.isPublic' property used externally
...
Reasoning: Method com.gmail.blueboxware.extsee.kotlin.ExtSeeKotlinStructureViewModel.Companion.PublicElementsFilter.isVisible(com.intellij.ide.util.treeView.smartTree.TreeElement treeNode) : boolean contains an *invokevirtual* instruction referencing an unresolved method org.jetbrains.kotlin.idea.structureView.KotlinStructureViewElement.isPublic()
2020-08-10 18:18:37 +09:00
Alexander Dudinsky
aec87744f2
Run ImportAndCheckNavigation tests only vs the master version of plugin
...
Also error "Could not find org.jetbrains.kotlin:kotlin-klib-commonizer-embeddable"
was fixed by adding ":native:kotlin-klib-commonizer-embeddable:install"
in dependencies for the kotlin-plugin install
2020-08-10 12:13:21 +03:00
Alexander Dudinsky
2042db598a
Mute GradleNativeLibrariesInIDENamingTest.testLibrariesNaming in 192, 193
...
After updating version of gradle-plugin this tests started to fail on
the old version of IDE. After discussion we decided just mute it in
the old bunches
2020-08-10 12:04:51 +03:00
Alexander Shabalin
4f725387ff
Restore cycle detector ( #4286 )
...
Reimagines cycle detector removed in "Remove obsolete leak detector. (#3819 )" at aae8441b6e
2020-08-10 12:04:41 +03:00
Sergey Igushkin
988480d649
Fix source JARs missing in Kotlin/Native targets with HMPP (KT-39051)
...
With HMPP, a separate implementation of `kotlinComponents` is used which
accidentally ignored the parent's logic for source artifacts.
As a simple fix, copy the parent's logic for source artifacts.
Issue #KT-39051 Fixed
2020-08-10 13:02:17 +04:00
Nataliya Valtman
a766369e72
KT-33908 Make Kotlin Gradle plugin compatible with configuration cache
...
#KT-33908 Fixed
2020-08-10 11:17:30 +03:00
Alexander Udalov
d8b56cbe6a
IR: remove unused code, cleanup
...
(cherry picked from commit 67cbd04077ea41f3bb13cbef5da0a4ee38495dbf)
2020-08-10 09:37:37 +02:00
Alexander Udalov
cbb828d026
IR: introduce abstract class IrDeclarationBase
...
The main purpose of this class is to improve performance of IR visitors
and transformers. `IrElementVisitor.visitDeclaration` now takes
IrDeclarationBase as a parameter, and therefore the call to `accept`
there is now a virtual class call, instead of an interface call.
(cherry picked from commit e97d4717fb4c1fe2b6ad8005217150f0e2abe3a7)
2020-08-10 09:37:37 +02:00
Roman Artemev
2c1e9a9e2d
[IR] Reduce memory pollution during by mangler
...
- Make some ObjCInterop utils garbage-free
(cherry picked from commit 6388b9ca72c7f96f85df32cde4b53a262467333e)
2020-08-10 09:37:37 +02:00
Vasily Levchenko
7680722f23
[kotlin compiler][update] 1.4.20-dev-3296
...
* 36984009e9 - (tag: build-1.4.20-dev-3296, origin/master, origin/HEAD) Add samples for flatten, unzip functions (vor 5 Stunden) <kvirolainen>
* 41d5615608 - Add samples for mapNotNull, find, getOrNull functions (vor 5 Stunden) <Elijah Verdoorn>
* 62df2b3195 - (tag: build-1.4.20-dev-3285) FIR IDE: run SUPER_TYPES & BODY_RESOLVE phases under global lock (vor 20 Stunden) <Ilya Kirillov>
* 7fb408ecd7 - FIR IDE: enable new project wizard to FIR IDE (vor 20 Stunden) <Ilya Kirillov>
* db7119f04d - FIR IDE: fix ability to create new Kotlin files (vor 20 Stunden) <Ilya Kirillov>
* 054d196ec5 - FIR IDE: temporary ignore failing tests (vor 20 Stunden) <Ilya Kirillov>
* 683ec2beff - FIR IDE: make KtScopeProvider thread local (vor 20 Stunden) <Ilya Kirillov>
* f62204fff1 - FIR: move getCallableNames/getClassifierNames from scope to FirContainingNamesAwareScope (vor 20 Stunden) <Ilya Kirillov>
* 36a161080f - FIR IDE: introduce KtType rendering (vor 20 Stunden) <Ilya Kirillov>
* 9f33d0147c - FIR IDE: add info about nullability to KtType (vor 20 Stunden) <Ilya Kirillov>
* 16d22ae7e3 - FIR IDE: correctly build FIR for qualified expressions (vor 20 Stunden) <Ilya Kirillov>
* 66f6fe18d6 - FIR IDE: replace javax threadsafe annotations with custom ones (vor 20 Stunden) <Ilya Kirillov>
* 4595ee2cc0 - FIR IDE: create read only copy of symbol builder only for completion (vor 20 Stunden) <Ilya Kirillov>
* ccf232eaab - FIR IDE: forbid analysis session to be stored in a variable (vor 20 Stunden) <Ilya Kirillov>
* b41a5f9f34 - FIR: make TypeRegistry thread safe (vor 20 Stunden) <Ilya Kirillov>
* 5f424ed1ec - FIR IDE: rewrite low level API (vor 20 Stunden) <Ilya Kirillov>
* 1957be8757 - FIR IDE: fix testdata of tests which now pass (vor 20 Stunden) <Ilya Kirillov>
* 34aa848b15 - FIR: do not allow getting PSI text in RawFirBuilder in stub mode (vor 20 Stunden) <Ilya Kirillov>
* cfc46b0cc8 - FIR IDE: introduce FirIdeAllSourceDependenciesSymbolProvider (vor 20 Stunden) <Ilya Kirillov>
* 7d8ef5c7a2 - FIR IDE: introduce KtFirConstructorDelegationReference (vor 20 Stunden) <Ilya Kirillov>
* 0870ded054 - FIR IDE: introduce KtFirArrayAccessReference (vor 20 Stunden) <Ilya Kirillov>
* 22054c8507 - FIR IDE: use non-fake override fir elements when finding psi for fir (vor 20 Stunden) <Ilya Kirillov>
* d10e3f91fa - FIR IDE: store FirScope strong references only in KtFirAnalysisSession (vor 20 Stunden) <Ilya Kirillov>
* 7033be588c - FIR IDE: regenerate member scope test (vor 20 Stunden) <Ilya Kirillov>
* ea3b2d8310 - KT IDE: fix fully-qualified type resolving (vor 20 Stunden) <Ilya Kirillov>
* 50951fdfc3 - KT IDE: use proper package symbol PSI to fix invalidated access exception (vor 20 Stunden) <Ilya Kirillov>
* 9f9ce6ba61 - Fix compilation of KtFirDelegatingScope (vor 20 Stunden) <Ilya Kirillov>
* 1c195ea2bb - FIR IDE: add kdoc for KtAnalysisSession (vor 20 Stunden) <Ilya Kirillov>
* b8caefa0c4 - FIR IDE: always recreate analysis session in tests to avoid breaking its contract (vor 20 Stunden) <Ilya Kirillov>
* 19efd19c6c - FIR IDE: fix AbstractSymbolByFqNameTest after rebase (vor 20 Stunden) <Ilya Kirillov>
* 94b62e2ac6 - FIR IDE: make context-dependent analysis session to use original cache on read-only mode (vor 20 Stunden) <Ilya Kirillov>
* c0f5c90231 - FIR IDE: separate ValidityOwner to ValidityTokenOwner & ValidityToken (vor 20 Stunden) <Ilya Kirillov>
* 6a6580dd97 - FIR IDE: introduce KtConstructorSymbol.ownerClassId (vor 20 Stunden) <Ilya Kirillov>
* 4653cdf794 - FIR IDE: make KtFirDelegatingScope caching a thread safe (vor 20 Stunden) <Ilya Kirillov>
* ebf20c9706 - Add multi-file tests for primitive completion (vor 20 Stunden) <Roman Golyshev>
* 1b3a1a662f - Add simple completion of class-like symbols (vor 20 Stunden) <Roman Golyshev>
* 20c627ea47 - Implement collecting class-like names in `KtFirStarImportingScope` (vor 20 Stunden) <Roman Golyshev>
* 29ee233bb9 - Remove repeating scopes collected by `buildCompletionContextForFunction` (vor 20 Stunden) <Roman Golyshev>
* e3778d62e3 - Simplify `canBeCalledWith` function (vor 20 Stunden) <Roman Golyshev>
* b90503decb - Move `PackageIndexHelper` to `KtFirStarImportingScope.kt` (vor 20 Stunden) <Roman Golyshev>
* d2fbd8e338 - Remove `KotlinFirCompletionProvider` (vor 20 Stunden) <Roman Golyshev>
* dee58e1d86 - FIR IDE: handle importing scopes in completion in HL API (vor 20 Stunden) <Ilya Kirillov>
* 7aa26944d7 - FIR IDE: rename utils.kt to psiUtils.kt (vor 20 Stunden) <Ilya Kirillov>
* 902b42ae1d - FIR IDE: fix typo in completion testdata (vor 20 Stunden) <Ilya Kirillov>
* c3a3ab9e89 - Implement the completion using high-level API only (vor 20 Stunden) <Roman Golyshev>
* a6dd84a7e4 - FIR IDE: Modify `KtFirAnalysisSession` for completion (vor 20 Stunden) <Roman Golyshev>
* 54946a793a - Fix `FirCompletionContext` for safe access elements (vor 20 Stunden) <Roman Golyshev>
* a2cf01162e - Fix bug with member extensions with explicit receiver (vor 20 Stunden) <Roman Golyshev>
* df03e31b86 - FIR IDE: Add `KtCallableSymbol` abstraction (vor 20 Stunden) <Roman Golyshev>
* a4a2d92c08 - FIR IDE: Make `KtFirReference` implement `KtSymbolBasedReference` (vor 20 Stunden) <Roman Golyshev>
* 2eb439899e - Use index to get symbols from importing scopes (vor 20 Stunden) <Roman Golyshev>
* cefecdef25 - fixup! Iterate on symbols, not on scopes (vor 20 Stunden) <Dmitriy Novozhilov>
* e7f5594ffe - Use more correct check for the constructor symbol (vor 20 Stunden) <Roman Golyshev>
* a3da1ea1a0 - Iterate on symbols, not on scopes (vor 20 Stunden) <Roman Golyshev>
* 708c54f4d2 - Refactor the collecting of callable symbols from scopes (vor 20 Stunden) <Roman Golyshev>
* 81f60bf252 - Add test for smartcast (vor 20 Stunden) <Roman Golyshev>
* ffb907150a - Use information about receivers in completion (vor 20 Stunden) <Roman Golyshev>
* 0f5fc1fa99 - Add `FirSymbolProvider::getAllCallableNamesInPackage` function (vor 20 Stunden) <Roman Golyshev>
* 97d4918ed3 - Expose local scopes to use in completion (vor 20 Stunden) <Denis Zharkov>
* 6129f4bcef - Partial raw FIR building (vor 20 Stunden) <Roman Golyshev>
* a1b621d987 - Completion with FIR (prototype, work-in-progress) (vor 20 Stunden) <Roman Golyshev>
* 2a495c1135 - FIR IDE: introduce composite scopes (vor 20 Stunden) <Ilya Kirillov>
* 9092b33755 - FIR IDE: Introduce module resolve state for completion (vor 20 Stunden) <Ilya Kirillov>
* 1d92fbaa7f - FIR IDE: correctly set symbol origin for fake overridden ones (vor 20 Stunden) <Ilya Kirillov>
* 88548d988a - FIR IDE: implement getCallableNames/getClassifierNames in more scopes (vor 20 Stunden) <Ilya Kirillov>
* 138f11ee27 - FIR IDE: introduce member scope tests (vor 20 Stunden) <Ilya Kirillov>
* f709e6acf3 - FIR IDE: introduce scopes for HL API (vor 20 Stunden) <Ilya Kirillov>
* 6596dc359b - fixup! Completion with FIR (prototype, work-in-progress) (vor 20 Stunden) <Dmitriy Novozhilov>
* d62500531b - FIR: add getClassifierNames for FirScope (vor 20 Stunden) <Ilya Kirillov>
* 656086f90a - Add `FirScope::getCallableNames` function (vor 20 Stunden) <Roman Golyshev>
* 1f3add49f4 - FIR IDE: move trailing comma related registry keys to ide-frontend-independent.xml (vor 20 Stunden) <Ilya Kirillov>
* 055b975699 - FIR IDE: add tests which failing with exceptions inside FIR (vor 20 Stunden) <Ilya Kirillov>
* 9cf4fdfb71 - FIR IDE: add reference info on reference resolve (vor 20 Stunden) <Ilya Kirillov>
* 5c6d636d02 - Minor: reformat fir ide part of GenerateTests.kt (vor 20 Stunden) <Ilya Kirillov>
* 45e01a8b3d - FIR IDE: precalculate DuplicatedFirSourceElementsException error message (vor 20 Stunden) <Ilya Kirillov>
* 964becf138 - FIR IDE: allow the same entity to be accessed from different threads (vor 20 Stunden) <Ilya Kirillov>
* 4c08dfb238 - Add invoke reference resolve test without errors in test data (vor 20 Stunden) <Ilya Kirillov>
* 15ecfd84b4 - FIR IDE: cache KtAnalysisSession for modules (vor 20 Stunden) <Ilya Kirillov>
* 8c0197e081 - FIR IDE: introduce KtAnalysisSessionProvider & helping functions for working with analysis session (vor 20 Stunden) <Ilya Kirillov>
* acb8546583 - FIR IDE: fix ReadOnlyWeakRef error message (vor 20 Stunden) <Ilya Kirillov>
* b09358fe17 - FIR IDE: rename KtFieldSymbol -> KtFirJavaFieldSymbol (vor 20 Stunden) <Ilya Kirillov>
* f98ff2c25e - FIR IDE: always pass resolve state as parameter when getting fir by psi (vor 20 Stunden) <Ilya Kirillov>
* 0c13a7f89a - (tag: build-1.4.20-dev-3275, tag: build-1.4.20-dev-3274, tag: build-1.4.20-dev-3270) Fix accessibility check for experimental declarations from default scope (vor 3 Tagen) <Mikhail Zarechenskiy>
* b403b63f48 - (tag: build-1.4.20-dev-3264, tag: build-1.4.20-dev-3263, tag: build-1.4.20-dev-3262) Ease field initialization check (vor 3 Tagen) <Ilmir Usmanov>
* 6c0abe7e48 - (tag: build-1.4.20-dev-3253, tag: build-1.4.20-dev-3252) [FIR] Fix CliTestGenerated$Jvm.testFirError (vor 3 Tagen) <Nick>
* 9ca4717d11 - (tag: build-1.4.20-dev-3247) Revert "Introduce @FrontendInternals annotation" (vor 3 Tagen) <Pavel Kirpichenkov>
* 7f2efabe6a - (tag: build-1.4.20-dev-3241) [JVM_IR]: Improve stepping for `when`. (vor 3 Tagen) <Mads Ager>
* 1009a240f2 - (tag: build-1.4.20-dev-3233) KT-20357: Add samples for filter functions (vor 3 Tagen) <Dat Trieu>
* ca6e430e89 - (tag: build-1.4.20-dev-3231) JVM IR: Handle nested classes in DelegatedPropertyOptimizer (vor 3 Tagen) <Steven Schäfer>
* da9bff40f0 - JVM IR: Don't remove stores to visible locals in DelegatedPropertyOptimizer (vor 3 Tagen) <Steven Schäfer>
* 983c84d6a6 - (tag: build-1.4.20-dev-3229) Wizard: fix default template compilation when using JS IR (vor 3 Tagen) <Ilya Kirillov>
* e4cd7cdbcf - (tag: build-1.4.20-dev-3221) IR: remove unused code, cleanup (vor 4 Tagen) <Alexander Udalov>
* b30b2e0179 - IR: minor, render duplicate IR node in checker (vor 4 Tagen) <Alexander Udalov>
* 8db1c3611b - IR: introduce abstract class IrDeclarationBase (vor 4 Tagen) <Alexander Udalov>
* 771e7574f4 - IR: make subtypes of IrDeclaration classes (vor 4 Tagen) <Alexander Udalov>
* 3cecf81176 - IR: transform base classes of lazy IR to interfaces (vor 4 Tagen) <Alexander Udalov>
* b02653a524 - IR: remove base classes IrDeclarationBase and IrFunctionBase (vor 4 Tagen) <Alexander Udalov>
* 9152df4702 - PIR: transform base implementation classes to interfaces (vor 4 Tagen) <Alexander Udalov>
* 13766d5075 - (tag: build-1.4.20-dev-3214, tag: build-1.4.20-dev-3213) [Gradle, JS] Update test data (vor 4 Tagen) <Ilya Goncharov>
* 52110a08d9 - [Gradle, JS] Update versions (vor 4 Tagen) <Ilya Goncharov>
* f6356199d3 - (tag: build-1.4.20-dev-3211) Fix typealias usage nullability and annotations lost in deserialization (vor 4 Tagen) <Sergey Igushkin>
* 4063aba677 - (tag: build-1.4.20-dev-3206) Remade launch of `NativeRunConfigurationTest` against master version of gradle plugin (vor 4 Tagen) <Alexander Dudinsky>
* 69ce6bd952 - Add tests for setup native run gutters. (vor 4 Tagen) <Konstantin Tskhovrebov>
* b5d4e4c44c - (tag: build-1.4.20-dev-3200) Enable compatibility metadata variant by default in HMPP (vor 4 Tagen) <Sergey Igushkin>
* 2eb17df962 - (tag: build-1.4.20-dev-3197, tag: build-1.4.20-dev-3189) Do not compute `SamType` too eagerly as it can force member resolution (vor 4 Tagen) <Mikhail Zarechenskiy>
* 6ec0e9546b - (tag: build-1.4.20-dev-3181) Fix 192 compilation for UI for standalone gradle scripts (vor 4 Tagen) <Vladimir Dolzhenko>
* 66c1bd8c89 - (tag: build-1.4.20-dev-3180, tag: build-1.4.20-dev-3177, tag: build-1.4.20-dev-3174, tag: build-1.4.20-dev-3172) Revert "Update KMM plugin user texts." (vor 4 Tagen) <Konstantin Tskhovrebov>
* c0e713980b - (tag: build-1.4.20-dev-3171) Add helpers for getting commonly used services without an opt-in (vor 4 Tagen) <Pavel Kirpichenkov>
* ffc3d8bdfc - Introduce @FrontendInternals annotation (vor 4 Tagen) <Pavel Kirpichenkov>
* eff5839369 - (tag: build-1.4.20-dev-3169, tag: build-1.4.20-dev-3167) "Kotlin Multiplatform Projects are an ~experimental~ Alpha feature." (vor 4 Tagen) <Sergey Igushkin>
* 6c475e614a - (tag: build-1.4.20-dev-3166, tag: build-1.4.20-dev-3165) Minor. Update debugger tests (vor 5 Tagen) <Ilmir Usmanov>
* 68342a1f72 - Initialize fake inliner variables on resume path (vor 5 Tagen) <Ilmir Usmanov>
* bb5a99ec18 - Do not put $completion to LVT if is dead (vor 5 Tagen) <Ilmir Usmanov>
* 9925866293 - (tag: build-1.4.20-dev-3164) 203: Fix compilation (vor 5 Tagen) <Florian Kistner>
* c792092410 - Bump fastutil version to match 203 (vor 5 Tagen) <Florian Kistner>
* c5398e8317 - (tag: build-1.4.20-dev-3163) Move 'radixPrefix' from compiler modules to IDE modules (vor 5 Tagen) <Nikita Bobko>
* 093d4b3108 - (tag: build-1.4.20-dev-3157) Revert "Fix typealias usage nullability and annotations lost in deserialization" (vor 5 Tagen) <Sergey Igushkin>
* 5edbc75d7b - (tag: build-1.4.20-dev-3154) Update KMM plugin user texts. (vor 5 Tagen) <Konstantin Tskhovrebov>
* b57794d96e - (tag: build-1.4.20-dev-3145, tag: build-1.4.20-dev-3144) IR util: IrExpression.isSafeToUseWithoutCopying (vor 5 Tagen) <Jinseong Jeon>
* 7ef1c74bbf - FIR2IR: apply adapted reference conversion to coercion-to-unit (vor 5 Tagen) <Jinseong Jeon>
* 5f80bfd5d4 - (tag: build-1.4.20-dev-3142) [FIR] Don't report UNINITIALIZED_VARIABLE on lateinit local variable (vor 5 Tagen) <Mikhail Glukhikh>
* 54d96a2dd7 - (tag: build-1.4.20-dev-3138) UI for standalone gradle scripts (vor 5 Tagen) <Natalia Selezneva>
* fc874e72b1 - (tag: build-1.4.20-dev-3134, tag: build-1.4.20-dev-3132, tag: build-1.4.20-dev-3129, tag: build-1.4.20-dev-3124, tag: build-1.4.20-dev-3119) [FIR2IR] Initialize components a bit earlier to prevent lateinit errors (vor 5 Tagen) <Mikhail Glukhikh>
* 17b289fa00 - [FIR] Code cleanup: get rid of FirClass.buildUseSiteMemberScope() (vor 5 Tagen) <Mikhail Glukhikh>
* 8bb5488a26 - [FIR] look at intersectionOverride during override processing (vor 5 Tagen) <Mikhail Glukhikh>
* f1356a809e - Fir2IrLazySimpleFunction: generate overridden symbols via FirTypeScope (vor 5 Tagen) <Mikhail Glukhikh>
* 52c01abb83 - (tag: build-1.4.20-dev-3113) Increase Xmx size after investigation OOM problem in KMM-316 (vor 5 Tagen) <Alexander Dudinsky>
* d012cd3272 - Add kotlin-test-junit:install in dependencies for the kotlin-plugin install (vor 5 Tagen) <Alexander Dudinsky>
* ea0099aa39 - Fix testPlatformToCommonExpByInComposite. (vor 5 Tagen) <Alexander Dudinsky>
* 05d6217f78 - Changed gradle-plugin version in Gradle tests. (vor 5 Tagen) <Alexander Dudinsky>
* 6652a7072c - Fix testData due to KT-40551. (vor 5 Tagen) <Alexander Dudinsky>
* 0298795b18 - Add gradle.properties with kotlin.stdlib.default.dependency=false for tests (vor 5 Tagen) <Alexander Dudinsky>
* bc623e97ec - Add Gradle version 6.5.1 for tests. (vor 5 Tagen) <Alexander Dudinsky>
* 1da05c54be - Change gradle-plugin versions for tests from 1.3.50 to 1.3.72 (vor 5 Tagen) <Alexander Dudinsky>
* f15f5bccc8 - [FIR] Add more diagnostic messages (vor 5 Tagen) <Nick>
* f45de9d8fb - (tag: build-1.4.20-dev-3112) NI: approximate not top-level captured types during code generation (vor 5 Tagen) <Victor Petukhov>
* f6d7e7c52a - (tag: build-1.4.20-dev-3111) CocoaPods: Fix setting custom framework name (vor 5 Tagen) <Ilya Matveev>
* a45f73867a - (tag: build-1.4.20-dev-3104) Add compatibility resolve when SAM conversion was applied partially (vor 5 Tagen) <Mikhail Zarechenskiy>
* 070848a1c1 - (tag: build-1.4.20-dev-3103, tag: build-1.4.20-dev-3102) Fix typealias usage nullability and annotations lost in deserialization (vor 5 Tagen) <Sergey Igushkin>
* ec4f04095c - (tag: build-1.4.20-dev-3101) [FIR] Rearrange FirErrors.kt (vor 5 Tagen) <Nick>
* 207027b84c - (tag: build-1.4.20-dev-3099) [FIR] Fix light tree's supertype FirDelegatedConstructorCall source (vor 5 Tagen) <Nick>
* a59cedcd39 - [FIR] Fix non-fake sources for constructor delegates (vor 5 Tagen) <Nick>
* f74eb07203 - [FIR] Fix incorrect diagnostic behaviour + several enum diagnostics (vor 5 Tagen) <Nick>
* b76f757d47 - [FIR] Add diagnostic for missing primary constructor (vor 5 Tagen) <Nick>
* 0f213e58db - [FIR] Add diagnostic for primary constructor not called (vor 5 Tagen) <Nick>
* bb0e1b7390 - [FIR] Add diagnostic for constructor delegation cycles (vor 5 Tagen) <Nick>
* e841b3a77b - [FIR] Add diagnostic collection to KotlinToJVMBytecodeCompiler (vor 5 Tagen) <Mikhail Glukhikh>
* 9c3b8484b9 - [FIR TEST] Add CLI test with should-be-error (not yet) (vor 5 Tagen) <Mikhail Glukhikh>
* 824991a9dd - (tag: build-1.4.20-dev-3090) Minor. Add tests. (vor 6 Tagen) <Ilmir Usmanov>
* bbd4c21595 - Cleanup spilled variables (vor 6 Tagen) <Ilmir Usmanov>
* 999b41068b - Minor. Refactor variables spilling (vor 6 Tagen) <Ilmir Usmanov>
* 405c9743ef - Do not spill dispatch receiver of suspend functions if it is not used (vor 6 Tagen) <Ilmir Usmanov>
* 5db7957230 - (tag: build-1.4.20-dev-3082) FIR2IR: use type arguments from fully expanded type (vor 6 Tagen) <Jinseong Jeon>
* 606dc2f723 - (tag: build-1.4.20-dev-3073) Fix binary compatibility problems in ImportInsertHelper & ShortenReferences (vor 6 Tagen) <Ilya Kirillov>
* af48f08f9c - (tag: build-1.4.20-dev-3072) NI: take into account flexible types during capturing arguments from expression (vor 6 Tagen) <Victor Petukhov>
* 65ebd02a39 - (tag: build-1.4.20-dev-3068) [FIR] Fix for CanBeReplacedWithOperatorAssignment Checker (vor 6 Tagen) <vldf>
* 6f3df6faf4 - (tag: build-1.4.20-dev-3063) [FIR] Regenerate extended checker tests (vor 6 Tagen) <Mikhail Glukhikh>
* 181a8bb79e - (tag: build-1.4.20-dev-3061) [FIR TEST] Mute failing BB test with Byte/Short.and usage (vor 6 Tagen) <Mikhail Glukhikh>
* 47c47be3d3 - FIR serializer: serialize annotations on FirTypeRef, not ConeKotlinType (vor 6 Tagen) <Jinseong Jeon>
* 0a28e5e031 - Add argument unwrapping for case when argument is named (vor 6 Tagen) <Ivan Kylchik>
* 2e2099afae - [FIR] Introduce NOT_AN_ANNOTATION_CLASS diagnostic (vor 6 Tagen) <Mikhail Glukhikh>
* 8fd087a964 - [FIR] Don't report duplicated UNRESOLVED_REFERENCE on annotation entries (vor 6 Tagen) <Mikhail Glukhikh>
* a6e811a67a - [FIR] Add status to Java annotation constructor (fix after rebase) (vor 6 Tagen) <Mikhail Glukhikh>
* 8379b3794a - [FIR2IR] Return fallback mode for annotation resolved placeholder (vor 6 Tagen) <Mikhail Glukhikh>
* b63257345b - [FIR] Map `Class` to `KClass` in java annotations (vor 6 Tagen) <Dmitriy Novozhilov>
* 282a295d43 - [FIR] Enable arrayOf transformer in completion (inside annotations) (vor 6 Tagen) <Mikhail Glukhikh>
* 721b9b4d8c - [FIR] Resolve annotations as calls (vor 6 Tagen) <Dmitriy Novozhilov>
* bc1fa8ed7f - [FIR] Add constructor for java annotations (vor 6 Tagen) <Dmitriy Novozhilov>
* 644e9843f9 - [FIR] Add initialization of calleeReference for FirAnnotationCall (vor 6 Tagen) <Dmitriy Novozhilov>
* 614291b2cc - [FIR] Make FirAnnotationCall resolvable (vor 6 Tagen) <Dmitriy Novozhilov>
* ffd30566be - [FIR] Add FirErrorResolvedQualifier for qualifiers with resolve diagnostic (vor 6 Tagen) <Dmitriy Novozhilov>
* a5e9401a0a - (tag: build-1.4.20-dev-3058) [configuration] change updater number to 1.4.* and 1.5.* (vor 6 Tagen) <Dmitry Gridin>
* 88f508446a - (tag: build-1.4.20-dev-3054) Make repeat example more expressive (vor 6 Tagen) <Julian Kotrba>
* a5178bb826 - (tag: build-1.4.20-dev-3053) Minor: fix toJavaDuration docs (vor 6 Tagen) <Ilya Gorbunov>
* 99eb7f391b - Fix doc wording around covariance/invariance (vor 6 Tagen) <Ilya Gorbunov>
* 4f73e08704 - (tag: build-1.4.20-dev-3048) [KLIB] Make fake override resolver garbage free as much as possible (vor 7 Tagen) <Roman Artemev>
* 876ee265f2 - [KLIB] Fix memory leak in fake override resolver (vor 7 Tagen) <Roman Artemev>
* e189cb1895 - [KLIB] Fix memory leak in linker through `haveSeen` set (vor 7 Tagen) <Roman Artemev>
* 19b5fda750 - [KLIB] Do not duplicate origin mapping per file (vor 7 Tagen) <Roman Artemev>
* c253042948 - [KLIB] Reduce amount of descriptors loaded during desc-idSig resolution (vor 7 Tagen) <Roman Artemev>
* 851c287105 - [KLIB] Use SoftReference to hold proto memory (vor 7 Tagen) <Roman Artemev>
* add0ad6733 - [KLIB] Change KLIB IO API (vor 7 Tagen) <Roman Artemev>
* 0e54f98b79 - (tag: build-1.4.20-dev-3038) FIR: support adapted callable reference with vararg (vor 7 Tagen) <Jinseong Jeon>
* 4332e95b8a - [FIR] Don't transform setter parameter type if it's given explicitly (vor 7 Tagen) <Mikhail Glukhikh>
* 8813ebd950 - [FIR] Add RedundantSetterParameterType Checker (vor 7 Tagen) <vldf>
* a6c9d869fb - [FIR] Move RedundantCallOfConversionMethod to extended checkers (vor 7 Tagen) <vldf>
* 3349739d1e - (tag: build-1.4.20-dev-3037, tag: build-1.4.20-dev-3017) [FIR] Fixes for RedundantReturnUnitType checker (vor 7 Tagen) <vldf>
* 2384afdd93 - [FIR] refactoring for running extended checkers (vor 7 Tagen) <vladislavf7@gmail.com >
* cfc09048c6 - (tag: build-1.4.20-dev-3016) [FIR] Add RedundantCallOfConversionMethod checker (vor 7 Tagen) <vldf>
2020-08-10 09:37:37 +02:00
Georgy Bronnikov
ea57b4cccb
IR: add and unmute tests
2020-08-10 10:16:24 +03:00
Georgy Bronnikov
85ba170217
JVM_IR: use IrBasedDescriptors across codegen
2020-08-10 10:16:23 +03:00
Georgy Bronnikov
0b4c43083d
IR: add IrBasedDescriptors
2020-08-10 10:16:23 +03:00
Georgy Bronnikov
dafcdc527d
IR: propagate original declaration info via attributeOwnerId
...
For IrProperty, IrSimpleFunction we need to pass information about
original declaration to JVM_IR codegen. Instead of descriptors, use
the attributeOwnerId field.
2020-08-10 10:16:23 +03:00
Georgy Bronnikov
04d93dfbce
IR: move containerSource from descriptor to IrFunction, IrProperty
2020-08-10 10:16:23 +03:00
Nick
4669e019d1
[FIR] Add diagnostic CONFLICTING_OVERLOADS & REDECLARATION
2020-08-10 10:09:37 +03:00
kvirolainen
36984009e9
Add samples for flatten, unzip functions
2020-08-10 03:40:13 +03:00
Elijah Verdoorn
41d5615608
Add samples for mapNotNull, find, getOrNull functions
2020-08-10 03:39:49 +03:00
Ilya Kirillov
62df2b3195
FIR IDE: run SUPER_TYPES & BODY_RESOLVE phases under global lock
2020-08-09 12:05:20 +03:00
Ilya Kirillov
7fb408ecd7
FIR IDE: enable new project wizard to FIR IDE
2020-08-09 12:05:13 +03:00
Ilya Kirillov
db7119f04d
FIR IDE: fix ability to create new Kotlin files
2020-08-09 12:05:11 +03:00
Ilya Kirillov
054d196ec5
FIR IDE: temporary ignore failing tests
2020-08-09 12:05:02 +03:00
Ilya Kirillov
683ec2beff
FIR IDE: make KtScopeProvider thread local
2020-08-09 12:04:53 +03:00
Ilya Kirillov
f62204fff1
FIR: move getCallableNames/getClassifierNames from scope to FirContainingNamesAwareScope
2020-08-09 12:04:52 +03:00
Ilya Kirillov
36a161080f
FIR IDE: introduce KtType rendering
2020-08-09 12:04:44 +03:00
Ilya Kirillov
9f33d0147c
FIR IDE: add info about nullability to KtType
2020-08-09 12:04:43 +03:00
Ilya Kirillov
16d22ae7e3
FIR IDE: correctly build FIR for qualified expressions
2020-08-09 12:04:43 +03:00
Ilya Kirillov
66f6fe18d6
FIR IDE: replace javax threadsafe annotations with custom ones
...
javax.annotation.concurrent may not be present for some JDKs
2020-08-09 12:04:35 +03:00
Ilya Kirillov
4595ee2cc0
FIR IDE: create read only copy of symbol builder only for completion
2020-08-09 12:04:34 +03:00
Ilya Kirillov
ccf232eaab
FIR IDE: forbid analysis session to be stored in a variable
2020-08-09 12:04:34 +03:00
Ilya Kirillov
b41a5f9f34
FIR: make TypeRegistry thread safe
2020-08-09 12:04:26 +03:00