Commit Graph

64908 Commits

Author SHA1 Message Date
Sergey Rostov 7de0bc9cdc ScriptClassRootsUpdater, updateSynchronously: cancel before waiting for lock 2020-05-07 21:48:49 +03:00
Sergey Rostov bc0255890d ScriptClassRootsUpdater: fix clearing scheduledUpdate and check cancelled in sync 2020-05-07 21:48:49 +03:00
Sergey Rostov 6c3a6f8bc2 gradle.kts: remove LastModifiedFiles fs data when removing gradle root 2020-05-07 21:48:49 +03:00
Sergey Rostov f196085e41 gradle.kts, minor: move isInAffectedGradleProjectFiles inside GradleBuildRootsManager 2020-05-07 21:48:49 +03:00
Sergey Rostov c764ebfbac GradleScriptListenerTest: link gradle project 2020-05-07 21:48:48 +03:00
Sergey Rostov 9e18df87dc GradleBuildRootsManager: fix onProjectsLinked 2020-05-07 21:48:48 +03:00
Sergey Rostov 15c6c9f530 GradleLegacyScriptListener: call from GradleScriptListener
GradleScriptListener is called from VFS listener
2020-05-07 21:48:48 +03:00
Sergey Rostov 3a98ed96a2 gradle.kts: use toSystemIndependentName for paths coming from Gradle 2020-05-07 21:48:48 +03:00
Sergey Rostov c79858e965 ScriptClassRootsUpdater: run synchronously in unit test mode 2020-05-07 21:48:48 +03:00
Sergey Rostov d8692a78ba UnusedSymbolInspection: load script configurations from cache 2020-05-07 21:48:48 +03:00
Sergey Rostov b8866078d2 gradle.kts, scheduleLastModifiedFilesSave: fix race condition 2020-05-07 21:48:48 +03:00
Sergey Rostov b089f4dd2e gradle.kts, minor: areRelatedFilesUpToDate -> areRelatedFilesChangedBefore 2020-05-07 21:48:48 +03:00
Sergey Rostov f5ac45ea08 GradleScriptListener: update lastModifiedFiles on document change 2020-05-07 21:48:48 +03:00
Sergey Rostov d626184cee GradleBuildRoot: fix loading lastModifiedFiles 2020-05-07 21:48:47 +03:00
Sergey Rostov 3ba7c52fe8 LastModifiedFiles: fix in case of sequential changes in same file 2020-05-07 21:48:47 +03:00
Sergey Rostov 39c6efd40f .gradle.kts, listener: support multiple gradle projects linked to one IntelliJ project
GradleScriptInputsWatcher moved to GradleScriptListener.kt and GradleBuildRootsManager.kt
2020-05-07 21:48:47 +03:00
Sergey Rostov 02940f9f17 gradle.kts: docs 2020-05-07 21:48:47 +03:00
Sergey Rostov 0e7cf60b04 ScriptConfigurationManager: take OutsidersPsiFileSupport into account 2020-05-07 21:48:47 +03:00
Sergey Rostov 316c7ce60f Scripts, minor: get rid of ScriptingSupportHelper 2020-05-07 21:48:47 +03:00
Sergey Rostov 0cadcec27c gradle.kts: merge data on failed gradle sync, fix updates scheduling in corner cases 2020-05-07 21:48:47 +03:00
Sergey Rostov b7e1cd7489 gradle.kts: solve the linked gradle builds hell 2020-05-07 21:48:47 +03:00
Sergey Rostov 6213c6187d gradle.kts, imported gradle build root: fix equality 2020-05-07 21:48:46 +03:00
Sergey Rostov 7942b4a0d2 ScriptConfigurationManager, outsider files: search in roots cache too 2020-05-07 21:48:46 +03:00
Sergey Rostov eb672c02fa ScriptConfigurationManager: rebuild cache synchronously from default loader 2020-05-07 21:48:46 +03:00
Sergey Rostov e6528a26e9 gradle.kts: cache definitions 2020-05-07 21:48:46 +03:00
Sergey Rostov 4de1381649 gradle.kts: remove useless gradle build root kinds 2020-05-07 21:48:46 +03:00
Sergey Rostov aca1771619 Script configuration: fix getting javaHome 2020-05-07 21:48:46 +03:00
Sergey Rostov 6ad0ed7f40 CompositeScriptConfigurationManager: unified caching 2020-05-07 21:48:46 +03:00
Sergey Rostov 368e6f93df GradleScriptConfigurationLoader: KDocs 2020-05-07 21:48:46 +03:00
Ilya Chernikov 7e3dfb245b Avoid skipping lambda argument processing in case of explicit type param
#KT-38691 fixed
2020-05-07 18:39:57 +02:00
Ilya Goncharov ec98d61520 Fix TeamCity badge
Now TeamCity badge points on archive configuration.
This PR make it to point on relevant Compiler Build
2020-05-07 17:27:24 +03:00
Dmitry Gridin fb9562ca70 Add ThrowableRunnable to fix CCE 2020-05-07 12:36:47 +00:00
Dmitry Gridin 988c89602d tests: wrap tearDown with RunAll 2020-05-07 12:36:46 +00:00
Dmitry Gridin f50e289033 fix psi tree in moveFunctionLiteralOutsideParentheses 2020-05-07 12:36:46 +00:00
Dmitry Gridin afb15eb7cf BranchedFoldingUtils: fix psi tree after tryFoldToAssignment
#KT-38677 Fixed
2020-05-07 12:36:45 +00:00
Dmitry Gridin ee0b7426c4 KotlinFunctionCallUsage: fix psi tree
#KT-38632
2020-05-07 12:36:44 +00:00
Dmitry Gridin 11a3482970 tests: apply official code style
#KT-38632 Fixed
2020-05-07 12:36:44 +00:00
Mikhail Glukhikh d8f9643650 [FIR2IR] Use intersection type approximation for receivers 2020-05-07 15:27:17 +03:00
Sergey Igushkin 292563451c Fix falsely skipped shared-native source sets in HMPP (KT-38746)
Issue #KT-38746 Fixed
2020-05-07 11:55:29 +00:00
Alexander Udalov a0400f59c2 Add -Xskip-prerelease-check compiler argument
#KT-38070 Fixed
2020-05-07 13:24:26 +02:00
Anton Yalyshev 37e676a4a6 Bump Gradle (6.3) and Android-build-tools (3.6.3) versions in new project wizards 2020-05-07 14:19:03 +03:00
Steven Schäfer 821aca984b JVM IR: Take superQualifierSymbols into account when lowering inline classes 2020-05-07 11:44:09 +02:00
Mikhail Glukhikh 52abc2ae1a [FIR] Fix spec test data according to a new diagnostic 2020-05-07 12:10:56 +03:00
Mikhail Glukhikh 38fc4d0f1f FIR: set & use dispatch receiver for q. access with super reference 2020-05-07 12:02:57 +03:00
Mikhail Glukhikh b058ca635c FIR: make both ImplicitReceiverStack.get implementations consistent 2020-05-07 12:02:57 +03:00
Mikhail Glukhikh cd2f5895a6 FIR: add minor fix of super reference handling 2020-05-07 12:02:57 +03:00
Jinseong Jeon 7b01cf7b04 FIR: handle labeled super reference properly 2020-05-07 12:02:56 +03:00
Victor Petukhov 260683c20e NI: Improve postponed arguments analysis
Introduce seven stages:
1) Analyze postponed arguments with fixed parameter types
2) Collect parameter types from constraints and lambda parameters' declaration
3) Fix not postponed variables for parameter types of all postponed arguments
4) Create atoms with revised expected types if needed
5) Analyze the first ready postponed argument and rerun stages if it has been analyzed
6) Force fixation remaining type variables: fix if possible or report not enough information
7) Force analysis remaining not analyzed postponed arguments and rerun stages if there are

^KT-37952 Fixed
^KT-32156 Fixed
^KT-37249 Fixed
^KT-37341 Fixed
2020-05-07 11:42:00 +03:00
subroh0508 50151e0e01 [Gradle, JS]AbstractNpmDependencyExtension -> DefaultNpmDependencyExtension 2020-05-07 10:21:51 +03:00
subroh0508 abf942b928 [Gradle, JS]Add optionalNpm methods 2020-05-07 10:21:51 +03:00