Commit Graph

65045 Commits

Author SHA1 Message Date
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
Sergey Rostov b199531f0e gradle.kts, scheduleLastModifiedFilesSave: fix race condition 2020-05-12 16:20:45 +03:00
Sergey Rostov 5962bd7955 gradle.kts, minor: areRelatedFilesUpToDate -> areRelatedFilesChangedBefore 2020-05-12 16:20:45 +03:00
Sergey Rostov cb318a63ad GradleScriptListener: update lastModifiedFiles on document change 2020-05-12 16:20:45 +03:00
Sergey Rostov 9b0a2f63a9 GradleBuildRoot: fix loading lastModifiedFiles 2020-05-12 16:20:45 +03:00
Sergey Rostov 34bc52f3d4 LastModifiedFiles: fix in case of sequential changes in same file 2020-05-12 16:20:45 +03:00
Sergey Rostov cde53285c6 .gradle.kts, listener: support multiple gradle projects linked to one IntelliJ project
GradleScriptInputsWatcher moved to GradleScriptListener.kt and GradleBuildRootsManager.kt
2020-05-12 16:20:45 +03:00
Sergey Rostov 258064d82d gradle.kts: docs 2020-05-12 16:20:45 +03:00
Sergey Rostov 64682ad550 ScriptConfigurationManager: take OutsidersPsiFileSupport into account 2020-05-12 16:20:44 +03:00
Sergey Rostov e7c19ab3ef Scripts, minor: get rid of ScriptingSupportHelper 2020-05-12 16:20:44 +03:00
Sergey Rostov b42d5eda0a gradle.kts: merge data on failed gradle sync, fix updates scheduling in corner cases 2020-05-12 16:20:44 +03:00
Sergey Rostov e972203a2a gradle.kts: solve the linked gradle builds hell 2020-05-12 16:20:44 +03:00
Sergey Rostov 6fe3365dd3 gradle.kts, imported gradle build root: fix equality 2020-05-12 16:20:44 +03:00
Sergey Rostov 0ff95ee516 ScriptConfigurationManager, outsider files: search in roots cache too 2020-05-12 16:20:44 +03:00
Sergey Rostov 751d167f66 ScriptConfigurationManager: rebuild cache synchronously from default loader 2020-05-12 16:20:44 +03:00
Sergey Rostov ab51292da8 gradle.kts: cache definitions 2020-05-12 16:20:44 +03:00
Sergey Rostov fc7be92c42 gradle.kts: remove useless gradle build root kinds 2020-05-12 16:20:44 +03:00
Sergey Rostov 802c03b934 Script configuration: fix getting javaHome 2020-05-12 16:20:43 +03:00
Sergey Rostov b04fabf1e8 CompositeScriptConfigurationManager: unified caching 2020-05-12 16:20:43 +03:00
Sergey Rostov 8f8902a85f GradleScriptConfigurationLoader: KDocs 2020-05-12 16:20:43 +03:00
Victor Petukhov 11d05c1abd NI: propagate isNullabilityConstraint flag into constraint injector and inherit it
^KT-37510 Fixed
2020-05-12 16:15:07 +03:00
Roman Artemev 19e352a1b5 [ANDROID] Simplify parcelize ir plugin code
- avoid direct usages of CommonBackendContext & Backend Symbols
2020-05-12 14:29:55 +03:00
Roman Artemev c20aa297f1 [ANDROID] Fix Parcelize reslove extension plugin
- make it provide its synthetic members names
2020-05-12 14:29:55 +03:00
Roman Artemev 6bdd473eff [JVM IR] Fix plugin API for JVM IR
- Unmute ktx.serialization test
2020-05-12 14:29:55 +03:00
Roman Artemev a794052f86 [IR] Mark Value Parameters which have default argument 2020-05-12 14:29:55 +03:00
Roman Artemev 7737c76540 [PLUGIN API] Do postprocess after symbol resolve 2020-05-12 14:29:55 +03:00
Roman Artemev 92befaac5d [IR] Remove IrExtensionGenerator 2020-05-12 14:29:55 +03:00
Roman Artemev 9f99094780 [IR] Clean up linker interface 2020-05-12 14:29:54 +03:00
Roman Artemev 1e9c9ef7e0 [IR] Clean up linker code 2020-05-12 14:29:54 +03:00
Roman Artemev 1949b11bb2 [KTX.SERIALIZATION] Refactor plugin once again 2020-05-12 14:29:54 +03:00
Roman Artemev d41bbbae0d [IR] Deprecate some API 2020-05-12 14:29:54 +03:00
Roman Artemev 2f0840388d [IR] Fix context 2020-05-12 14:29:54 +03:00
Roman Artemev 559b654a4f [IR] Provide new plugin API to access declaration via FqName in the safe way 2020-05-12 14:29:53 +03:00
Roman Artemev 8335ce8665 [IR] Fix to make K/N work 2020-05-12 14:29:53 +03:00
Roman Artemev aac4649845 [JS IR] Remove usage of LazyIr from JS 2020-05-12 14:29:53 +03:00
Roman Artemev 3d24665c0d [IR] Use ReferenceSymbolTable in BuiltinSymbolsBase 2020-05-12 14:29:53 +03:00
Roman Artemev 3c50b47333 [IR] Add new API into IrBuiltIns to access functional interfaces 2020-05-12 14:29:53 +03:00
Roman Artemev a477aa7289 [KLIB] Pass IrFunctionFactory from outside 2020-05-12 14:29:53 +03:00
Roman Artemev 318568636e [IR] Pass IrBuiltIns to BuiltinSymbolsBase 2020-05-12 14:29:53 +03:00
Roman Artemev da661e4db7 [IR BE] Remove usage of KotlinType from ir loop optimization 2020-05-12 14:29:53 +03:00
Roman Artemev c38ba45c1b [JVM IR] Fix jvm linker 2020-05-12 14:29:52 +03:00
Roman Artemev 5ea309d578 [PSi2IR] Generate synthetic declaration during psi2ir
- Make sure any declaration from currently generating module is bound.
 - Implement standalone declaration generator
2020-05-12 14:29:52 +03:00
Roman Artemev 66543131c2 [IR] Add referenceScript to SymbolTable 2020-05-12 14:29:52 +03:00