Commit Graph

23542 Commits

Author SHA1 Message Date
Vladimir Dolzhenko 01992b581e Dropped KotlinNativeFileTypeFactory from native-common.xml
Relates to #KT-38571
2020-05-17 16:02:25 +00:00
Vladimir Dolzhenko 7afadb9b5e Init default profile for perf tests 2020-05-16 14:10:29 +02:00
Dmitry Savvinov 3793e485b6 Check for common klibs builtins_platform properly
Actually, common klibs don't have a corresponding record (and abscence
of that record should be treated as platform COMMON).

^KT-38769 Fixed
2020-05-15 20:25:48 +03:00
Anton Yalyshev 59ca626487 Make JPS-based wizards available only for new_module use case 2020-05-15 19:11:47 +03:00
Anton Yalyshev f0ff4b066e Remove old Gradle-based new_project_wizards from the Kotlin group 2020-05-15 19:11:47 +03:00
Toshiaki Kameyama 82d81d5223 Change Signature: move lambda outside of parentheses if the arguments are reordered so that the lambda goes last
#KT-30128 Fixed
2020-05-15 17:58:33 +02:00
Toshiaki Kameyama 1d39ac1d3e Move statement: do not move when function last parameter is on same line as right parenthesis
#KT-14757 Fixed
2020-05-15 15:02:58 +02:00
Toshiaki Kameyama 8a595ad165 Move statement: Add or remove empty lines correctly
#KT-14946 Fixed
2020-05-14 18:57:56 +02:00
Toshiaki Kameyama 5a7ceec985 Color settings: use "Static field" instead of "Instance field" for "Enum entry" language defaults
#KT-15143 Fixed
2020-05-14 18:40:00 +02:00
Yaroslav Chernyshev 785fa7dd1c [Gradle, Import] Ignore incompatible test runs for Native targets.
#Fixed KT-34516
2020-05-14 17:43:00 +03:00
Nikolay Krasko e2857a910b Minor: show existing modules in absent error in gradle tests 2020-05-14 16:13:38 +03:00
Toshiaki Kameyama 08588001be Redundant suspend modifier: do not report when the function has 'actual' modifier
#KT-37746 Fixed
2020-05-14 12:08:52 +02:00
Konstantin Tskhovrebov ceb03ce739 Disable KotlinNativeRunConfigurationProducer if not found Gradle plugin.
Issue #KT-38186 Fixed
2020-05-13 17:18:35 +03:00
Vladimir Ilmov af114e3211 (CoroutineDebugger) 192/193 compatibility fix 2020-05-13 15:45:47 +02:00
Igor Yakovlev df8031945b Allow UL class for KtEnumEntry declaration 2020-05-13 12:14:12 +03:00
Roman Golyshev 762f38a394 KT-38832 Add additional check to RemoveCurlyBracesFromTemplateInspection
- Expression in curly braces can change between the report of inspection
and quickfix application
- ^KT-38832 Fixed
2020-05-13 09:05:10 +00:00
Roman Golyshev 150708069c KT-38831 Use safe casts in ReplaceWithOperatorAssignmentInspection
- Assigned expression can change between reporting of inspection and
applying it
- ^KT-38831 Fixed
2020-05-13 09:05:10 +00:00
Roman Golyshev 225d354604 KT-38829 Add additional check to RemoveRedundantBackticksQuickFix
- Identifier's name can change between reporting of inspection and
applying a quickfix
- ^KT-38829 Fixed
2020-05-13 09:05:09 +00:00
Sergey Rostov 4daac14008 Revert due to massive flaky tests 2020-05-12 23:01:01 +03:00
Vladimir Ilmov 5228da2ebc (CoroutineDebugger) 192/as36 compilation fix 2020-05-12 19:50:27 +02:00
Alexander Udalov 012ffa2993 Support new scheme of compilation of OptionalExpectation annotations
Instead of generating these annotation classes as package-private on
JVM, serialize their metadata to the .kotlin_module file, and load it
when compiling dependent multiplatform modules.

The problem with generating them as package-private was that
kotlin-stdlib for JVM would end up declaring symbols from other
platforms, which would include some annotations from package
kotlin.native. But using that package is discouraged by some tools
because it has a Java keyword in its name. In particular, jlink refused
to work with such artifact altogether (KT-21266).

 #KT-38652 Fixed
2020-05-12 19:28:57 +02:00
Sergey Rostov 63e355d979 Scripting IDE cache: unblocking concurrent update
#KT-38875 Fixed
2020-05-12 19:49:43 +03:00
Igor Yakovlev 9f8044ff1b Fix ultraKtLightClassForFacade compiler backend call
+minor fixes
2020-05-12 17:04:16 +03:00
Igor Yakovlev 62c24c95b5 Add support for UltraLightScripts 2020-05-12 17:04:15 +03:00
Yaroslav Chernyshev 0b8c497d2e [Import] Downgrade jvmTarget & move Models and ModelBuilderServices
Fixed KT-35921
Fixed KT-36673
2020-05-12 16:52:01 +03:00
Vladimir Ilmov 385ddba2d9 (CoroutineDebugger) Keep coroutine info list reference from collection
#KT-38606 Fixed
2020-05-12 15:39:36 +02:00
Vladimir Ilmov 5a5c1c3420 (CoroutineDebugger) Local variables should have precedence over restored. 2020-05-12 15:39:35 +02:00
Sergey Rostov f19f49711c Scripting: minor changes 2020-05-12 16:22:48 +03:00
Sergey Rostov 14bd6fe781 scripting ucache: update synchronously in unit test mode 2020-05-12 16:22:48 +03:00
Sergey Rostov ac70234342 201: proper implementation for AsyncFileChangeListenerHelper.kt
updateFile is called before changes in vfs, so the timestamp is old there.
The proper implementation is to collect changed files in list and get timestamp in apply.
2020-05-12 16:22:48 +03:00
Sergey Rostov 9aa5f0c31a Scripting unified cache: update sdks synchronously on changes 2020-05-12 16:22:48 +03:00
Sergey Rostov 9e96885586 GradleBuildRoot: don't store references to virtual files 2020-05-12 16:22:48 +03:00
Sergey Rostov 35765fe6e6 remove stale GradleScriptInputsWatcher references 2020-05-12 16:22:47 +03:00
Sergey Rostov ed6e369735 minor: ScriptingSupport.Provider -> ScriptingSupport, KDoc 2020-05-12 16:22:47 +03:00
Sergey Rostov 33d79f9135 GradleScriptOutOfProjectTest: roots are already registered as legacy 2020-05-12 16:20:47 +03:00
Sergey Rostov fc59e28610 Fix lastIndexOfOrNull 2020-05-12 16:20:47 +03:00
Sergey Rostov a4c7981424 Scripting, minor: updateScriptDefinitions -> updateScriptDefinitionReferences 2020-05-12 16:20:47 +03:00
Sergey Rostov 0e5b981363 ScriptClassRootsCache, sdk: use toSystemIndependentName 2020-05-12 16:20:47 +03:00
Sergey Rostov 0404f4fd57 gradle.kts, minor: remove unused code 2020-05-12 16:20:47 +03:00
Sergey Rostov 4575a8cade GradleScriptListenerTest: add gradle-wrapper.properties to specify gradle version explicitly 2020-05-12 16:20:47 +03:00
Sergey Rostov fa679129d1 ScriptClassRootsUpdater, updateSynchronously: cancel before waiting for lock 2020-05-12 16:20:46 +03:00
Sergey Rostov 75e8f15b5e ScriptClassRootsUpdater: fix clearing scheduledUpdate and check cancelled in sync 2020-05-12 16:20:46 +03:00
Sergey Rostov a498171400 gradle.kts: remove LastModifiedFiles fs data when removing gradle root 2020-05-12 16:20:46 +03:00
Sergey Rostov 06e43027cf gradle.kts, minor: move isInAffectedGradleProjectFiles inside GradleBuildRootsManager 2020-05-12 16:20:46 +03:00
Sergey Rostov b2729f977a GradleScriptListenerTest: link gradle project 2020-05-12 16:20:46 +03:00
Sergey Rostov c0e9092f94 GradleBuildRootsManager: fix onProjectsLinked 2020-05-12 16:20:46 +03:00
Sergey Rostov 9302a620c2 GradleLegacyScriptListener: call from GradleScriptListener
GradleScriptListener is called from VFS listener
2020-05-12 16:20:46 +03:00
Sergey Rostov 80991f7c56 gradle.kts: use toSystemIndependentName for paths coming from Gradle 2020-05-12 16:20:46 +03:00
Sergey Rostov 4e07e4c8fe ScriptClassRootsUpdater: run synchronously in unit test mode 2020-05-12 16:20:46 +03:00
Sergey Rostov c6be0a8213 UnusedSymbolInspection: load script configurations from cache 2020-05-12 16:20:45 +03:00