Commit Graph

21785 Commits

Author SHA1 Message Date
Vladimir Dolzhenko 16e76fb75a Resolve imports in background thread in PlainTextPasteImportResolver
#KT-34956 Fixed
2019-11-21 13:40:55 +01:00
Dmitriy Dolovov 28f2a2a864 Fix: Kotlin/Native libs have non-user friendly representation in IDE
Issue #KT-30288
Issue #KT-34998
Issue #KT-34400 (partially fixes)
2019-11-21 16:56:47 +07:00
Andrey Uskov 937cffd273 Support Gradle 5.x in GradleInspectionTest 2019-11-20 13:53:58 +03:00
Andrey Uskov 21b9987a76 Support Gradle 5.x in GradleMigrateTest 2019-11-20 13:53:56 +03:00
Andrey Uskov 5fe4baa4a5 Fix GradleNativeLibrariesInIDENamingTest 2019-11-20 13:53:54 +03:00
Andrey Uskov 968ccf667a Fix GradleNativeLibrariesPropagationTest
Dev plugin in tests were replaced with release version
2019-11-20 13:53:52 +03:00
Andrey Uskov 8a3dfe93f2 Fixed GradleFacetImportTests for gradle 5.x 2019-11-20 13:53:50 +03:00
Andrey Uskov 9e7eff7e72 Enable ImportCompilerArgumentsWithInvalidDependencies test 2019-11-20 13:53:48 +03:00
Vladimir Ilmov 25acb1e191 [coroutine][debugger] removed and regenerated tests for not-ready-to-be-tested logic, kt* tests are failing due to KT-32691 2019-11-20 13:17:56 +03:00
Vladimir Ilmov 09d2bd33f8 [coroutine][debug] incorrect merge conflicting with 00a06ef9b9 2019-11-20 12:36:13 +03:00
victor.petukhov be0516348b IDE formatting: add indention for new line in parameters list when there is a trailing comma 2019-11-19 16:08:42 +03:00
Mikhail Glukhikh 802ed9b502 FIR: implement protected visibility checker #KT-34788 Fixed 2019-11-19 13:07:52 +03:00
Mikhail Glukhikh 1e548e3f21 FIR substitution: use intersection of bounds for * projection 2019-11-19 13:07:46 +03:00
Vladimir Ilmov 022a31398a [coroutine][debug] creation stack trace jump to line fixed 2019-11-19 12:29:54 +03:00
Vladimir Ilmov 25222b55e6 [coroutine][debug] AsyncStackTraceProvider refactored 2019-11-19 12:29:54 +03:00
Vladimir Ilmov 310b3611ef coroutine extention refactored to minimize brunch-related logic 2019-11-19 12:29:54 +03:00
Vladimir Ilmov c90cd8c490 [coroutine][debug] compilation error fixed 2019-11-19 12:29:53 +03:00
Aleksandr Prokopyev 3ca5d2d64f Debugger: Add 193 bunch for coroutines debugger 2019-11-19 12:29:53 +03:00
Aleksandr Prokopyev 1dc44b4000 Debugger: Tests refactor 2019-11-19 12:29:53 +03:00
Aleksandr Prokopyev 12313fa5aa Debugger: Fix for coroutine debugger after review 2019-11-19 12:29:52 +03:00
Aleksandr Prokopyev 5975251a32 Debugger: Coroutines stack frames with variables & coroutine dumps 2019-11-19 12:29:06 +03:00
Dmitriy Novozhilov 950d1f4fe4 [FIR] Fix enhancement of java array type 2019-11-19 10:43:46 +03:00
Vyacheslav Gerasimov 2dfa6c360b Fix version range for Idea 191 plugin
#KT-34385
2019-11-18 18:49:40 +03:00
Pavel Kirpichenkov 4b405c6c0f Supply kotlin mock JDK to relevant test runners
Default mock JDK from IDEA 193, "wins" mock JDK from kotlin in some tests.
In script configuration test this breaks resolution of java declarations from script environment.
Overriding getTestProjectJdk replaces default test project JDK with kotlin mock JDK.
Configuration in AbstractMultiFileHighlightingTest was updated similarly to fix test failures.
2019-11-18 12:06:41 +03:00
Andrey Uskov 8a1f8714e7 Fix GradleConfiguratorTest
Kotlin gradle plugin was removed from test classpath
2019-11-18 11:26:13 +03:00
victor.petukhov cf161f8234 Rework notForIncompletionCall test 2019-11-17 15:19:28 +03:00
Vladimir Dolzhenko fa62d0c325 Don't clear InBlockModifications on CanceledException
#KT-34914 Fixed
2019-11-15 15:48:27 +01:00
victor.petukhov 25f3de2085 Use more stable kotlin dependency in tests for enabling inline classes flag 2019-11-15 16:13:44 +03:00
Andrey Uskov 352a10a0ed Do not fail tests on unknown version of gradle Kotlin plugin 2019-11-14 21:13:21 +03:00
Andrey Uskov e963b71921 Tests of import with latest gradle plugin are implemented 2019-11-14 21:13:19 +03:00
Andrey Uskov 51590ef1b7 Migrate import tests to annotation-driven determination of target
kotlin plugin versions
2019-11-14 21:13:16 +03:00
Andrey Uskov d05f893233 Import tests with gradle 5.6.4 were added 2019-11-14 21:13:13 +03:00
Andrey Uskov a51e2ca4d6 Limit initial heap of gradle daemon in import tests 2019-11-14 21:13:11 +03:00
Andrey Uskov 1f2767ae21 Remove gradle testing import from gradle 3.x 2019-11-14 21:13:09 +03:00
Andrey Uskov 48f6207d26 Support annotation-based declaration of target plugin and gradle version
in gradle importing tests
2019-11-14 21:13:07 +03:00
Andrey Uskov 14aa0eae71 Extract kotlin gradle plugin versions to constants in tests 2019-11-14 21:13:05 +03:00
Roman Golyshev 633005fb57 KT-25732 Perform keywords completion earlier to complete them before freeze
- If you complete keywords too late, the completion list may become frozen, and `null` will never make it to the top of it
- Remove `flushToResultSet` between `addReferenceVariantElements` calls because flush already happens inside of them
- ^KT-25732 Fixed
2019-11-14 19:50:38 +03:00
Dmitriy Dolovov 1b2091d536 Fix: KLIB reading error on Windows
Issue #KT-34909
2019-11-14 20:37:43 +07:00
Igor Yakovlev 30b4622a45 Remove invalid unused reference 2019-11-14 14:54:44 +03:00
Sergey Rostov c905bbca36 Scripting: invalidate caches on roots changes 2019-11-14 14:01:30 +03:00
Mikhael Bogdanov 4281fd6bd5 Don't write nop for extension lambda during inline 2019-11-14 08:17:33 +01:00
Sergey Rostov b757224df1 Scripting: invalidate caches on roots changes 2019-11-14 09:50:03 +03:00
Sergey Rostov df0c250fd8 Scripting: fix lost caches clearing call 2019-11-14 09:50:03 +03:00
Sergey Rostov 542f21b701 Scripting, minor: cache firstScriptSdk 2019-11-14 09:50:03 +03:00
Vladimir Ilmov ab3f9586b3 Suspend function calls highlighting added.
'If' highlighting fixed at settings sample area.

 #KT-27496 Fixed
2019-11-14 08:07:56 +03:00
Vladimir Ilmov 46423443e9 'it' parameter highlighting fixed for chain usage.
#KT-31037 Fixed
2019-11-14 08:07:56 +03:00
igoriakovlev cb11282183 Merge pull request #2516 from t-kameyama/KT-18539
KT-18539 Default implement fun/property text shouldn't contain scary comment
2019-11-13 19:33:44 +03:00
Sergey Igushkin 3429c07016 Fix Native dependencies not transformed when imported from a source set
Those were only transformed when imported from compilations, not
intermediate source sets. Ue the substitutor for source set dependencies
as well.

(minor) extract function for the Gradle module-qualified IDs
2019-11-13 17:45:31 +03:00
Dmitry Savvinov bcabbcf3e1 Add Native stdlib to intermediate source set dependencies
Also fix the dependsOn source set IDs not matcing those
in the IDE.
2019-11-13 17:45:25 +03:00
Igor Yakovlev 1ccda6a8d4 Add fast find usages for data class components
This commit add feature for disabling searching for data class ComponentN method and destruction declarations that could encrease usages search.
See KT-23278
2019-11-13 17:38:35 +03:00